OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tabSpec
(Results
1 - 12
of
12
) sorted by null
/cts/tests/tests/widget/src/android/widget/cts/
TabHost_TabSpecTest.java
41
import android.widget.TabHost.
TabSpec
;
44
* Test {@link
TabSpec
}.
46
@TestTargetClass(
TabSpec
.class)
71
TabSpec
tabSpec
= mTabHost.newTabSpec(TAG_TAB2);
74
tabSpec
.setIndicator(TAG_TAB2).setContent(new MockTabContentFactoryText());
75
mTabHost.addTab(
tabSpec
);
83
tabSpec
= mTabHost.newTabSpec("tab 3");
84
tabSpec
.setIndicator((CharSequence)null).setContent(new MockTabContentFactoryList());
85
mTabHost.addTab(
tabSpec
);
[
all
...]
TabHostTest.java
37
import android.widget.TabHost.
TabSpec
;
116
TabSpec
tabSpec
= tabHost.newTabSpec(TAG_TAB1);
117
tabSpec
.setIndicator(TAG_TAB1);
118
tabSpec
.setContent(new MyTabContentFactoryList());
119
tabHost.addTab(
tabSpec
);
131
* 2. no exception occurs when uses
TabSpec
.setContent(android.content.Intent) after setup().
154
TabSpec
tabSpec
= tabHost.newTabSpec(TAG_TAB1);
155
tabSpec
.setIndicator(TAG_TAB1)
[
all
...]
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentTabs.java
124
public void addTab(TabHost.
TabSpec
tabSpec
, Class<?> clss, Bundle args) {
125
tabSpec
.setContent(new DummyTabFactory(mActivity));
126
String tag =
tabSpec
.getTag();
141
mTabHost.addTab(
tabSpec
);
FragmentTabsPager.java
131
public void addTab(TabHost.
TabSpec
tabSpec
, Class<?> clss, Bundle args) {
132
tabSpec
.setContent(new DummyTabFactory(mContext));
133
String tag =
tabSpec
.getTag();
137
mTabHost.addTab(
tabSpec
);
/frameworks/base/core/java/android/widget/
TabHost.java
53
private List<
TabSpec
> mTabSpecs = new ArrayList<
TabSpec
>(2);
103
* Get a new {@link
TabSpec
} associated with this tab host.
106
public
TabSpec
newTabSpec(String tag) {
107
return new
TabSpec
(tag);
171
* If you are using {@link
TabSpec
#setContent(android.content.Intent)}, this
212
* @param
tabSpec
Specifies how to create the indicator and content.
214
public void addTab(
TabSpec
tabSpec
) {
216
if (
tabSpec
.mIndicatorStrategy == null)
[
all
...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderSessionImpl.java
86
import android.widget.TabHost.
TabSpec
;
[
all
...]
/prebuilt/sdk/12/
android.jar
/prebuilt/sdk/14/
android.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
Completed in 95 milliseconds