Searched refs:button (Results 1 – 8 of 8) sorted by relevance
48 val button = activity.findViewById<Button>(R.id.button) in <lambda>() constant49 button.setOnClickListener { in <lambda>()53 TooltipCompat.setTooltipText(button, "Test") in <lambda>()55 onView(withId(R.id.button)).perform(longClick()) in <lambda>()56 onView(withId(R.id.button)).perform(longClick()) in <lambda>()57 onView(withId(R.id.button)).perform(click()) in <lambda>()
78 final Drawable button = CompoundButtonCompat.getButtonDrawable(radio); in testDefaultButton_isAnimated() local81 assertTrue(button instanceof AnimatedStateListDrawableCompat in testDefaultButton_isAnimated()82 || button instanceof AnimatedStateListDrawable); in testDefaultButton_isAnimated()93 final Drawable button = CompoundButtonCompat.getButtonDrawable(radio); in testNullCompatButton() local94 boolean isAnimated = button instanceof AnimatedStateListDrawableCompat; in testNullCompatButton()97 assertNotNull(button); in testNullCompatButton()
77 final Drawable button = CompoundButtonCompat.getButtonDrawable(checkBox); in testDefaultButton_isAnimated() local80 assertTrue(button instanceof AnimatedStateListDrawableCompat in testDefaultButton_isAnimated()81 || button instanceof AnimatedStateListDrawable); in testDefaultButton_isAnimated()92 final Drawable button = CompoundButtonCompat.getButtonDrawable(checkBox); in testNullCompatButton() local93 boolean isAnimated = button instanceof AnimatedStateListDrawableCompat; in testNullCompatButton()96 assertNotNull(button); in testNullCompatButton()
87 final AppCompatButton button = in testAppCompatAllCapsFalseOnButton() local90 assertEquals("Button is not in all caps", text, button.getLayout().getText()); in testAppCompatAllCapsFalseOnButton()105 AppCompatButton button = mContainer.findViewById(R.id.button_fontresource); in testFontResources() local108 assertEquals(expected, button.getTypeface()); in testFontResources()
59 private lateinit var button: Button in <lambda>() variable in androidx.appcompat.app.AlertDialogCursorTest69 button = activity.findViewById<View>(R.id.test_button) as Button in <lambda>()127 button.setOnClickListener { alertDialog = builder.show() } in <lambda>()260 button.setOnClickListener { alertDialog = builder.show() } in <lambda>()383 button.setOnClickListener { alertDialog = builder.show() } in <lambda>()
59 mContainer.findViewById(R.id.button).getClass()); in testViewClasses()
71 assertEquals(AppCompatButton.class, mContainer.findViewById(R.id.button).getClass()); in testViewClasses()
830 private void centerButton(Button button) { in centerButton() argument831 LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) button.getLayoutParams(); in centerButton()834 button.setLayoutParams(params); in centerButton()