Home
last modified time | relevance | path

Searched refs:setContent (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTabHost_TabSpecTest.java77 tabSpec.setIndicator(TAG_TAB2).setContent(new MockTabContentFactoryText()); in testSetIndicator1()
87 tabSpec.setIndicator((CharSequence)null).setContent(new MockTabContentFactoryList()); in testSetIndicator1()
103 tabSpec.setContent(new MockTabContentFactoryText()); in testSetIndicator2()
117 tabSpec.setContent(new MockTabContentFactoryList()); in testSetIndicator2()
128 tabSpec.setContent(new MockTabContentFactoryList()); in testSetIndicator2()
139 tabSpec.setContent(new MockTabContentFactoryList()); in testSetIndicator2()
155 tabSpec2.setContent(R.id.tabhost_textview); in testSetContent1()
165 tabSpec3.setContent(R.id.tabhost_listview); in testSetContent1()
177 tabSpec2.setContent(new MockTabContentFactoryText()); in testSetContent2()
186 tabSpec3.setContent(new MockTabContentFactoryList()); in testSetContent2()
[all …]
DTabHostTest.java123 tabSpec.setContent(new MyTabContentFactoryList()); in testSetup1()
160 tabSpec.setContent(intent); in testSetup2()
178 tabSpec.setContent(new MyTabContentFactoryList()); in testAddTab()
204 tabHost.addTab(tabHost.newTabSpec("tab 3").setContent(new MyTabContentFactoryText())); in testAddTabNoIndicator()
220 tabHost.addTab(tabHost.newTabSpec(TAG_TAB1).setIndicator(TAG_TAB1).setContent(tcf)); in testClearAllTabs()
221 tabHost.addTab(tabHost.newTabSpec(TAG_TAB2).setIndicator(TAG_TAB2).setContent(tcf)); in testClearAllTabs()
255 tabSpec.setContent(new MyTabContentFactoryText()); in testAccessCurrentTab()
278 tabSpec.setContent(new MyTabContentFactoryText()); in testGetCurrentTabView()
294 tabSpec.setContent(new MyTabContentFactoryList()); in testGetCurrentView()
308 tabSpec.setContent(new MyTabContentFactoryText()); in testSetCurrentTabByTag()
[all …]
DTabHostCtsActivity.java45 .setContent(new MyTabContentFactory())); in onCreate()
DPointerIconTest.java96 .setContent(tag -> new View(mActivity)); in createTabSpec()
/cts/tests/app/app/src/android/app/stubs/
DMockTabActivity.java43 .setContent(new Intent(this, MockActivity.class))); in onCreate()
46 .setContent(new Intent(this, MockActivity.class))); in onCreate()
48 tabHost.addTab(tabHost.newTabSpec(TAB3).setIndicator(TAB3).setContent( in onCreate()
DLaunchpadTabActivity.java39 ts.setContent(tabIntent); in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DDatasetTest.java229 Dataset.Builder builder = new Dataset.Builder().setContent(mId, mContent); in testBuilder_setContent()
240 assertThrows(IllegalArgumentException.class, () -> builder.setContent(mId, clip)); in testBuilder_setContentWithIntentIsNotAllowed()
246 Dataset.Builder builder = new Dataset.Builder().setContent(mId, null); in testBuilder_setContentAcceptsNullContent()
256 .setContent(mId, mContent) in testBuilder_setContentWithAuthentication()
269 builder.setContent(mId, mContent); in testBuilder_settingBothContentAndValuesIsNotAllowed()
275 builder.setContent(mId, mContent); in testBuilder_settingBothContentAndValuesIsNotAllowed()
283 builder.setContent(mId, mContent); in testBuilder_settingContentForMultipleFieldsIsNotAllowed()
284 builder.setContent(mId2, mContent); in testBuilder_settingContentForMultipleFieldsIsNotAllowed()
316 assertThrows(IllegalStateException.class, () -> builder.setContent(mId, mContent)); in testNoMoreInteractionsAfterBuild()
340 .setContent(mId, mContent) in testWriteToParcel_content()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAugmentedContentTest.java209 .setContent(targetFieldId, content)
218 .setContent(targetFieldId, contentAfterAuth)
226 .setContent(targetFieldId, contentBeforeAuth)
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCannedAugmentedFillResponse.java204 .setContent(fieldContent.first, fieldContent.second) in createResponseWithInlineSuggestion()
400 public Builder setContent(@NonNull AutofillId id, @Nullable ClipData content) { in setContent() method in CannedAugmentedFillResponse.Dataset.Builder