Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTabHost_TabSpecTest.java86 tabSpec.setIndicator(TAG_TAB2).setContent(new MockTabContentFactoryText()); in testSetIndicator1()
96 tabSpec.setIndicator((CharSequence)null).setContent(new MockTabContentFactoryList()); in testSetIndicator1()
112 tabSpec.setContent(new MockTabContentFactoryText()); in testSetIndicator2()
126 tabSpec.setContent(new MockTabContentFactoryList()); in testSetIndicator2()
137 tabSpec.setContent(new MockTabContentFactoryList()); in testSetIndicator2()
148 tabSpec.setContent(new MockTabContentFactoryList()); in testSetIndicator2()
164 tabSpec2.setContent(R.id.tabhost_textview); in testSetContent1()
174 tabSpec3.setContent(R.id.tabhost_listview); in testSetContent1()
186 tabSpec2.setContent(new MockTabContentFactoryText()); in testSetContent2()
195 tabSpec3.setContent(new MockTabContentFactoryList()); in testSetContent2()
[all …]
DTabHostTest.java133 tabSpec.setContent(new MyTabContentFactoryList()); in testSetup1()
170 tabSpec.setContent(intent); in testSetup2()
188 tabSpec.setContent(new MyTabContentFactoryList()); in testAddTab()
214 tabHost.addTab(tabHost.newTabSpec("tab 3").setContent(new MyTabContentFactoryText())); in testAddTabNoIndicator()
230 tabHost.addTab(tabHost.newTabSpec(TAG_TAB1).setIndicator(TAG_TAB1).setContent(tcf)); in testClearAllTabs()
231 tabHost.addTab(tabHost.newTabSpec(TAG_TAB2).setIndicator(TAG_TAB2).setContent(tcf)); in testClearAllTabs()
265 tabSpec.setContent(new MyTabContentFactoryText()); in testAccessCurrentTab()
288 tabSpec.setContent(new MyTabContentFactoryText()); in testGetCurrentTabView()
304 tabSpec.setContent(new MyTabContentFactoryList()); in testGetCurrentView()
318 tabSpec.setContent(new MyTabContentFactoryText()); in testSetCurrentTabByTag()
[all …]
DTabHostCtsActivity.java45 .setContent(new MyTabContentFactory())); in onCreate()
DPointerIconTest.java183 .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.java358 Dataset.Builder builder = new Dataset.Builder().setContent(mId, mContent); in testBuilder_setContent()
369 assertThrows(IllegalArgumentException.class, () -> builder.setContent(mId, clip)); in testBuilder_setContentWithIntentIsNotAllowed()
375 Dataset.Builder builder = new Dataset.Builder().setContent(mId, null); in testBuilder_setContentAcceptsNullContent()
385 .setContent(mId, mContent) in testBuilder_setContentWithAuthentication()
398 builder.setContent(mId, mContent); in testBuilder_settingBothContentAndValuesIsNotAllowed()
404 builder.setContent(mId, mContent); in testBuilder_settingBothContentAndValuesIsNotAllowed()
412 builder.setContent(mId, mContent); in testBuilder_settingContentForMultipleFieldsIsNotAllowed()
413 builder.setContent(mId2, mContent); in testBuilder_settingContentForMultipleFieldsIsNotAllowed()
445 assertThrows(IllegalStateException.class, () -> builder.setContent(mId, mContent)); in testNoMoreInteractionsAfterBuild()
469 .setContent(mId, mContent) in testWriteToParcel_content()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAugmentedContentTest.java221 .setContent(targetFieldId, content)
230 .setContent(targetFieldId, contentAfterAuth)
238 .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
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt2975 …method @NonNull public android.service.autofill.Dataset.Builder setContent(@NonNull android.view.a…
Dcurrent.txt6690 … method @Deprecated public android.app.Notification.Builder setContent(android.widget.RemoteViews);
60727 method @Deprecated public android.widget.TabHost.TabSpec setContent(int);
60728 …method @Deprecated public android.widget.TabHost.TabSpec setContent(android.widget.TabHost.TabCont…
60729 method @Deprecated public android.widget.TabHost.TabSpec setContent(android.content.Intent);
Dsystem-current.txt12417 …method @NonNull public android.service.autofill.Dataset.Builder setContent(@NonNull android.view.a…