Home
last modified time | relevance | path

Searched refs:R (Results 1 – 25 of 1583) sorted by relevance

12345678910>>...64

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorTest.java58 { 0xff000000, android.R.color.background_dark }, in resourceColor()
59 { 0xffffffff, android.R.color.background_light }, in resourceColor()
60 { 0xff000000, android.R.color.black }, in resourceColor()
61 { 0xffaaaaaa, android.R.color.darker_gray }, in resourceColor()
62 { 0xff00ddff, android.R.color.holo_blue_bright }, in resourceColor()
63 { 0xff0099cc, android.R.color.holo_blue_dark }, in resourceColor()
64 { 0xff33b5e5, android.R.color.holo_blue_light }, in resourceColor()
65 { 0xff669900, android.R.color.holo_green_dark }, in resourceColor()
66 { 0xff99cc00, android.R.color.holo_green_light }, in resourceColor()
67 { 0xffff8800, android.R.color.holo_orange_dark }, in resourceColor()
[all …]
DSystemPaletteTest.kt19 import android.R in <lambda>()
23 import android.graphics.cts.R as CtsR in <lambda>()
194 R.color.system_surface_dark, in <lambda>()
195 R.color.system_surface_dim_dark, in <lambda>()
196 R.color.system_surface_bright_dark, in <lambda>()
197 R.color.system_surface_container_dark, in <lambda>()
198 R.color.system_surface_container_high_dark, in <lambda>()
199 R.color.system_surface_container_highest_dark, in <lambda>()
200 R.color.system_surface_container_low_dark, in <lambda>()
201 R.color.system_surface_container_lowest_dark, in <lambda>()
[all …]
/cts/hostsidetests/theme/app/src/android/theme/app/
DTestConfiguration.java31 new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material,
33 new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_Dialog,
35 new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_Dialog_Alert,
37 new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_Dialog_MinWidth,
39 new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_Dialog_NoActionBar,
41 … new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_Dialog_NoActionBar_MinWidth,
43 new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_Dialog_Presentation,
45 new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_DialogWhenLarge,
47 … new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_DialogWhenLarge_NoActionBar,
49 new ThemeInfo(ThemeInfo.MATERIAL, android.R.style.Theme_Material_InputMethod,
[all …]
/cts/tests/tests/security/src/android/security/cts/
DPackageSignatureTest.java82 wellKnownSignatures.add(getSignature(R.raw.sig_media)); in getWellKnownSignatures()
83 wellKnownSignatures.add(getSignature(R.raw.sig_platform)); in getWellKnownSignatures()
84 wellKnownSignatures.add(getSignature(R.raw.sig_shared)); in getWellKnownSignatures()
85 wellKnownSignatures.add(getSignature(R.raw.sig_testkey)); in getWellKnownSignatures()
86 wellKnownSignatures.add(getSignature(R.raw.sig_debug)); in getWellKnownSignatures()
87 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys)); in getWellKnownSignatures()
88 wellKnownSignatures.add(getSignature(R.raw.sig_networkstack)); in getWellKnownSignatures()
89 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys_media)); in getWellKnownSignatures()
90 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys_platform)); in getWellKnownSignatures()
91 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys_shared)); in getWellKnownSignatures()
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DTypedArrayTest.java28 import android.content.cts.R;
87 .obtainStyledAttributes(R.style.Whatever, R.styleable.style1); in setUp()
98 R.style.StyleA, R.styleable.style1); in testSourceResourceIdFromStyle()
100 assertEquals(R.style.StyleA, t.getSourceResourceId(R.styleable.style1_type1, 0)); in testSourceResourceIdFromStyle()
101 assertEquals(R.style.StyleB, t.getSourceResourceId(R.styleable.style1_type2, 0)); in testSourceResourceIdFromStyle()
102 assertEquals(R.style.StyleC, t.getSourceResourceId(R.styleable.style1_type3, 0)); in testSourceResourceIdFromStyle()
103 assertEquals(R.style.StyleB, t.getSourceResourceId(R.styleable.style1_type4, 0)); in testSourceResourceIdFromStyle()
104 assertEquals(0, t.getSourceResourceId(R.styleable.style1_type5, 0)); in testSourceResourceIdFromStyle()
105 assertEquals(R.style.StyleA, t.getSourceResourceId(R.styleable.style1_type17, 0)); in testSourceResourceIdFromStyle()
113 getContext().getResources().getLayout(R.layout.source_style_layout); in testSourceResourceIdFromLayout()
[all …]
DConfigTest.java27 import android.content.cts.R;
258 checkValue(res, bagRes, R.styleable.TestConfig, in checkPair()
283 checkValue(res, R.string.simple, "simple default"); in testAllEmptyConfigs()
284 checkValue(res, R.style.bag, in testAllEmptyConfigs()
285 R.styleable.TestConfig, new String[]{"bag default"}); in testAllEmptyConfigs()
290 checkValue(res, R.string.simple, "simple xx"); in testAllEmptyConfigs()
291 checkValue(res, R.style.bag, in testAllEmptyConfigs()
292 R.styleable.TestConfig, new String[]{"bag xx"}); in testAllEmptyConfigs()
298 checkValue(res, R.string.simple, "simple xx-rYY"); in testAllEmptyConfigs()
299 checkValue(res, R.style.bag, in testAllEmptyConfigs()
[all …]
DFractionTest.java22 import android.content.cts.R;
54 tryFraction(R.dimen.frac100perc, 1, 1, 1); in testFractions()
55 tryFraction(R.dimen.frac1perc, 1, 1, .01f); in testFractions()
56 tryFraction(R.dimen.fracp1perc, 1, 1, .001f); in testFractions()
57 tryFraction(R.dimen.fracp01perc, 1, 1, .0001f); in testFractions()
58 tryFraction(R.dimen.frac0perc, 1, 1, 0); in testFractions()
59 tryFraction(R.dimen.frac1p1perc, 1, 1, .011f); in testFractions()
60 tryFraction(R.dimen.frac100p1perc, 1, 1, 1.001f); in testFractions()
61 tryFraction(R.dimen.frac25510perc, 1, 1, 255.1f); in testFractions()
62 tryFraction(R.dimen.frac25610perc, 1, 1, 256.1f); in testFractions()
[all …]
DPrimitiveTest.java22 import android.content.cts.R;
51 final TypedArray sa = getContext().obtainStyledAttributes(resid, R.styleable.EnumStyle); in tryEnum()
52 final int value = sa.getInt(R.styleable.EnumStyle_testEnum, -1); in tryEnum()
62 tryEnum(R.style.TestEnum1, 1); in testEnum()
63 tryEnum(R.style.TestEnum2, 2); in testEnum()
64 tryEnum(R.style.TestEnum10, 10); in testEnum()
65 tryEnum(R.style.TestEnum1_EmptyInherit, 1); in testEnum()
69 final TypedArray sa = getContext().obtainStyledAttributes(resid, R.styleable.FlagStyle); in tryFlag()
70 final int value = sa.getInt(R.styleable.FlagStyle_testFlags, -1); in tryFlag()
80 tryFlag(R.style.TestFlag1, 0x1); in testFlags()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DWidgetAttributeTest.kt68 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 …]
DRemoteViewsTest.java188 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_good); in setUp()
194 R.id.remoteView_host); in setUp()
211 new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_good); in testConstructor()
220 mRemoteViews = new RemoteViews(null, R.layout.remoteviews_good); in testGetPackage()
226 assertEquals(R.layout.remoteviews_good, mRemoteViews.getLayoutId()); in testGetLayoutId()
228 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.listview_layout); in testGetLayoutId()
229 assertEquals(R.layout.listview_layout, mRemoteViews.getLayoutId()); in testGetLayoutId()
240 View view = mResult.findViewById(R.id.remoteView_frame); in testSetContentDescription()
244 CharSequence contentDescription = mContext.getString(R.string.remote_content_description); in testSetContentDescription()
245 mRemoteViews.setContentDescription(R.id.remoteView_frame, contentDescription); in testSetContentDescription()
[all …]
DRemoteViewsRecyclingTest.java93 RemoteViews rv = createRemoteViews(R.layout.remoteviews_recycle); in recycleWhenIdentical()
94 rv.removeAllViews(R.id.remoteViews_recycle_container); in recycleWhenIdentical()
95 rv.addStableView(R.id.remoteViews_recycle_container, in recycleWhenIdentical()
96 createRemoteViews(R.layout.remoteviews_textview, View.NO_ID), FIRST_TEXT_ID in recycleWhenIdentical()
98 rv.addView(R.id.remoteViews_recycle_container, in recycleWhenIdentical()
99 createRemoteViews(R.layout.remoteviews_textview, View.NO_ID)); in recycleWhenIdentical()
100 rv.addStableView(R.id.remoteViews_recycle_container, in recycleWhenIdentical()
101 createRemoteViews(R.layout.remoteviews_textview), AFTER_TEXT_ID in recycleWhenIdentical()
104 ViewGroup container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenIdentical()
111 container = mResult.findViewById(R.id.remoteViews_recycle_container); in recycleWhenIdentical()
[all …]
DTextViewFontWeightTest.java50 (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 …]
DTextViewFontVariationTest.java44 (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/
DMenuInflaterTest.java94 mMenuInflater.inflate(R.menu.browser, mMenu); in testInflate()
107 mMenuInflater.inflate(R.menu.browser, null); in testInflateNullMenu()
115 mMenuInflater.inflate(R.menu.visible_shortcut, mMenu); in testInflateAlphabeticShortcutFromXml()
117 assertTrue(mMenu.findItem(R.id.visible_item).isVisible()); in testInflateAlphabeticShortcutFromXml()
118 assertEquals('a', mMenu.findItem(R.id.visible_item).getAlphabeticShortcut()); in testInflateAlphabeticShortcutFromXml()
120 assertFalse(mMenu.findItem(R.id.hidden_item).isVisible()); in testInflateAlphabeticShortcutFromXml()
121 assertEquals('b', mMenu.findItem(R.id.hidden_item).getAlphabeticShortcut()); in testInflateAlphabeticShortcutFromXml()
123 assertEquals(R.id.hidden_group, mMenu.findItem(R.id.hidden_by_group).getGroupId()); in testInflateAlphabeticShortcutFromXml()
124 assertFalse(mMenu.findItem(R.id.hidden_by_group).isVisible()); in testInflateAlphabeticShortcutFromXml()
125 assertEquals('c', mMenu.findItem(R.id.hidden_by_group).getAlphabeticShortcut()); in testInflateAlphabeticShortcutFromXml()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyTestListActivity.java32 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, in addTestsToAdapter()
137 R.string.enterprise_privacy_network_logging, in addTestsToAdapter()
[all …]
DDeviceOwnerPositiveTestActivity.java41 import com.android.cts.verifier.R;
127 getString(R.string.device_owner_incorrect_profile_owner, myUserId()), in onCreate()
141 getString(R.string.device_owner_incorrect_device_owner, myUserId()), null); in onCreate()
153 getString(R.string.device_owner_user_not_affiliated, myUserId()), null); in onCreate()
159 setContentView(R.layout.positive_device_owner); in onCreate()
160 setInfoResources(R.string.device_owner_positive_tests, in onCreate()
161 R.string.device_owner_positive_tests_info, 0); in onCreate()
165 adapter.add(TestListItem.newCategory(this, R.string.device_owner_positive_category)); in onCreate()
178 View setDeviceOwnerButton = findViewById(R.id.set_device_owner_button); in onCreate()
183 builder.append(getString(R.string.grant_headless_system_user_permissions)); in onCreate()
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DVectorDrawableTest.java35 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/
DPreferenceFromCodeActivity.java44 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/other/
DDragDropTest.java43 import android.server.wm.cts.R;
409 injectMouse5(R.id.draggable, MotionEvent.ACTION_DOWN); in startDrag()
413 View v = mActivity.findViewById(R.id.draggable); in startDrag()
436 setRejectingHandlersOnTree(mActivity.findViewById(R.id.drag_drop_activity_main)); in testNoExtraEvents()
439 mActivity.findViewById(R.id.inner).setOnDragListener((v, ev) -> { in testNoExtraEvents()
443 mActivity.findViewById(R.id.subcontainer).setOnDragListener((v, ev) -> { in testNoExtraEvents()
453 injectMouse5(R.id.container, MotionEvent.ACTION_MOVE); in testNoExtraEvents()
455 injectMouse5(R.id.inner, MotionEvent.ACTION_UP); in testNoExtraEvents()
457 expectEvent5(DragEvent.ACTION_DRAG_STARTED, R.id.inner, R.id.draggable); in testNoExtraEvents()
458 expectEvent5(DragEvent.ACTION_DRAG_STARTED, R.id.subcontainer, R.id.draggable); in testNoExtraEvents()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/capturecontentfornotes/
DCaptureContentForNotesVerifierActivity.java44 import com.android.cts.verifier.R;
78 R.string.disable_screenshot_button_label,
81 new ButtonInfo(R.string.enable_screenshot_button_label,
91 R.string.ccfn_launch_and_add_test,
92 R.string.ccfn_launch_and_add_test_info),
95 R.string.ccfn_launch_and_cancel_test,
96 R.string.ccfn_launch_and_cancel_test_info),
99 R.string.ccfn_launch_window_unsupported,
100 R.string.ccfn_launch_window_unsupported_info),
103 R.string.ccfn_launch_blocked_by_admin,
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DTestListActivity.java36 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/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/
DPocService.java44 setResult(getResources().getInteger(R.integer.fail), in onCreate()
45 getResources().getString(R.string.vulnerableMessage)); in onCreate()
48 setResult(getResources().getInteger(R.integer.assumptionFailure), in onCreate()
55 .getService(getResources().getString(R.string.notification)); in createNotificationGroup()
57 getResources().getString(R.string.functionName)); in createNotificationGroup()
59 setResult(getResources().getInteger(R.integer.assumptionFailure), in createNotificationGroup()
60 getString(R.string.errorNoMethodFound)); in createNotificationGroup()
63 setResult(getResources().getInteger(R.integer.assumptionFailure), in createNotificationGroup()
64 getString(R.string.errorTargetMethodNotFound)); in createNotificationGroup()
72 getResources().getString(R.string.groupId)); in createNotificationGroup()
[all …]
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultTest.java34 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/hostsidetests/securitybulletin/test-apps/CVE-2023-35676/src/android/security/cts/CVE_2023_35676/com/google/android/apps/miphone/aiai/matchnaker/overview/api/generatedv2/
DSuggestParcelables.java23 import android.security.cts.CVE_2023_35676.R;
41 if (bundle.containsKey(context.getString(R.string.id))) { in Action()
42 this.id = bundle.getString(context.getString(R.string.id)); in Action()
44 if (bundle.containsKey(context.getString(R.string.displayName))) { in Action()
45 this.displayName = bundle.getString(context.getString(R.string.displayName)); in Action()
47 if (bundle.containsKey(context.getString(R.string.fullDisplayName))) { in Action()
49 bundle.getString(context.getString(R.string.fullDisplayName)); in Action()
55 bundle.putString(context.getString(R.string.id), this.id); in writeToBundle()
56 bundle.putString(context.getString(R.string.displayName), this.displayName); in writeToBundle()
57 bundle.putString(context.getString(R.string.fullDisplayName), this.fullDisplayName); in writeToBundle()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java136 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 …]

12345678910>>...64