HomeSort by relevance Sort by last modified time
    Searched refs:button1 (Results 1 - 25 of 81) 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());
ListViewHeight.java 47 mButton1 = findViewById(R.id.button1);
  /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/tests/src/android/support/v7/widget/
AppCompatButtonTest.java 53 final AppCompatButton button1 = local
62 button1.getLayout().getText().toString());
70 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.")
  /packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
EntityHeaderControllerTest.java 151 final ImageButton button1 = appLinks.findViewById(android.R.id.button1); local
152 assertThat(button1.getVisibility()).isEqualTo(View.VISIBLE);
153 assertThat(button1.getDrawable()).isNotNull();
157 appLinks.findViewById(android.R.id.button1).performClick();
180 final ImageButton button1 = appLinks.findViewById(android.R.id.button1); local
181 assertThat(button1.getVisibility()).isEqualTo(View.GONE);
182 assertThat(button1.getDrawable()).isNull();
202 assertThat(appLinks.findViewById(android.R.id.button1).getVisibility()
    [all...]
  /packages/apps/Settings/tests/app/src/com/android/settings/notification/
AppNotificationSettingsTest.java 58 onView(allOf(withId(android.R.id.button1),
  /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 651 PollingCheck.waitFor(() -> (mPresentation.button1 != null)
654 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() &&
661 mPresentation.button1.setOnFocusChangeListener(listener);
666 PollingCheck.waitFor(() -> mPresentation.button1.hasWindowFocus());
668 assertFalse(mPresentation.button1.isInTouchMode());
676 PollingCheck.waitFor(() -> mPresentation.button1.isInTouchMode());
679 if (v == mPresentation.button1) {
683 mPresentation.button1.setOnClickListener(clickListener);
686 injectTouchEvent(presentationWindow, mPresentation.button1.getX() +
687 mPresentation.button1.getWidth() / 2
742 public Button button1 = null; field in class:WindowTest.ProjectedPresentation
    [all...]
FocusFinderTest.java 405 Button button1 = new Button(mLayout.getContext()); local
407 setViewBox(button1, 0, 0, 10, 10);
409 layout.addView(button1);
411 View[] views = new View[]{button2, button1};
420 assertEquals(button1, views[1]);
424 assertEquals(button1, views[0]);
  /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/com/example/android/supportv4/app/
FragmentHideShowSupport.java 49 final Button button1 = (Button)findViewById(R.id.frag1hide); local
50 button1.setText(fragment1.isHidden() ? "Show" : "Hide");
  /frameworks/base/services/core/java/com/android/server/am/
BaseErrorDialog.java 63 Button b = (Button)findViewById(R.id.button1);
  /prebuilts/tools/common/bazel/formc-deps/
jgoodies-forms.jar 

Completed in 1274 milliseconds

1 2 3 4