HomeSort by relevance Sort by last modified time
    Searched refs:button1 (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /frameworks/base/core/tests/coretests/src/android/view/
IncludeTest.java 41 final View button1 = activity.findViewById(R.id.included_button); local
42 assertNotNull("The layout include_button was not included", button1);
52 final View button1 = activity.findViewById(R.id.included_button); local
56 button1.getLayoutParams().width != button2.getLayoutParams().width);
58 button1.getLayoutParams().height != button2.getLayoutParams().height);
64 final View button1 = activity.findViewById(R.id.included_button_visibility); local
66 assertEquals("Included button should be invisible", View.INVISIBLE, button1.getVisibility());
73 final View button1 = activity.findViewById(R.id.included_button_with_size); local
75 final ViewGroup.LayoutParams lp = button1.getLayoutParams();
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DelayedTransition.java 39 final Button button1 = (Button) findViewById(R.id.button1); local
42 button1.setOnClickListener(new View.OnClickListener() {
45 int buttonWidth = button1.getWidth();
49 button1.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT,
56 button1.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
InterruptionTest.java 58 changeBounds2.addTarget(R.id.button1);
  /external/python/cpython2/Demo/tix/samples/
Balloon.py 39 button1 = Tix.Button(w, text='Something Unexpected',
43 button1.pack(side=Tix.TOP, expand=1)
50 b.bind_widget(button1, balloonmsg='Close Window',
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeightTest.java 51 final Button button1 = (Button) mActivity.findViewById(R.id.button1); local
62 button1.performClick();
66 assertTrue("List not be visible after clicking button1", list.isShown());
  /packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
ConfirmDeletionDialogTest.java 42 Button button1 = (Button) alertDialog.getDialog().findViewById(android.R.id.button1); local
46 assertThat(button1.getText().toString()).isEqualTo("Free up space");
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
GridModelTest.java 55 targetNode.add(TestNode.create(FQCN_BUTTON).id("@+id/Button1"));
69 TestNode b1 = TestNode.create(FQCN_BUTTON).id("@+id/Button1");
130 " android:id=\"@+id/button1\"\n" +
169 TestNode button1 = TestNode.findById(targetNode, "@+id/button1"); local
177 assertNotNull(button1);
182 button1.bounds(new Rect(90, 10, 100, 40));
197 // Delete button1
198 button1.getParent().removeChild(button1);
308 TestNode button1 = TestNode.findById(targetNode, "@+id\/button1"); local
629 TestNode button1 = TestNode.findById(targetNode, "@+id\/button1"); local
721 TestNode button1 = TestNode.findById(targetNode, "@+id\/button1"); local
814 TestNode button1 = TestNode.findById(targetNode, "@+id\/button1"); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/
DeletionHandlerTest.java 43 " android:id=\"@+id/button1\"\n" +
53 " android:layout_alignBaseline=\"@+id/button1\"\n" +
54 " android:layout_alignBottom=\"@+id/button1\"\n" +
55 " android:layout_toRightOf=\"@+id/button1\"\n" +
91 " android:id=\"@+id/button1\"\n" +
102 " android:layout_alignBaseline=\"@+id/button1\"\n" +
103 " android:layout_alignBottom=\"@+id/button1\"\n" +
104 " android:layout_toRightOf=\"@+id/button1\"\n" +
124 " android:id=\"@+id/button1\"\n" +
136 " android:layout_below=\"@+id/button1\"\n"
322 TestNode button1 = TestNode.findById(targetNode, "@+id\/button1"); local
    [all...]
  /frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
AppCompatButtonTest.java 55 final AppCompatButton button1 = local
64 button1.getLayout().getText().toString());
72 button1.getLayout().getText().toString());
  /cts/tests/tests/animation/src/android/animation/cts/
LayoutAnimationActivity.java 34 mButton = (Button) findViewById(R.id.button1);
  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
LLOfButtons1.java 40 mFirstButton = findViewById(R.id.button1);
LLOfTwoFocusableInTouchMode.java 41 mButton1 = findViewById(R.id.button1);
BaselineAlignmentCenterGravityTest.java 43 mButton1 = (Button) activity.findViewById(R.id.button1);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
TransformsAndAnimationsActivity.java 35 Button button1; field in class:TransformsAndAnimationsActivity
58 button1 = findViewById(R.id.button1);
129 button1.startAnimation(alphaAnim);
151 button1.setLayerType(layerType, null);
  /external/python/cpython2/Lib/idlelib/
ToolTip.py 86 button1 = Button(root, text="Button 1")
88 button1.pack()
90 ToolTip(button1, "This is tooltip text for button1.")
  /external/python/cpython3/Lib/idlelib/
tooltip.py 86 button1 = Button(top, text="Button 1")
88 button1.pack()
90 ToolTip(button1, "This is tooltip text for button1.")
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
ZenDurationDialog.java 228 final ImageView button1 = (ImageView) row.findViewById(android.R.id.button1); local
229 button1.setOnClickListener(new View.OnClickListener() {
247 button1.setVisibility(View.VISIBLE);
250 button1.setEnabled(time > MIN_BUCKET_MINUTES);
253 button1.setAlpha(button1.isEnabled() ? 1f : .5f);
256 button1.setVisibility(View.GONE);
EnableZenModeDialog.java 362 final ImageView button1 = (ImageView) row.findViewById(android.R.id.button1); local
363 button1.setOnClickListener(new View.OnClickListener() {
381 button1.setVisibility(View.VISIBLE);
384 button1.setEnabled(mBucketIndex > 0);
388 button1.setEnabled(span > MIN_BUCKET_MINUTES * MINUTES_MS);
394 button1.setAlpha(button1.isEnabled() ? 1f : .5f);
397 button1.setVisibility(View.GONE);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/
ExplodeRenderingHelperTest.java 173 * Button1 > LinearLayout3(V: [button]) < Button2
183 MockXmlNode button1 = createButton(); local
184 button1.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/button1");
211 button1.addAttributes(SdkConstants.NS_RESOURCES, "layout_toLeftOf", "@+id/linear3");
221 linear4.addAttributes(SdkConstants.NS_RESOURCES, "layout_toRightOf", "@+id/button1");
228 button1, button2, linear1, linear2, linear3, linear4, linear5 } );
UiElementPullParserTest.java 102 * <Button android:name="button1" android:text="button1text"/>
109 MockXmlNode button1 = new MockXmlNode(null /* namespace */, "Button", Node.ELEMENT_NODE, local
111 button1.addAttributes(SdkConstants.NS_RESOURCES, "name", "button1");
112 button1.addAttributes(SdkConstants.NS_RESOURCES, "text", "button1text");
119 button1Map.put("name", "button1");
145 Node.ELEMENT_NODE, new MockXmlNode[] { button1, relative });
  /cts/tests/tests/view/src/android/view/cts/
WindowTest.java 668 PollingCheck.waitFor(() -> (mPresentation.button1 != null)
671 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() &&
678 mPresentation.button1.setOnFocusChangeListener(listener);
683 PollingCheck.waitFor(() -> mPresentation.button1.hasWindowFocus());
685 assertFalse(mPresentation.button1.isInTouchMode());
693 PollingCheck.waitFor(() -> mPresentation.button1.isInTouchMode());
696 if (v == mPresentation.button1) {
700 mPresentation.button1.setOnClickListener(clickListener);
703 injectTouchEvent(presentationWindow, mPresentation.button1.getX() +
704 mPresentation.button1.getWidth() / 2
759 public Button button1 = null; field in class:WindowTest.ProjectedPresentation
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentHideShow.java 48 final Button button1 = (Button)findViewById(R.id.frag1hide); local
49 button1.setText(fragment1.isHidden() ? "Show" : "Hide");
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
FragmentHideShowSupport.java 49 final Button button1 = (Button)findViewById(R.id.frag1hide); local
50 button1.setText(fragment1.isHidden() ? "Show" : "Hide");
  /packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
EntityHeaderControllerTest.java 158 final ImageButton button1 = view.findViewById(android.R.id.button1); local
159 assertThat(button1).isNotNull();
160 assertThat(button1.getVisibility()).isEqualTo(View.VISIBLE);
161 assertThat(button1.getDrawable()).isNotNull();
180 assertThat(view.findViewById(android.R.id.button1).getVisibility()).isEqualTo(View.GONE);
200 assertThat(appLinks.findViewById(android.R.id.button1).getVisibility())
288 assertThat(appLinks.findViewById(android.R.id.button1).getVisibility())
  /frameworks/base/services/core/java/com/android/server/am/
BaseErrorDialog.java 63 Button b = (Button)findViewById(R.id.button1);

Completed in 465 milliseconds

1 2 3 4