/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,
|
/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/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());
|
/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());
|
/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");
|
/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...] |
/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 });
|
/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);
|
/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...] |
/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...] |
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/ |
ApiDemoJankTests.java | 254 UiObject2 button1 = mDevice.wait(Until.findObject( local 256 Assert.assertNotNull("Button1 isn't found", button1); 257 button1.click();
|
/cts/tests/tests/view/src/android/view/cts/ |
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]);
|
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...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
EntityHeaderController.java | 252 final ImageButton button1 = mHeader.findViewById(android.R.id.button1); local 255 bindButton(button1, mAction1);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
ZenModePanel.java | 695 final ImageView button1 = (ImageView) row.findViewById(android.R.id.button1); local 696 button1.setOnClickListener(new OnClickListener() { 719 button1.setVisibility(VISIBLE); 722 button1.setEnabled(mBucketIndex > 0); 726 button1.setEnabled(span > MIN_BUCKET_MINUTES * MINUTES_MS); 732 button1.setAlpha(button1.isEnabled() ? 1f : .5f); 735 button1.setVisibility(GONE); 742 Interaction.register(button1, mInteractionCallback) [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityWindowQueryTest.java | 141 final AccessibilityNodeInfo button1 = uiAutomation.getRootInActiveWindow() local 143 "android.accessibilityservice.cts:id/button1").get(0); 152 button1.performAction(AccessibilityNodeInfo.ACTION_CLICK); 213 final AccessibilityNodeInfo button1 = uiAutomation.getRootInActiveWindow() local 215 "android.accessibilityservice.cts:id/button1").get(0); 224 button1.performAction(AccessibilityNodeInfo.ACTION_CLICK); 268 final AccessibilityNodeInfo button1 = uiAutomation.getRootInActiveWindow() local 270 "android.accessibilityservice.cts:id/button1").get(0); 279 button1.performAction(AccessibilityNodeInfo.ACTION_CLICK); [all...] |
/prebuilts/tools/common/bazel/formc-deps/ |
jgoodies-forms.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |