/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 …]
|
D | SystemPaletteTest.java | 23 import android.R; 56 R.color.system_neutral1_0, R.color.system_neutral2_0, R.color.system_accent1_0, in testShades0and1000() 57 R.color.system_accent2_0, R.color.system_accent3_0 in testShades0and1000() 60 R.color.system_neutral1_1000, R.color.system_neutral2_1000, in testShades0and1000() 61 R.color.system_accent1_1000, R.color.system_accent2_1000, in testShades0and1000() 62 R.color.system_accent3_1000 in testShades0and1000() 234 colors[0] = context.getColor(R.color.system_accent1_0); in getAllAccent1Colors() 235 colors[1] = context.getColor(R.color.system_accent1_10); in getAllAccent1Colors() 236 colors[2] = context.getColor(R.color.system_accent1_50); in getAllAccent1Colors() 237 colors[3] = context.getColor(R.color.system_accent1_100); in getAllAccent1Colors() [all …]
|
/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 | 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 | 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 | 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 …]
|
/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/widget/src/android/widget/cts/ |
D | WidgetAttributeTest.kt | 68 val rootView = inflater.inflate(R.layout.widget_attribute_layout, null) as LinearLayout in testGetAttributeResolutionStack() 72 val toolbar1 = rootView.findViewById<Toolbar>(R.id.toolbar_view1) in testGetAttributeResolutionStack() 74 toolbar1.getAttributeResolutionStack(android.R.attr.padding) in testGetAttributeResolutionStack() 76 assertEquals(R.layout.widget_attribute_layout, stackToolbar1padding[0]) in testGetAttributeResolutionStack() 77 assertEquals(R.style.MyToolbarStyle, stackToolbar1padding[1]) in testGetAttributeResolutionStack() 78 assertEquals(R.style.MyToolbarStyleParent, stackToolbar1padding[2]) in testGetAttributeResolutionStack() 80 toolbar1.getAttributeResolutionStack(android.R.attr.titleMarginEnd) in testGetAttributeResolutionStack() 82 assertEquals(R.layout.widget_attribute_layout, stackToolbar1titleMarginEnd[0]) in testGetAttributeResolutionStack() 83 assertEquals(R.style.MyToolbarStyle, stackToolbar1titleMarginEnd[1]) in testGetAttributeResolutionStack() 84 assertEquals(R.style.MyToolbarStyleParent, stackToolbar1titleMarginEnd[2]) in testGetAttributeResolutionStack() [all …]
|
D | RemoteViewsTest.java | 162 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_good); in setUp() 168 R.id.remoteView_host); in setUp() 185 new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_good); in testConstructor() 194 mRemoteViews = new RemoteViews(null, R.layout.remoteviews_good); in testGetPackage() 200 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testGetLayoutId() 202 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.listview_layout); in testGetLayoutId() 203 assertEquals(R.layout.listview_layout, mRemoteViews.getLayoutId()); in testGetLayoutId() 214 View view = mResult.findViewById(R.id.remoteView_frame); in testSetContentDescription() 218 CharSequence contentDescription = mContext.getString(R.string.remote_content_description); in testSetContentDescription() 219 mRemoteViews.setContentDescription(R.id.remoteView_frame, contentDescription); in testSetContentDescription() [all …]
|
D | RemoteViewsRecyclingTest.java | 84 RemoteViews rv = createRemoteViews(R.layout.remoteviews_recycle); in recycleWhenIdentical() 85 rv.removeAllViews(R.id.remoteViews_recycle_container); in recycleWhenIdentical() 86 rv.addStableView(R.id.remoteViews_recycle_container, in recycleWhenIdentical() 87 createRemoteViews(R.layout.remoteviews_textview, View.NO_ID), FIRST_TEXT_ID in recycleWhenIdentical() 89 rv.addView(R.id.remoteViews_recycle_container, in recycleWhenIdentical() 90 createRemoteViews(R.layout.remoteviews_textview, View.NO_ID)); in recycleWhenIdentical() 91 rv.addStableView(R.id.remoteViews_recycle_container, in recycleWhenIdentical() 92 createRemoteViews(R.layout.remoteviews_textview), AFTER_TEXT_ID in recycleWhenIdentical() 95 ViewGroup container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenIdentical() 102 container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenIdentical() [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 …]
|
D | TextViewFontVariationTest.java | 44 (ViewGroup) inflater.inflate(R.layout.textview_fontvariation_test_layout, null); in getTextViewFontVariationSettings() 51 getTextViewFontVariationSettings(R.id.textView_fontVariation_wdth25)); in testFontVariation() 53 getTextViewFontVariationSettings(R.id.textView_fontVariation_wdth50)); in testFontVariation() 55 getTextViewFontVariationSettings(R.id.textView_fontVariation_wght100)); in testFontVariation() 57 getTextViewFontVariationSettings(R.id.textView_fontVariation_wght200)); in testFontVariation() 59 getTextViewFontVariationSettings(R.id.textView_fontVariation_wdth25_wght100)); in testFontVariation() 61 getTextViewFontVariationSettings(R.id.textView_fontVariation_wdth25_wght200)); in testFontVariation() 63 getTextViewFontVariationSettings(R.id.textView_fontVariation_wdth50_wght100)); in testFontVariation() 65 getTextViewFontVariationSettings(R.id.textView_fontVariation_wdth50_wght200)); in testFontVariation() 71 getTextViewFontVariationSettings(R.id.textAppearance_fontVariation_wdth25)); in testTextAppearance() [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 | 32 import com.android.cts.verifier.R; 77 setContentView(R.layout.pass_fail_list); in onCreate() 106 new ButtonInfo(R.string.enterprise_privacy_open_settings, in buildCommandTest() 114 new ButtonInfo(R.string.enterprise_privacy_reset, in buildAdminGrantedPermissionTest() 120 new ButtonInfo(R.string.enterprise_privacy_grant, in buildAdminGrantedPermissionTest() 126 new ButtonInfo(R.string.enterprise_privacy_open_settings, in buildAdminGrantedPermissionTest() 132 R.string.enterprise_privacy_page, in addTestsToAdapter() 133 R.string.enterprise_privacy_page_info, in addTestsToAdapter() 134 new ButtonInfo(R.string.go_button_text, new Intent(Settings.ACTION_SETTINGS)))); in addTestsToAdapter() 136 R.string.enterprise_privacy_network_logging, in addTestsToAdapter() [all …]
|
D | DeviceOwnerPositiveTestActivity.java | 41 import com.android.cts.verifier.R; 115 getString(R.string.device_owner_incorrect_profile_owner, myUserId()), in onCreate() 129 getString(R.string.device_owner_incorrect_device_owner, myUserId()), null); in onCreate() 141 getString(R.string.device_owner_user_not_affiliated, myUserId()), null); in onCreate() 147 setContentView(R.layout.positive_device_owner); in onCreate() 148 setInfoResources(R.string.device_owner_positive_tests, in onCreate() 149 R.string.device_owner_positive_tests_info, 0); in onCreate() 153 adapter.add(TestListItem.newCategory(this, R.string.device_owner_positive_category)); in onCreate() 166 View setDeviceOwnerButton = findViewById(R.id.set_device_owner_button); in onCreate() 171 builder.append(getString(R.string.grant_headless_system_user_permissions)); in onCreate() [all …]
|
D | PolicyTransparencyTestActivity.java | 37 import com.android.cts.verifier.R; 84 R.string.auto_time_required_set_step, in POLICY_TEST_ITEMS.put() 85 R.string.set_auto_time_required_action, in POLICY_TEST_ITEMS.put() 86 R.string.set_auto_time_required_widget_label, in POLICY_TEST_ITEMS.put() 87 R.id.switch_widget, in POLICY_TEST_ITEMS.put() 90 R.string.disallow_keyguard_unredacted_notifications_set_step, in POLICY_TEST_ITEMS.put() 91 R.string.disallow_keyguard_unredacted_notifications_action, in POLICY_TEST_ITEMS.put() 92 R.string.disallow_keyguard_unredacted_notifications_widget_label, in POLICY_TEST_ITEMS.put() 93 R.id.switch_widget, in POLICY_TEST_ITEMS.put() 96 R.string.lock_screen_info_set_step, in POLICY_TEST_ITEMS.put() [all …]
|
D | NonMarketAppsActivity.java | 27 import com.android.cts.verifier.R; 34 super(R.layout.provisioning_byod, in NonMarketAppsActivity() 35 R.string.provisioning_byod_non_market_apps, in NonMarketAppsActivity() 36 R.string.provisioning_byod_non_market_apps_info, in NonMarketAppsActivity() 37 R.string.provisioning_byod_non_market_apps_info); in NonMarketAppsActivity() 44 mPrepareTestButton = findViewById(R.id.prepare_test_button); in onCreate() 52 R.string.provisioning_byod_nonmarket_deny, in setupTests() 54 R.string.provisioning_byod_nonmarket_deny_info, in setupTests() 59 R.string.provisioning_byod_nonmarket_allow, in setupTests() 61 R.string.provisioning_byod_nonmarket_allow_info, in setupTests() [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/graphics/src/android/graphics/drawable/cts/ |
D | VectorDrawableTest.java | 35 import android.graphics.cts.R; 63 R.drawable.vector_icon_create, 64 R.drawable.vector_icon_delete, 65 R.drawable.vector_icon_heart, 66 R.drawable.vector_icon_schedule, 67 R.drawable.vector_icon_settings, 68 R.drawable.vector_icon_random_path_1, 69 R.drawable.vector_icon_random_path_2, 70 R.drawable.vector_icon_repeated_cq, 71 R.drawable.vector_icon_repeated_st, [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/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 38 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() 392 setRejectingHandlersOnTree(mActivity.findViewById(R.id.drag_drop_activity_main)); in testNoExtraEvents() 395 mActivity.findViewById(R.id.inner).setOnDragListener((v, ev) -> { in testNoExtraEvents() 399 mActivity.findViewById(R.id.subcontainer).setOnDragListener((v, ev) -> { in testNoExtraEvents() 409 injectMouse5(R.id.container, MotionEvent.ACTION_MOVE); in testNoExtraEvents() 411 injectMouse5(R.id.inner, MotionEvent.ACTION_UP); in testNoExtraEvents() 413 expectEvent5(DragEvent.ACTION_DRAG_STARTED, R.id.inner, R.id.draggable); in testNoExtraEvents() 414 expectEvent5(DragEvent.ACTION_DRAG_STARTED, R.id.subcontainer, R.id.draggable); in testNoExtraEvents() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/ |
D | TestListActivity.java | 36 import com.android.cts.verifier.R; 61 setContentView(R.layout.pass_fail_list); in onCreate() 62 setInfoResources(R.string.aware_test, R.string.aware_test_info, 0); in onCreate() 70 R.string.aware_dp_ib_open_unsolicited)); in onCreate() 72 R.string.aware_publish, in onCreate() 76 R.string.aware_subscribe, in onCreate() 80 R.string.aware_dp_ib_passphrase_unsolicited)); in onCreate() 82 R.string.aware_publish, in onCreate() 86 R.string.aware_subscribe, in onCreate() 90 R.string.aware_dp_ib_pmk_unsolicited)); in onCreate() [all …]
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | DeviceDefaultTest.java | 34 assertActionBar(android.R.style.Theme_DeviceDefault); in testGetActionBar_DeviceDefault() 38 assertNoActionBar(android.R.style.Theme_DeviceDefault_Dialog); in testGetActionBar_DeviceDefault_Dialog() 42 assertNoActionBar(android.R.style.Theme_DeviceDefault_Dialog_MinWidth); in testGetActionBar_DeviceDefault_MinWidth() 46 assertNoActionBar(android.R.style.Theme_DeviceDefault_Dialog_NoActionBar); in testGetActionBar_DeviceDefault_Dialog_NoActionBar() 50 assertNoActionBar(android.R.style.Theme_DeviceDefault_Dialog_NoActionBar_MinWidth); in testGetActionBar_DeviceDefault_Dialog_NoActionBar_MinWidth() 54 assertActionBarWhenLarge(android.R.style.Theme_DeviceDefault_DialogWhenLarge); in testGetActionBar_DeviceDefault_DialogWhenLarge() 58 assertNoActionBar(android.R.style.Theme_DeviceDefault_DialogWhenLarge_NoActionBar); in testGetActionBar_DeviceDefault_DialogWhenLarge_NoActionBar() 63 assertNoActionBar(android.R.style.Theme_DeviceDefault_InputMethod); in testGetActionBar_DeviceDefault_InputMethod() 67 assertActionBar(android.R.style.Theme_DeviceDefault_Light); in testGetActionBar_DeviceDefault_Light() 71 assertActionBar(android.R.style.Theme_DeviceDefault_Light_DarkActionBar); in testGetActionBar_DeviceDefault_Light_DarkActionBar() [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ActivityTransitionTest.java | 136 enterScene(R.layout.scene10); in viewsNotStripped() 138 View sharedElement = mActivity.findViewById(R.id.blueSquare); in viewsNotStripped() 142 intent.putExtra(TargetActivity.EXTRA_LAYOUT_ID, R.layout.scene12); in viewsNotStripped() 153 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare); in viewsNotStripped() 154 assertTargetExcludes(targetActivity.enterTransition, R.id.holder); in viewsNotStripped() 156 assertTargetContains(targetActivity.sharedElementEnterTransition, R.id.holder); in viewsNotStripped() 158 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare); in viewsNotStripped() 160 assertTargetContains(mExitTransition, R.id.redSquare, R.id.greenSquare, R.id.yellowSquare); in viewsNotStripped() 161 assertTargetExcludes(mExitTransition, R.id.blueSquare, R.id.holder); in viewsNotStripped() 163 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.redSquare).getVisibility()); in viewsNotStripped() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/ |
D | VisualVoicemailServiceActivity.java | 29 import com.android.cts.verifier.R; 62 mInsertSimImage.setImageDrawable(getDrawable(R.drawable.fs_good)); 63 mInsertSimText.setText(getText(R.string.visual_voicemail_service_insert_sim_received)); 70 mRemoveSimImage.setImageDrawable(getDrawable(R.drawable.fs_good)); 71 mRemoveSimText.setText(getText(R.string.visual_voicemail_service_remove_sim_received)); 80 View view = getLayoutInflater().inflate(R.layout.visual_voicemail_service, null); in onCreate() 82 setInfoResources(R.string.visual_voicemail_service_test, in onCreate() 83 R.string.visual_voicemail_service_instructions, -1); in onCreate() 89 mSetDefaultDialerImage = (ImageView) findViewById(R.id.set_default_dialer_image); in onCreate() 90 mRestoreDefaultDialerImage = (ImageView) findViewById(R.id.restore_default_dialer_image); in onCreate() [all …]
|