/cts/tests/tests/content/src/android/content/res/cts/ |
D | TypedArrayTest.java | 21 import android.content.cts.R; 68 .obtainStyledAttributes(R.style.Whatever, R.styleable.style1); in setUp() 79 R.style.StyleA, R.styleable.style1); in testSourceResourceIdFromStyle() 81 assertEquals(R.style.StyleA, t.getSourceResourceId(R.styleable.style1_type1, 0)); in testSourceResourceIdFromStyle() 82 assertEquals(R.style.StyleB, t.getSourceResourceId(R.styleable.style1_type2, 0)); in testSourceResourceIdFromStyle() 83 assertEquals(R.style.StyleC, t.getSourceResourceId(R.styleable.style1_type3, 0)); in testSourceResourceIdFromStyle() 84 assertEquals(R.style.StyleB, t.getSourceResourceId(R.styleable.style1_type4, 0)); in testSourceResourceIdFromStyle() 85 assertEquals(0, t.getSourceResourceId(R.styleable.style1_type5, 0)); in testSourceResourceIdFromStyle() 86 assertEquals(R.style.StyleA, t.getSourceResourceId(R.styleable.style1_type17, 0)); in testSourceResourceIdFromStyle() 93 getContext().getResources().getLayout(R.layout.source_style_layout); in testSourceResourceIdFromLayout() [all …]
|
D | ConfigTest.java | 27 import android.content.cts.R; 252 checkValue(res, bagRes, R.styleable.TestConfig, in checkPair() 276 checkValue(res, R.configVarying.simple, "simple default"); in testAllEmptyConfigs() 277 checkValue(res, R.configVarying.bag, in testAllEmptyConfigs() 278 R.styleable.TestConfig, new String[]{"bag default"}); in testAllEmptyConfigs() 283 checkValue(res, R.configVarying.simple, "simple xx"); in testAllEmptyConfigs() 284 checkValue(res, R.configVarying.bag, in testAllEmptyConfigs() 285 R.styleable.TestConfig, new String[]{"bag xx"}); in testAllEmptyConfigs() 291 checkValue(res, R.configVarying.simple, "simple xx-rYY"); in testAllEmptyConfigs() 292 checkValue(res, R.configVarying.bag, in testAllEmptyConfigs() [all …]
|
D | FractionTest.java | 23 import android.content.cts.R; 39 tryFraction(R.dimen.frac100perc, 1, 1, 1); in testFractions() 40 tryFraction(R.dimen.frac1perc, 1, 1, .01f); in testFractions() 41 tryFraction(R.dimen.fracp1perc, 1, 1, .001f); in testFractions() 42 tryFraction(R.dimen.fracp01perc, 1, 1, .0001f); in testFractions() 43 tryFraction(R.dimen.frac0perc, 1, 1, 0); in testFractions() 44 tryFraction(R.dimen.frac1p1perc, 1, 1, .011f); in testFractions() 45 tryFraction(R.dimen.frac100p1perc, 1, 1, 1.001f); in testFractions() 46 tryFraction(R.dimen.frac25510perc, 1, 1, 255.1f); in testFractions() 47 tryFraction(R.dimen.frac25610perc, 1, 1, 256.1f); in testFractions() [all …]
|
D | PrimitiveTest.java | 24 import android.content.cts.R; 36 final TypedArray sa = mContext.obtainStyledAttributes(resid, R.styleable.EnumStyle); in tryEnum() 37 final int value = sa.getInt(R.styleable.EnumStyle_testEnum, -1); in tryEnum() 46 tryEnum(R.style.TestEnum1, 1); in testEnum() 47 tryEnum(R.style.TestEnum2, 2); in testEnum() 48 tryEnum(R.style.TestEnum10, 10); in testEnum() 49 tryEnum(R.style.TestEnum1_EmptyInherit, 1); in testEnum() 53 final TypedArray sa = mContext.obtainStyledAttributes(resid, R.styleable.FlagStyle); in tryFlag() 54 final int value = sa.getInt(R.styleable.FlagStyle_testFlags, -1); in tryFlag() 63 tryFlag(R.style.TestFlag1, 0x1); in testFlags() [all …]
|
D | ResourcesTest.java | 20 import android.content.cts.R; 98 final String strGo = mResources.getString(R.string.go, "%1$s%%", 12); in testGetString() 103 final XmlPullParser parser = mResources.getXml(R.xml.test_color); in testObtainAttributes() 106 final TypedArray testTypedArray = mResources.obtainAttributes(set, R.styleable.Style1); in testObtainAttributes() 123 final TypedArray ta = mResources.obtainTypedArray(R.array.string); in testObtainTypedArray() 191 final float dim = mResources.getDimension(R.dimen.app_icon_size); in testGetDimension() 204 final int dim = mResources.getDimensionPixelOffset(R.dimen.app_icon_size); in testGetDimensionPixelOffset() 216 final ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testGetColorStateList() 217 final int[] focusedState = {android.R.attr.state_focused}; in testGetColorStateList() 218 final int focusColor = colorStateList.getColorForState(focusedState, R.color.failColor); in testGetColorStateList() [all …]
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | TestConfiguration.java | 34 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo, 36 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_Dialog, 38 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_Dialog_MinWidth, 40 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_Dialog_NoActionBar, 42 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_Dialog_NoActionBar_MinWidth, 44 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_DialogWhenLarge, 46 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_DialogWhenLarge_NoActionBar, 48 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_InputMethod, 50 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_NoActionBar, 52 new ThemeInfo(ThemeInfo.HOLO, android.R.style.Theme_Holo_NoActionBar_Fullscreen, [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuInflaterTest.java | 84 mMenuInflater.inflate(R.menu.browser, mMenu); in testInflate() 97 mMenuInflater.inflate(R.menu.browser, null); in testInflateNullMenu() 105 mMenuInflater.inflate(R.menu.visible_shortcut, mMenu); in testInflateAlphabeticShortcutFromXml() 107 assertTrue(mMenu.findItem(R.id.visible_item).isVisible()); in testInflateAlphabeticShortcutFromXml() 108 assertEquals('a', mMenu.findItem(R.id.visible_item).getAlphabeticShortcut()); in testInflateAlphabeticShortcutFromXml() 110 assertFalse(mMenu.findItem(R.id.hidden_item).isVisible()); in testInflateAlphabeticShortcutFromXml() 111 assertEquals('b', mMenu.findItem(R.id.hidden_item).getAlphabeticShortcut()); in testInflateAlphabeticShortcutFromXml() 113 assertEquals(R.id.hidden_group, mMenu.findItem(R.id.hidden_by_group).getGroupId()); in testInflateAlphabeticShortcutFromXml() 114 assertFalse(mMenu.findItem(R.id.hidden_by_group).isVisible()); in testInflateAlphabeticShortcutFromXml() 115 assertEquals('c', mMenu.findItem(R.id.hidden_by_group).getAlphabeticShortcut()); in testInflateAlphabeticShortcutFromXml() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | EnterprisePrivacyTestListActivity.java | 31 import com.android.cts.verifier.R; 83 setContentView(R.layout.pass_fail_list); in onCreate() 110 new ButtonInfo(R.string.enterprise_privacy_open_settings, in buildCommandTest() 118 new ButtonInfo(R.string.enterprise_privacy_reset, buildCommandIntent( in buildAdminGrantedPermissionTest() 123 new ButtonInfo(R.string.enterprise_privacy_grant, buildCommandIntent( in buildAdminGrantedPermissionTest() 128 new ButtonInfo(R.string.enterprise_privacy_open_settings, in buildAdminGrantedPermissionTest() 134 R.string.enterprise_privacy_page, in addTestsToAdapter() 135 R.string.enterprise_privacy_page_info, in addTestsToAdapter() 136 new ButtonInfo(R.string.go_button_text, new Intent(Settings.ACTION_SETTINGS)))); in addTestsToAdapter() 138 R.string.enterprise_privacy_network_logging, in addTestsToAdapter() [all …]
|
D | DeviceOwnerPositiveTestActivity.java | 37 import com.android.cts.verifier.R; 100 getString(R.string.device_owner_incorrect_device_owner), null); in onCreate() 106 setContentView(R.layout.positive_device_owner); in onCreate() 107 setInfoResources(R.string.device_owner_positive_tests, in onCreate() 108 R.string.device_owner_positive_tests_info, 0); in onCreate() 112 adapter.add(TestListItem.newCategory(this, R.string.device_owner_positive_category)); in onCreate() 125 View setDeviceOwnerButton = findViewById(R.id.set_device_owner_button); in onCreate() 131 .setIcon(android.R.drawable.ic_dialog_info) in onCreate() 132 .setTitle(R.string.set_device_owner_dialog_title) in onCreate() 133 .setMessage(R.string.set_device_owner_dialog_text) in onCreate() [all …]
|
D | PolicyTransparencyTestActivity.java | 37 import com.android.cts.verifier.R; 77 R.string.auto_time_required_set_step, in POLICY_TEST_ITEMS.put() 78 R.string.set_auto_time_required_action, in POLICY_TEST_ITEMS.put() 79 R.string.set_auto_time_required_widget_label, in POLICY_TEST_ITEMS.put() 80 R.id.switch_widget, in POLICY_TEST_ITEMS.put() 83 R.string.disallow_keyguard_unredacted_notifications_set_step, in POLICY_TEST_ITEMS.put() 84 R.string.disallow_keyguard_unredacted_notifications_action, in POLICY_TEST_ITEMS.put() 85 R.string.disallow_keyguard_unredacted_notifications_widget_label, in POLICY_TEST_ITEMS.put() 86 R.id.switch_widget, in POLICY_TEST_ITEMS.put() 89 R.string.lock_screen_info_set_step, in POLICY_TEST_ITEMS.put() [all …]
|
D | UserRestrictions.java | 26 import com.android.cts.verifier.R; 63 R.string.disallow_add_user, 64 R.string.disallow_adjust_volume, 65 R.string.disallow_apps_control, 66 R.string.disallow_config_cell_broadcasts, 67 R.string.disallow_config_credentials, 68 R.string.disallow_config_mobile_networks, 69 R.string.disallow_config_tethering, 70 R.string.disallow_config_wifi, 71 R.string.disallow_debugging_features, [all …]
|
D | ByodFlowTestActivity.java | 39 import com.android.cts.verifier.R; 154 super(R.layout.provisioning_byod, in ByodFlowTestActivity() 155 R.string.provisioning_byod, R.string.provisioning_byod_info, in ByodFlowTestActivity() 156 R.string.provisioning_byod_instructions); in ByodFlowTestActivity() 168 mPrepareTestButton.setText(R.string.provisioning_byod_start); in onCreate() 264 R.string.provisioning_byod_profileowner, in setupTests() 273 R.string.provisioning_byod_disk_encryption, in setupTests() 288 R.string.provisioning_byod_workapps_visible, in setupTests() 290 R.string.provisioning_byod_workapps_visible_instruction, in setupTests() 292 R.drawable.badged_icon); in setupTests() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | WidgetAttributeTest.kt | 67 val rootView = inflater.inflate(R.layout.widget_attribute_layout, null) as LinearLayout in testGetAttributeResolutionStack() 71 val toolbar1 = rootView.findViewById<Toolbar>(R.id.toolbar_view1) in testGetAttributeResolutionStack() 73 toolbar1.getAttributeResolutionStack(android.R.attr.padding) in testGetAttributeResolutionStack() 75 assertEquals(R.layout.widget_attribute_layout, stackToolbar1padding[0]) in testGetAttributeResolutionStack() 76 assertEquals(R.style.MyToolbarStyle, stackToolbar1padding[1]) in testGetAttributeResolutionStack() 77 assertEquals(R.style.MyToolbarStyleParent, stackToolbar1padding[2]) in testGetAttributeResolutionStack() 79 toolbar1.getAttributeResolutionStack(android.R.attr.titleMarginEnd) in testGetAttributeResolutionStack() 81 assertEquals(R.layout.widget_attribute_layout, stackToolbar1titleMarginEnd[0]) in testGetAttributeResolutionStack() 82 assertEquals(R.style.MyToolbarStyle, stackToolbar1titleMarginEnd[1]) in testGetAttributeResolutionStack() 83 assertEquals(R.style.MyToolbarStyleParent, stackToolbar1titleMarginEnd[2]) in testGetAttributeResolutionStack() [all …]
|
D | RemoteViewsTest.java | 123 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_good); in setup() 129 (R.id.remoteView_host); in setup() 140 new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_good); in testConstructor() 149 mRemoteViews = new RemoteViews(null, R.layout.remoteviews_good); in testGetPackage() 155 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testGetLayoutId() 157 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.listview_layout); in testGetLayoutId() 158 assertEquals(R.layout.listview_layout, mRemoteViews.getLayoutId()); in testGetLayoutId() 169 View view = mResult.findViewById(R.id.remoteView_frame); in testSetContentDescription() 173 CharSequence contentDescription = mContext.getString(R.string.remote_content_description); in testSetContentDescription() 174 mRemoteViews.setContentDescription(R.id.remoteView_frame, contentDescription); in testSetContentDescription() [all …]
|
D | TextViewFontWeightTest.java | 50 (ViewGroup) inflater.inflate(R.layout.textview_weight_test_layout, null); in getTextView() 133 assertFontSelected(getTextView(R.id.textView_weight100_upright), new FontStyle(100, false)); in testWeight() 134 assertFontSelected(getTextView(R.id.textView_weight100_italic), new FontStyle(100, true)); in testWeight() 135 assertFontSelected(getTextView(R.id.textView_weight200_upright), new FontStyle(200, false)); in testWeight() 136 assertFontSelected(getTextView(R.id.textView_weight200_italic), new FontStyle(200, true)); in testWeight() 137 assertFontSelected(getTextView(R.id.textView_weight300_upright), new FontStyle(300, false)); in testWeight() 138 assertFontSelected(getTextView(R.id.textView_weight300_italic), new FontStyle(300, true)); in testWeight() 139 assertFontSelected(getTextView(R.id.textView_weight400_upright), new FontStyle(400, false)); in testWeight() 140 assertFontSelected(getTextView(R.id.textView_weight400_italic), new FontStyle(400, true)); in testWeight() 141 assertFontSelected(getTextView(R.id.textView_weight500_upright), new FontStyle(500, false)); in testWeight() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | VectorDrawableTest.java | 34 import android.graphics.cts.R; 62 R.drawable.vector_icon_create, 63 R.drawable.vector_icon_delete, 64 R.drawable.vector_icon_heart, 65 R.drawable.vector_icon_schedule, 66 R.drawable.vector_icon_settings, 67 R.drawable.vector_icon_random_path_1, 68 R.drawable.vector_icon_random_path_2, 69 R.drawable.vector_icon_repeated_cq, 70 R.drawable.vector_icon_repeated_st, [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 33 import android.server.wm.cts.R; 365 injectMouse5(R.id.draggable, MotionEvent.ACTION_DOWN); in startDrag() 369 View v = mActivity.findViewById(R.id.draggable); in startDrag() 396 setRejectingHandlersOnTree(mActivity.findViewById(R.id.drag_drop_activity_main)); in testNoExtraEvents() 399 mActivity.findViewById(R.id.inner).setOnDragListener((v, ev) -> { in testNoExtraEvents() 403 mActivity.findViewById(R.id.subcontainer).setOnDragListener((v, ev) -> { in testNoExtraEvents() 413 injectMouse5(R.id.container, MotionEvent.ACTION_MOVE); in testNoExtraEvents() 415 injectMouse5(R.id.inner, MotionEvent.ACTION_UP); in testNoExtraEvents() 417 expectEvent5(DragEvent.ACTION_DRAG_STARTED, R.id.inner, R.id.draggable); in testNoExtraEvents() 418 expectEvent5(DragEvent.ACTION_DRAG_STARTED, R.id.subcontainer, R.id.draggable); in testNoExtraEvents() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceReaderTestActivity.java | 23 import com.android.cts.verifier.R; 35 setContentView(R.layout.pass_fail_list); in onCreate() 36 setInfoResources(R.string.nfc_test, R.string.nfc_hce_reader_test_info, 0); in onCreate() 42 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_reader_tests)); in onCreate() 44 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_reader, in onCreate() 48 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_reader, in onCreate() 49 getString(R.string.nfc_hce_single_payment_reader), in onCreate() 52 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_reader, in onCreate() 53 getString(R.string.nfc_hce_dual_payment_reader), in onCreate() 56 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_reader, in onCreate() [all …]
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceFromCodeActivity.java | 44 prefCat.setTitle(R.string.inline_preferences); in addPreferenceCategory() 51 checkboxPref.setIcon(R.drawable.ic_launcher); in addPreferenceCategory() 52 checkboxPref.setTitle(R.string.title_checkbox_preference); in addPreferenceCategory() 53 checkboxPref.setSummary(R.string.summary_checkbox_preference); in addPreferenceCategory() 54 checkboxPref.setSummaryOn(R.string.summary_on_checkbox_preference); in addPreferenceCategory() 55 checkboxPref.setSummaryOff(R.string.summary_off_checkbox_preference); in addPreferenceCategory() 63 switchPref.setTitle(R.string.title_switch_preference); in addPreferenceCategory() 64 switchPref.setSummary(R.string.summary_switch_preference); in addPreferenceCategory() 65 switchPref.setSummaryOn(R.string.summary_on_switch_preference); in addPreferenceCategory() 66 switchPref.setSummaryOff(R.string.summary_off_switch_preference); in addPreferenceCategory() [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ActivityTransitionTest.java | 134 enterScene(R.layout.scene10); in viewsNotStripped() 136 View sharedElement = mActivity.findViewById(R.id.blueSquare); in viewsNotStripped() 140 intent.putExtra(TargetActivity.EXTRA_LAYOUT_ID, R.layout.scene12); in viewsNotStripped() 151 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare); in viewsNotStripped() 152 assertTargetExcludes(targetActivity.enterTransition, R.id.holder); in viewsNotStripped() 154 assertTargetContains(targetActivity.sharedElementEnterTransition, R.id.holder); in viewsNotStripped() 156 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare); in viewsNotStripped() 158 assertTargetContains(mExitTransition, R.id.redSquare, R.id.greenSquare, R.id.yellowSquare); in viewsNotStripped() 159 assertTargetExcludes(mExitTransition, R.id.blueSquare, R.id.holder); in viewsNotStripped() 161 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.redSquare).getVisibility()); in viewsNotStripped() [all …]
|
D | TransitionTest.java | 87 startTransition(R.layout.scene1); in testAddListener() 96 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene2, mActivity); in testAddListener() 120 startTransition(R.layout.scene1); in testRemoveListener() 130 enterScene(R.layout.scene4); in testAddTargetId() 133 mTransition.addTarget(R.id.holder); in testAddTargetId() 134 mTransition.addTarget(R.id.hello); in testAddTargetId() 136 startTransition(R.layout.scene1); in testAddTargetId() 138 assertEquals(R.id.hello, mTargets.get(0).getId()); in testAddTargetId() 144 enterScene(R.layout.scene4); in testRemoveTargetId() 145 mTransition.addTarget(R.id.holder); in testRemoveTargetId() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorTest.java | 48 { 0xff000000, android.R.color.background_dark }, in resourceColor() 49 { 0xffffffff, android.R.color.background_light }, in resourceColor() 50 { 0xff000000, android.R.color.black }, in resourceColor() 51 { 0xffaaaaaa, android.R.color.darker_gray }, in resourceColor() 52 { 0xff00ddff, android.R.color.holo_blue_bright }, in resourceColor() 53 { 0xff0099cc, android.R.color.holo_blue_dark }, in resourceColor() 54 { 0xff33b5e5, android.R.color.holo_blue_light }, in resourceColor() 55 { 0xff669900, android.R.color.holo_green_dark }, in resourceColor() 56 { 0xff99cc00, android.R.color.holo_green_light }, in resourceColor() 57 { 0xffff8800, android.R.color.holo_orange_dark }, in resourceColor() [all …]
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityViewTreeReportingTest.java | 27 import android.accessibilityservice.cts.R; 89 AccessibilityNodeInfo firstFrameLayout = getNodeByText(R.string.firstFrameLayout); in testDescendantsOfNotImportantViewReportedInOrder1() 94 AccessibilityNodeInfo firstTextView = getNodeByText(R.string.firstTextView); in testDescendantsOfNotImportantViewReportedInOrder1() 98 AccessibilityNodeInfo firstEditText = getNodeByText(R.string.firstEditText); in testDescendantsOfNotImportantViewReportedInOrder1() 102 AccessibilityNodeInfo firstButton = getNodeByText(R.string.firstButton); in testDescendantsOfNotImportantViewReportedInOrder1() 108 AccessibilityNodeInfo secondFrameLayout = getNodeByText(R.string.secondFrameLayout); in testDescendantsOfNotImportantViewReportedInOrder2() 113 AccessibilityNodeInfo secondTextView = getNodeByText(R.string.secondTextView); in testDescendantsOfNotImportantViewReportedInOrder2() 117 AccessibilityNodeInfo secondEditText = getNodeByText(R.string.secondEditText); in testDescendantsOfNotImportantViewReportedInOrder2() 121 AccessibilityNodeInfo secondButton = getNodeByText(R.string.secondButton); in testDescendantsOfNotImportantViewReportedInOrder2() 128 getNodeByText(R.string.rootLinearLayout); in testDescendantsOfNotImportantViewReportedInOrder3() [all …]
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentViewTests.java | 50 FragmentTestUtil.setContentView(mActivityRule, R.layout.simple_container); in addFragments() 52 mActivityRule.getActivity().findViewById(R.id.fragmentContainer); in addFragments() 57 fm.beginTransaction().add(R.id.fragmentContainer, fragment1).addToBackStack(null).commit(); in addFragments() 63 fm.beginTransaction().add(R.id.fragmentContainer, fragment2).addToBackStack(null).commit(); in addFragments() 71 .add(R.id.fragmentContainer, fragment3) in addFragments() 72 .add(R.id.fragmentContainer, fragment4) in addFragments() 96 FragmentTestUtil.setContentView(mActivityRule, R.layout.double_container); in addTwoContainers() 98 mActivityRule.getActivity().findViewById(R.id.fragmentContainer1); in addTwoContainers() 100 mActivityRule.getActivity().findViewById(R.id.fragmentContainer2); in addTwoContainers() 104 fm.beginTransaction().add(R.id.fragmentContainer1, fragment1).addToBackStack(null).commit(); in addTwoContainers() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | TelecomDefaultDialerTestActivity.java | 31 import com.android.cts.verifier.R; 52 View view = getLayoutInflater().inflate(R.layout.telecom_default_dialer, null); in onCreate() 54 setInfoResources(R.string.telecom_default_dialer_test_title, in onCreate() 55 R.string.telecom_default_dialer_test_info, -1); in onCreate() 60 R.id.telecom_default_dialer_set_third_party_dialer_button); in onCreate() 67 R.id.telecom_confirm_lock_screen); in onCreate() 74 R.id.telecom_default_dialer_lock_button); in onCreate() 80 mStep1Status = view.findViewById(R.id.step_1_status); in onCreate() 81 mStep2Status = view.findViewById(R.id.step_2_status); in onCreate() 82 mStep3Status = view.findViewById(R.id.step_3_status); in onCreate() [all …]
|