Fix Android Extensions tests (descriptors)
This commit is contained in:
-29
@@ -1,29 +0,0 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/item_detail_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ItemDetailActivity"
|
||||
tools:ignore="MergeRootFrame" >
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Enter your password" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:inputType="textPassword" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/login"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Sign in" />
|
||||
|
||||
</FrameLayout>
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
<manifest package="com.myapp">
|
||||
<application/>
|
||||
</manifest>
|
||||
Vendored
-36
@@ -1,36 +0,0 @@
|
||||
package kotlinx.android.synthetic.`get`
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.`get`.item_detail_container"))
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.`get`.item_detail_container"))
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.`get`.textView1"))
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.`get`.textView1"))
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.`get`.password"))
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.`get`.password"))
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.`get`.login"))
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.`get`.login"))
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-20
@@ -1,20 +0,0 @@
|
||||
package kotlinx.android.synthetic.`get`.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.`get`.view.item_detail_container"))
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.`get`.view.textView1"))
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.`get`.view.password"))
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.`get`.view.login"))
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.`get`
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
plugins/android-compiler-plugin/testData/android/converter/simple/escapedLayoutName/main_get_VIEW.kt
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.`get`.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
val android.app.Fragment.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = getView().findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
Vendored
-7
@@ -1,7 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
Vendored
-12
@@ -1,12 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
|
||||
val android.app.Activity.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
|
||||
val android.app.Fragment.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = getView().findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.view.MyKeyboardView"))
|
||||
val android.view.View.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
val android.app.Fragment.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = getView().findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
Vendored
-7
@@ -1,7 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
Vendored
-12
@@ -1,12 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
|
||||
val android.app.Activity.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
|
||||
val android.app.Fragment.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = getView().findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.view.MyKeyboardView"))
|
||||
val android.view.View.MyKeyboardView: ft<android.inputmethodservice.KeyboardView, android.inputmethodservice.KeyboardView?>
|
||||
get() = findViewById(0) as? android.inputmethodservice.KeyboardView
|
||||
|
||||
plugins/android-compiler-plugin/testData/android/converter/simple/layoutVariants/main_test_LAYOUT.kt
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
Vendored
-7
@@ -1,7 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
Vendored
-12
@@ -1,12 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.button"))
|
||||
val android.app.Activity.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.button"))
|
||||
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.view.button"))
|
||||
val android.view.View.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
Vendored
-28
@@ -1,28 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test1
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Fragment.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Activity.passwordField: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.passwordField: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Activity.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Fragment.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Activity.loginButton: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.loginButton: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test1.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.view.View.passwordField: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.view.View.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.view.View.loginButton: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-28
@@ -1,28 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-36
@@ -1,36 +0,0 @@
|
||||
package kotlinx.android.synthetic.test1
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("frameLayout", "kotlinx.android.synthetic.main.test1.frameLayout"))
|
||||
val android.app.Activity.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("frameLayout", "kotlinx.android.synthetic.main.test1.frameLayout"))
|
||||
val android.app.Fragment.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordField", "kotlinx.android.synthetic.main.test1.passwordField"))
|
||||
val android.app.Activity.passwordField: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordField", "kotlinx.android.synthetic.main.test1.passwordField"))
|
||||
val android.app.Fragment.passwordField: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordCaption", "kotlinx.android.synthetic.main.test1.passwordCaption"))
|
||||
val android.app.Activity.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordCaption", "kotlinx.android.synthetic.main.test1.passwordCaption"))
|
||||
val android.app.Fragment.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("loginButton", "kotlinx.android.synthetic.main.test1.loginButton"))
|
||||
val android.app.Activity.loginButton: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("loginButton", "kotlinx.android.synthetic.main.test1.loginButton"))
|
||||
val android.app.Fragment.loginButton: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
package kotlinx.android.synthetic.test1.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("frameLayout", "kotlinx.android.synthetic.main.test1.view.frameLayout"))
|
||||
val android.view.View.frameLayout: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordField", "kotlinx.android.synthetic.main.test1.view.passwordField"))
|
||||
val android.view.View.passwordField: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("passwordCaption", "kotlinx.android.synthetic.main.test1.view.passwordCaption"))
|
||||
val android.view.View.passwordCaption: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("loginButton", "kotlinx.android.synthetic.main.test1.view.loginButton"))
|
||||
val android.view.View.loginButton: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
-36
@@ -1,36 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.view.item_detail_container"))
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.view.textView1"))
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.view.password"))
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.view.login"))
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.app.Fragment.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
val android.app.Activity.textView2: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.textView2: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.view.View.textView2: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.app.Activity.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.app.Fragment.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView2", "kotlinx.android.synthetic.main.test.textView2"))
|
||||
val android.app.Activity.textView2: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView2", "kotlinx.android.synthetic.main.test.textView2"))
|
||||
val android.app.Fragment.textView2: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.view.textView1"))
|
||||
val android.view.View.textView1: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView2", "kotlinx.android.synthetic.main.test.view.textView2"))
|
||||
val android.view.View.textView2: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
plugins/android-compiler-plugin/testData/android/converter/simple/severalResDirs/main_test_LAYOUT.kt
Vendored
-22
@@ -1,22 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
val android.app.Activity.button2: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.button2: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Activity.button3: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.button3: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.view.View.button2: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.view.View.button3: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-28
@@ -1,28 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.button"))
|
||||
val android.app.Activity.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.button"))
|
||||
val android.app.Fragment.button: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button2", "kotlinx.android.synthetic.main.test.button2"))
|
||||
val android.app.Activity.button2: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button2", "kotlinx.android.synthetic.main.test.button2"))
|
||||
val android.app.Fragment.button2: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button3", "kotlinx.android.synthetic.main.test.button3"))
|
||||
val android.app.Activity.button3: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button3", "kotlinx.android.synthetic.main.test.button3"))
|
||||
val android.app.Fragment.button3: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button", "kotlinx.android.synthetic.main.test.view.button"))
|
||||
val android.view.View.button: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button2", "kotlinx.android.synthetic.main.test.view.button2"))
|
||||
val android.view.View.button2: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("button3", "kotlinx.android.synthetic.main.test.view.button3"))
|
||||
val android.view.View.button3: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-28
@@ -1,28 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-36
@@ -1,36 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.view.item_detail_container"))
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.view.textView1"))
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.view.password"))
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.view.login"))
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-28
@@ -1,28 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
|
||||
|
||||
val android.app.Fragment.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
|
||||
|
||||
val android.app.Activity.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Activity.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.view.View.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-36
@@ -1,36 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
|
||||
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
|
||||
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
|
||||
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
|
||||
val android.app.Fragment.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
|
||||
val android.app.Activity.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
|
||||
val android.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
|
||||
val android.app.Activity.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
|
||||
val android.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.view.includeTag"))
|
||||
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.view.`fun`"))
|
||||
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.view.`set`"))
|
||||
val android.view.View.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.support.v4.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.support.v4.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.support.v4.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.support.v4.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-52
@@ -1,52 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.item_detail_container"))
|
||||
val android.support.v4.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.textView1"))
|
||||
val android.support.v4.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.password"))
|
||||
val android.support.v4.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.login"))
|
||||
val android.support.v4.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-20
@@ -1,20 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("item_detail_container", "kotlinx.android.synthetic.main.test.view.item_detail_container"))
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("textView1", "kotlinx.android.synthetic.main.test.view.textView1"))
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("password", "kotlinx.android.synthetic.main.test.view.password"))
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("login", "kotlinx.android.synthetic.main.test.view.login"))
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
-43
@@ -1,43 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
val android.support.v4.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
|
||||
|
||||
val android.app.Fragment.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
|
||||
|
||||
val android.support.v4.app.Fragment.fragmentTag: ft<android.support.v4.app.Fragment, android.support.v4.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.support.v4.app.Fragment
|
||||
|
||||
val android.support.v4.app.FragmentActivity.fragmentTag: ft<android.support.v4.app.Fragment, android.support.v4.app.Fragment?>
|
||||
get() = getSupportFragmentManager().findFragmentById(0) as? android.support.v4.app.Fragment
|
||||
|
||||
val android.app.Activity.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.support.v4.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Activity.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.support.v4.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.view.View.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-56
@@ -1,56 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
|
||||
val android.app.Activity.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
|
||||
val android.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.includeTag"))
|
||||
val android.support.v4.app.Fragment.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
|
||||
val android.app.Activity.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
|
||||
val android.app.Fragment.fragmentTag: ft<android.app.Fragment, android.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.app.Fragment
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
|
||||
val android.support.v4.app.Fragment.fragmentTag: ft<android.support.v4.app.Fragment, android.support.v4.app.Fragment?>
|
||||
get() = getFragmentManager().findFragmentById(0) as? android.support.v4.app.Fragment
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("fragmentTag", "kotlinx.android.synthetic.main.test.fragmentTag"))
|
||||
val android.support.v4.app.FragmentActivity.fragmentTag: ft<android.support.v4.app.Fragment, android.support.v4.app.Fragment?>
|
||||
get() = getSupportFragmentManager().findFragmentById(0) as? android.support.v4.app.Fragment
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
|
||||
val android.app.Activity.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
|
||||
val android.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.`fun`"))
|
||||
val android.support.v4.app.Fragment.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
|
||||
val android.app.Activity.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
|
||||
val android.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.`set`"))
|
||||
val android.support.v4.app.Fragment.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
Vendored
-16
@@ -1,16 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("includeTag", "kotlinx.android.synthetic.main.test.view.includeTag"))
|
||||
val android.view.View.includeTag: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`fun`", "kotlinx.android.synthetic.main.test.view.`fun`"))
|
||||
val android.view.View.`fun`: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("`set`", "kotlinx.android.synthetic.main.test.view.`set`"))
|
||||
val android.view.View.`set`: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
|
||||
val android.app.Activity.MyView: ft<a.b.c, a.b.c?>
|
||||
get() = findViewById(0) as? a.b.c
|
||||
|
||||
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
|
||||
val android.app.Fragment.MyView: ft<a.b.c, a.b.c?>
|
||||
get() = getView().findViewById(0) as? a.b.c
|
||||
|
||||
plugins/android-compiler-plugin/testData/android/converter/simple/unresolvedFqName/main_test_VIEW.kt
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
|
||||
val android.view.View.MyView: ft<a.b.c, a.b.c?>
|
||||
get() = findViewById(0) as? a.b.c
|
||||
|
||||
Vendored
-14
@@ -1,14 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyView", "kotlinx.android.synthetic.main.test.MyView"))
|
||||
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
|
||||
val android.app.Activity.MyView: ft<a.b.c, a.b.c?>
|
||||
get() = findViewById(0) as? a.b.c
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyView", "kotlinx.android.synthetic.main.test.MyView"))
|
||||
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
|
||||
val android.app.Fragment.MyView: ft<a.b.c, a.b.c?>
|
||||
get() = getView().findViewById(0) as? a.b.c
|
||||
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyView", "kotlinx.android.synthetic.main.test.view.MyView"))
|
||||
@kotlin.internal.flexible.InvalidWidgetType("a.b.c")
|
||||
val android.view.View.MyView: ft<a.b.c, a.b.c?>
|
||||
get() = findViewById(0) as? a.b.c
|
||||
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
|
||||
val android.app.Activity.MyKeyboardView: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
|
||||
val android.app.Fragment.MyKeyboardView: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
plugins/android-compiler-plugin/testData/android/converter/simple/unresolvedWidget/main_test_VIEW.kt
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
package kotlinx.android.synthetic.main.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
|
||||
val android.view.View.MyKeyboardView: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
Vendored
-14
@@ -1,14 +0,0 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
|
||||
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
|
||||
val android.app.Activity.MyKeyboardView: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.MyKeyboardView"))
|
||||
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
|
||||
val android.app.Fragment.MyKeyboardView: ft<android.view.View, android.view.View?>
|
||||
get() = getView().findViewById(0)
|
||||
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
@Deprecated("Use the property from the 'main' variant instead", ReplaceWith("MyKeyboardView", "kotlinx.android.synthetic.main.test.view.MyKeyboardView"))
|
||||
@kotlin.internal.flexible.InvalidWidgetType("KeyboardView")
|
||||
val android.view.View.MyKeyboardView: ft<android.view.View, android.view.View?>
|
||||
get() = findViewById(0)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
package="test"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
package="test"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.Fragment
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.Fragment
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
package="test"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
package="test"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
package="test"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
package="test"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.view.View
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
package="test"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
|
||||
</manifest>
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import kotlinx.android.synthetic.main.layout.*
|
||||
@@ -8,7 +8,7 @@ fun Activity.a() {
|
||||
val y = this.login
|
||||
}
|
||||
|
||||
// 2 GETSTATIC com/myapp/R\$id\.login
|
||||
// 2 GETSTATIC test/R\$id\.login
|
||||
// 2 INVOKEVIRTUAL android/app/Activity\.findViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
// 0 _\$_findCachedViewById
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Fragment
|
||||
import kotlinx.android.synthetic.main.layout.*
|
||||
@@ -8,7 +8,7 @@ fun Fragment.a() {
|
||||
val y = this.login
|
||||
}
|
||||
|
||||
// 2 GETSTATIC com/myapp/R\$id\.login
|
||||
// 2 GETSTATIC test/R\$id\.login
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
// 2 INVOKEVIRTUAL android/app/Fragment\.getView
|
||||
// 2 INVOKEVIRTUAL android/view/View\.findViewById
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.os.Bundle
|
||||
@@ -11,4 +11,4 @@ public class MyActivity : Activity() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyActivity\._\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL test/MyActivity\._\$_clearFindViewByIdCache
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.os.Bundle
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.os.Bundle
|
||||
@@ -16,6 +16,6 @@ fun MyActivity.b() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 2 GETSTATIC com/myapp/R\$id\.login
|
||||
// 2 INVOKEVIRTUAL com/myapp/MyActivity\._\$_findCachedViewById
|
||||
// 2 GETSTATIC test/R\$id\.login
|
||||
// 2 INVOKEVIRTUAL test/MyActivity\._\$_findCachedViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Fragment
|
||||
import android.os.Bundle
|
||||
@@ -14,7 +14,7 @@ fun MyFragment.b() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment\.getView
|
||||
// 2 GETSTATIC com/myapp/R\$id\.login
|
||||
// 2 INVOKEVIRTUAL com/myapp/MyFragment\._\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL test/MyFragment\.getView
|
||||
// 2 GETSTATIC test/R\$id\.login
|
||||
// 2 INVOKEVIRTUAL test/MyFragment\._\$_findCachedViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.view.View
|
||||
import kotlinx.android.synthetic.main.layout.view.*
|
||||
@@ -8,7 +8,7 @@ fun View.a() {
|
||||
val y = this.login
|
||||
}
|
||||
|
||||
// 2 GETSTATIC com/myapp/R\$id\.login
|
||||
// 2 GETSTATIC test/R\$id\.login
|
||||
// 2 INVOKEVIRTUAL android/view/View\.findViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
// 0 _\$_findCachedViewById
|
||||
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import kotlinx.android.synthetic.main.layout.*
|
||||
@@ -10,6 +10,6 @@ class MyActivity: Activity() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 2 GETSTATIC com/myapp/R\$id\.MyButton
|
||||
// 2 INVOKEVIRTUAL com/myapp/MyActivity\._\$_findCachedViewById
|
||||
// 2 GETSTATIC test/R\$id\.MyButton
|
||||
// 2 INVOKEVIRTUAL test/MyActivity\._\$_findCachedViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Fragment
|
||||
import kotlinx.android.synthetic.main.layout.*
|
||||
@@ -10,7 +10,7 @@ class MyFragment: Fragment() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment\.getView
|
||||
// 2 GETSTATIC com/myapp/R\$id\.MyButton
|
||||
// 2 INVOKEVIRTUAL com/myapp/MyFragment\._\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL test/MyFragment\.getView
|
||||
// 2 GETSTATIC test/R\$id\.MyButton
|
||||
// 2 INVOKEVIRTUAL test/MyFragment\._\$_findCachedViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import kotlinx.android.synthetic.main.layout.*
|
||||
@@ -10,6 +10,6 @@ class MyActivity: Activity() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 2 GETSTATIC com/myapp/R\$id\.MyButton
|
||||
// 2 INVOKEVIRTUAL com/myapp/MyActivity\._\$_findCachedViewById
|
||||
// 2 GETSTATIC test/R\$id\.MyButton
|
||||
// 2 INVOKEVIRTUAL test/MyActivity\._\$_findCachedViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Fragment
|
||||
import kotlinx.android.synthetic.main.layout.*
|
||||
@@ -10,7 +10,7 @@ class MyFragment: Fragment() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment\.getView
|
||||
// 2 GETSTATIC com/myapp/R\$id\.MyButton
|
||||
// 2 INVOKEVIRTUAL com/myapp/MyFragment\._\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL test/MyFragment\.getView
|
||||
// 2 GETSTATIC test/R\$id\.MyButton
|
||||
// 2 INVOKEVIRTUAL test/MyFragment\._\$_findCachedViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import kotlinx.android.synthetic.main.layout.*
|
||||
@@ -11,7 +11,7 @@ class MyActivity: Activity() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 1 GETSTATIC com/myapp/R\$id\.login : I
|
||||
// 1 GETSTATIC com/myapp/R\$id\.loginButton : I
|
||||
// 2 INVOKEVIRTUAL com/myapp/MyActivity\._\$_findCachedViewById
|
||||
// 1 GETSTATIC test/R\$id\.login : I
|
||||
// 1 GETSTATIC test/R\$id\.loginButton : I
|
||||
// 2 INVOKEVIRTUAL test/MyActivity\._\$_findCachedViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.Fragment
|
||||
@@ -15,9 +15,9 @@ class MyFragment: Fragment() {
|
||||
|
||||
// 2 public _\$_findCachedViewById
|
||||
// 2 public _\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment\.getView
|
||||
// 1 GETSTATIC com/myapp/R\$id\.login : I
|
||||
// 1 GETSTATIC com/myapp/R\$id\.loginButton : I
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyActivity\._\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment\._\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL test/MyFragment\.getView
|
||||
// 1 GETSTATIC test/R\$id\.login : I
|
||||
// 1 GETSTATIC test/R\$id\.loginButton : I
|
||||
// 1 INVOKEVIRTUAL test/MyActivity\._\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL test/MyFragment\._\$_findCachedViewById
|
||||
// 2 CHECKCAST android/widget/Button
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Fragment
|
||||
import java.io.File
|
||||
@@ -19,5 +19,5 @@ public class MyFragment2 : Fragment() {
|
||||
}
|
||||
|
||||
// 2 public onDestroy\(\)V
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment\._\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment2\._\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL test/MyFragment\._\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL test/MyFragment2\._\$_clearFindViewByIdCache
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.os.Bundle
|
||||
@@ -11,6 +11,6 @@ public class MyActivity : Activity() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 1 GETSTATIC com/myapp/R\$id\.login
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyActivity\._\$_findCachedViewById
|
||||
// 1 GETSTATIC test/R\$id\.login
|
||||
// 1 INVOKEVIRTUAL test/MyActivity\._\$_findCachedViewById
|
||||
// 1 CHECKCAST android/widget/Button
|
||||
Vendored
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Fragment
|
||||
import java.io.File
|
||||
@@ -10,7 +10,7 @@ public class MyFragment : Fragment() {
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment\.getView
|
||||
// 1 GETSTATIC com/myapp/R\$id\.login
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyFragment\._\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL test/MyFragment\.getView
|
||||
// 1 GETSTATIC test/R\$id\.login
|
||||
// 1 INVOKEVIRTUAL test/MyFragment\._\$_findCachedViewById
|
||||
// 1 CHECKCAST android/widget/Button
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.Fragment
|
||||
@@ -16,6 +16,6 @@ public class MyFragment : Fragment() {
|
||||
|
||||
// 1 INVOKEVIRTUAL android/app/Activity\.getFragmentManager
|
||||
// 1 INVOKEVIRTUAL android/app/Fragment\.getFragmentManager
|
||||
// 2 GETSTATIC com/myapp/R\$id\.fragm
|
||||
// 2 GETSTATIC test/R\$id\.fragm
|
||||
// 2 INVOKEVIRTUAL android/app/FragmentManager\.findFragmentById
|
||||
// 2 CHECKCAST android/app/Fragment
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.myapp
|
||||
package test
|
||||
|
||||
import android.view.View
|
||||
import android.app.Activity
|
||||
@@ -9,9 +9,9 @@ public class MyActivity : Activity() {
|
||||
}
|
||||
|
||||
// 1 public _\$_findCachedViewById
|
||||
// 1 INVOKEVIRTUAL com/myapp/MyActivity\.findViewById
|
||||
// 1 INVOKEVIRTUAL test/MyActivity\.findViewById
|
||||
// 1 public _\$_clearFindViewByIdCache
|
||||
// 1 GETSTATIC com/myapp/R\$id\.login
|
||||
// 1 GETSTATIC test/R\$id\.login
|
||||
// 1 INVOKEVIRTUAL android/view/View\.findViewById
|
||||
// 0 INVOKEVIRTUAL com/myapp/MyActivity\._\$_findCachedViewById
|
||||
// 0 INVOKEVIRTUAL test/MyActivity\._\$_findCachedViewById
|
||||
// 1 CHECKCAST android/widget/Button
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user