/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
ConfirmDeletionDialogTest.java | 43 Button button2 = (Button) alertDialog.getDialog().findViewById(android.R.id.button2); local 47 assertThat(button2.getText().toString()).isEqualTo("Cancel");
|
/frameworks/base/core/tests/coretests/src/android/view/ |
IncludeTest.java | 44 final View button2 = activity.findViewById(R.id.included_button_overriden); local 45 assertNotNull("The layout include_button was not included with overriden id", button2); 53 final View button2 = activity.findViewById(R.id.included_button_overriden); local 56 button1.getLayoutParams().width != button2.getLayoutParams().width); 58 button1.getLayoutParams().height != button2.getLayoutParams().height);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
DelayedTransition.java | 40 final Button button2 = (Button) findViewById(R.id.button2); local 52 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 59 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListViewHeightTest.java | 52 final Button button2 = (Button) mActivity.findViewById(R.id.button2); local 71 button2.performClick(); 75 assertTrue("List not be visible after clicking button2", list.isShown());
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
AppCompatButtonTest.java | 57 final AppCompatButton button2 = local 66 button2.getLayout().getText().toString()); 77 button2.getLayout().getText().toString());
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentHideShow.java | 52 final Button button2 = (Button)findViewById(R.id.frag2hide); local 53 button2.setText(fragment2.isHidden() ? "Show" : "Hide");
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
FragmentHideShowSupport.java | 53 final Button button2 = (Button)findViewById(R.id.frag2hide); local 54 button2.setText(fragment2.isHidden() ? "Show" : "Hide");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/ |
DeletionHandlerTest.java | 50 " android:id=\"@+id/button2\"\n" + 62 " android:layout_alignBottom=\"@+id/button2\"\n" + 63 " android:layout_toRightOf=\"@+id/button2\"\n" + 70 TestNode button2 = TestNode.findById(targetNode, "@+id/button2"); local 72 INode layout = button2.getParent(); 73 List<INode> deletedNodes = Collections.<INode>singletonList(button2); 76 layout.removeChild(button2); 110 assertFalse(updated.contains(BaseViewRule.stripIdPrefix(button2.getStringAttr(ANDROID_URI, 132 " android:id=\"@+id/button2\"\n" 394 TestNode button2 = TestNode.findById(targetNode, "@+id\/button2"); 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 186 MockXmlNode button2 = createButton(); local 187 button2.addAttributes(SdkConstants.NS_RESOURCES, "id", "@+id/button2"); 213 button2.addAttributes(SdkConstants.NS_RESOURCES, "layout_toRightOf", "@+id/linear3"); 217 linear1.addAttributes(SdkConstants.NS_RESOURCES, "layout_above", "@+id/button2"); 228 button1, button2, linear1, linear2, linear3, linear4, linear5 } );
|
UiElementPullParserTest.java | 104 * <Button android:name="button2" android:text="button2text"/> 122 MockXmlNode button2 = new MockXmlNode(null /* namespace */, "Button", Node.ELEMENT_NODE, local 124 button2.addAttributes(SdkConstants.NS_RESOURCES, "name", "button2"); 125 button2.addAttributes(SdkConstants.NS_RESOURCES, "text", "button2text"); 128 button2Map.put("name", "button2"); 141 Node.ELEMENT_NODE, new MockXmlNode[] { button2, text });
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ |
ButtonItemTest.java | 114 final Button button2 = item.createButton(mParent); local 115 assertSame("createButton should be reused", button, button2); 116 assertNull("Should be removed from parent after createButton", button2.getParent());
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
ZenDurationDialog.java | 237 final ImageView button2 = (ImageView) row.findViewById(android.R.id.button2); local 238 button2.setOnClickListener(new View.OnClickListener() { 248 button2.setVisibility(View.VISIBLE); 251 button2.setEnabled(tag.countdownZenDuration != MAX_BUCKET_MINUTES); 254 button2.setAlpha(button2.isEnabled() ? 1f : .5f); 257 button2.setVisibility(View.GONE);
|
EnableZenModeDialog.java | 371 final ImageView button2 = (ImageView) row.findViewById(android.R.id.button2); local 372 button2.setOnClickListener(new View.OnClickListener() { 382 button2.setVisibility(View.VISIBLE); 385 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); 391 button2.setEnabled(!Objects.equals(condition.summary, maxCondition.summary)); 395 button2.setAlpha(button2.isEnabled() ? 1f : .5f); 398 button2.setVisibility(View.GONE);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TransformsAndAnimationsActivity.java | 36 Button button2; field in class:TransformsAndAnimationsActivity 59 button2 = findViewById(R.id.button2); 130 button2.startAnimation(alphaAnim); 152 button2.setLayerType(layerType, null);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/ |
GridModelTest.java | 56 targetNode.add(TestNode.create(FQCN_BUTTON).id("@+id/Button2")); 70 TestNode b2 = TestNode.create(FQCN_BUTTON).id("@+id/Button2"); 287 " android:text=\"Button2\" />\n" + 290 " android:id=\"@+id/button2\"\n" + 309 TestNode button2 = TestNode.findById(targetNode, "@+id/button2"); local 313 assertNotNull(button2); 320 button2.bounds(new Rect(100, 0, 100, 40)); 357 " android:text=\"Button2\">\n" + 361 " android:id=\"@+id/button2\"\n" 436 TestNode button2 = TestNode.findById(targetNode, "@+id\/button2"); local 495 TestNode button2 = TestNode.findById(targetNode, "@+id\/button2"); local 557 TestNode button2 = TestNode.findById(targetNode, "@+id\/button2"); local 630 TestNode button2 = TestNode.findById(targetNode, "@+id\/button2"); local 722 TestNode button2 = TestNode.findById(targetNode, "@+id\/button2"); local 815 TestNode button2 = TestNode.findById(targetNode, "@+id\/button2"); local [all...] |
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
R$id.class | |
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/ |
ApiDemoJankTests.java | 260 UiObject2 button2 = mDevice.wait(Until.findObject( local 262 Assert.assertNotNull("Button2 isn't found", button2); 263 button2.click();
|
/cts/tests/tests/view/src/android/view/cts/ |
FocusFinderTest.java | 406 Button button2 = new Button(mLayout.getContext()); local 408 setViewBox(button2, 0, 0, 10, 10); 410 layout.addView(button2); 411 View[] views = new View[]{button2, button1}; 416 assertEquals(button2, views[0]); 419 assertEquals(button2, views[0]); 422 setViewBox(button2, 20, 0, 30, 10); 425 assertEquals(button2, views[1]);
|
WindowTest.java | 669 && (mPresentation.button2 != null) && (mPresentation.button3 != null) 671 assertTrue(mPresentation.button1.isFocusable() && mPresentation.button2.isFocusable() && 679 mPresentation.button2.setOnFocusChangeListener(listener); 701 mPresentation.button2.setOnClickListener(clickListener); 714 (mPresentation.button2.isFocused() == button2Focused) && 760 public Button button2 = null; field in class:WindowTest.ProjectedPresentation [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
EntityHeaderController.java | 273 final ImageButton button2 = mHeader.findViewById(android.R.id.button2); local 276 bindButton(button2, mAction2);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
ZenModePanel.java | 703 final ImageView button2 = (ImageView) row.findViewById(android.R.id.button2); local 704 button2.setOnClickListener(new OnClickListener() { 720 button2.setVisibility(VISIBLE); 723 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); 729 button2.setEnabled(!Objects.equals(condition.summary, maxCondition.summary)); 733 button2.setAlpha(button2.isEnabled() ? 1f : .5f); 736 button2.setVisibility(GONE); 743 Interaction.register(button2, mInteractionCallback) [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityWindowQueryTest.java | 257 final AccessibilityNodeInfo button2 = window.getRoot() local 259 "android.accessibilityservice.cts:id/button2").get(0); 262 uiAutomation.executeAndWaitForEvent(() -> button2.performAction(ACTION_CLICK), 589 AccessibilityWindowInfo windowAddedSecond = findWindow(windows, R.string.button2); 700 addWindow(R.string.button2, params -> { [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 | |