/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completion1-expected-completion11.txt | 44 <TabHost ></TabHost>
|
completion1-expected-completion12.txt | 44 <TabHost ></TabHost>
|
completion9-expected-completion64.txt | 44 <TabHost ></TabHost>
|
/cts/tests/app/src/android/app/cts/ |
TabActivityTest.java | 29 import android.widget.TabHost; 80 final TabHost tabHost = mActivity.getTabHost(); 81 assertNotNull(tabHost); 82 assertNotNull(tabHost.getTabWidget());
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelperEclair.java | 25 import android.widget.TabHost; 26 import android.widget.TabHost.TabSpec; 42 public class TabHelperEclair extends TabHelper implements TabHost.OnTabChangeListener { 45 private TabHost mTabHost; 57 mTabHost = (TabHost) mActivity.findViewById(android.R.id.tabhost); 140 static class DummyTabFactory implements TabHost.TabContentFactory {
|
/frameworks/base/docs/html/training/backward-compatible-ui/ |
older-implementation.jd | 64 <p>To create an older implementation of action bar tabs, you can use a {@link android.widget.TabWidget} and {@link android.widget.TabHost} (although one can alternatively use horizontally laid-out {@link android.widget.Button} widgets). Implement this in classes called <code>TabHelperEclair</code> and <code>CompatTabEclair</code>, since this implementation uses APIs introduced no later than Android 2.0 (Eclair).</p> 94 {@link android.widget.TabHost} widget for creating {@link android.widget.TabHost.TabSpec} 99 private TabHost mTabHost; 105 // must contain a TabHost. 106 mTabHost = (TabHost) mActivity.findViewById( 107 android.R.id.tabhost);
|
using-component.jd | 64 <p>The next step is to provide layouts for your activity that can support the two tab implementations. For the older implementation (<code>TabHelperEclair</code>), you need to ensure that your activity layout contains a {@link android.widget.TabWidget} and {@link android.widget.TabHost}, along with a container for tab contents:</p> 70 <TabHost xmlns:android="http://schemas.android.com/apk/res/android" 71 android:id="@android:id/tabhost" 93 </TabHost>
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TabHostRule.java | 36 * An {@link IViewRule} for android.widget.TabHost. 39 // The TabHost layout states in its documentation that you typically 40 // manipulate its children via the TabHost rather than directly manipulating 52 node.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabhost"); //$NON-NLS-1$
|
TabWidgetRule.java | 26 // are supposed to be manipulated by their parent TabHost.
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentTabs.java | 27 * TabHost through fragments, using FragmentTabHost. 37 mTabHost = (FragmentTabHost)findViewById(android.R.id.tabhost);
|
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentTabHost.java | 31 import android.widget.TabHost; 35 * Special TabHost that allows the use of {@link Fragment} objects for 50 public class FragmentTabHost extends TabHost 51 implements TabHost.OnTabChangeListener { 57 private TabHost.OnTabChangeListener mOnTabChangeListener; 74 static class DummyTabFactory implements TabHost.TabContentFactory { 177 * @deprecated Don't call the original TabHost setup, you must instead 207 setId(android.R.id.tabhost); 226 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TabHost_TabSpecTest.java | 35 import android.widget.TabHost; 37 import android.widget.TabHost.TabSpec; 45 private TabHost mTabHost; 200 private class MockTabContentFactoryText implements TabHost.TabContentFactory { 208 private class MockTabContentFactoryList implements TabHost.TabContentFactory {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FocusHelper.java | 24 import android.widget.TabHost; 73 * Private helper to get the parent TabHost in the view hiearchy. 75 private static TabHost findTabHostParent(View v) { 77 while (p != null && !(p instanceof TabHost)) { 80 return (TabHost) p; 87 final TabHost tabHost = findTabHostParent(v); 88 final ViewGroup contents = tabHost.getTabContentView(); 89 final View shop = tabHost.findViewById(R.id.market_button); 138 final TabHost tabHost = findTabHostParent(container) [all...] |
/frameworks/support/v13/api/ |
current.txt | 32 public class FragmentTabHost extends android.widget.TabHost implements android.widget.TabHost.OnTabChangeListener { 35 method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
|
/prebuilts/sdk/current/support/v13/src/api/ |
current.txt | 32 public class FragmentTabHost extends android.widget.TabHost implements android.widget.TabHost.OnTabChangeListener { 35 method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
|
/frameworks/support/v13/java/android/support/v13/app/ |
FragmentTabHost.java | 34 import android.widget.TabHost; 42 public class FragmentTabHost extends TabHost 43 implements TabHost.OnTabChangeListener { 49 private TabHost.OnTabChangeListener mOnTabChangeListener; 66 static class DummyTabFactory implements TabHost.TabContentFactory { 169 * @deprecated Don't call the original TabHost setup, you must instead 199 setId(android.R.id.tabhost); 218 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) {
|
/packages/inputmethods/LatinIME/java/res/layout/ |
emoji_palettes_view.xml | 35 <TabHost 51 <!-- Empty placeholder that TabHost requires. But we don't use it to actually 53 Similarly the ViewPager swipes are intercepted and passed to the TabHost. --> 60 </TabHost>
|
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 40 * The container object for this widget is {@link android.widget.TabHost TabHost}. 42 * container, TabHost, to tell it to switch the displayed page. You typically 43 * won't use many methods directly on this object. The container TabHost is 46 * of the tab list, but most methods should be called on the containing TabHost 59 // This value will be set to 0 as soon as the first tab is added to TabHost. 330 * view for the tab indicators, then the TabHost class calls this method 511 * Provides a way for {@link TabHost} to be notified that the user clicked 537 * Lets {@link TabHost} know that the user clicked on a tab indicator. 541 * Informs the TabHost which tab was selected. It also indicate [all...] |
TabHost.java | 46 public class TabHost extends FrameLayout implements ViewTreeObserver.OnTouchModeChangeListener { 71 public TabHost(Context context) { 76 public TabHost(Context context, AttributeSet attrs) { 80 public TabHost(Context context, AttributeSet attrs, int defStyleAttr) { 84 public TabHost(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 121 * <p>Call setup() before adding tabs if loading TabHost using findViewById(). 125 <pre>mTabHost = (TabHost)findViewById(R.id.tabhost); 133 "Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs'"); 168 "Your TabHost must have a FrameLayout whose id attribute is [all...] |
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
MainActivity.java | 58 import android.widget.TabHost; 59 import android.widget.TabHost.OnTabChangeListener; 60 import android.widget.TabHost.TabSpec; 263 TabHost tabHost = (TabHost) findViewById(R.id.tabHost); 264 tabHost.setup(); 266 TabSpec spec1 = tabHost.newTabSpec(tabName); 271 TabSpec spec2 = tabHost.newTabSpec(tabName) [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
MainActivity.java | 58 import android.widget.TabHost; 59 import android.widget.TabHost.OnTabChangeListener; 60 import android.widget.TabHost.TabSpec; 263 TabHost tabHost = (TabHost) findViewById(R.id.tabHost); 264 tabHost.setup(); 266 TabSpec spec1 = tabHost.newTabSpec(tabName); 271 TabSpec spec2 = tabHost.newTabSpec(tabName) [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SampleMediaRouterActivity.java | 59 import android.widget.TabHost; 60 import android.widget.TabHost.OnTabChangeListener; 61 import android.widget.TabHost.TabSpec; 246 TabHost tabHost=(TabHost)findViewById(R.id.tabHost); 247 tabHost.setup(); 249 TabSpec spec1=tabHost.newTabSpec(tabName); 254 TabSpec spec2=tabHost.newTabSpec(tabName) [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
MainActivity.java | 58 import android.widget.TabHost; 59 import android.widget.TabHost.OnTabChangeListener; 60 import android.widget.TabHost.TabSpec; 263 TabHost tabHost = (TabHost) findViewById(R.id.tabHost); 264 tabHost.setup(); 266 TabSpec spec1 = tabHost.newTabSpec(tabName); 271 TabSpec spec2 = tabHost.newTabSpec(tabName) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderSessionImpl.java | 89 import android.widget.TabHost; 90 import android.widget.TabHost.TabSpec; 328 // post-inflate process. For now this supports TabHost/TabWidget [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
rendering-configs.xml | 320 <TabHost 321 android:id="@android:id/tabhost" 355 </TabHost> 356 <TabHost 357 android:id="@android:id/tabhost" 381 </TabHost>
|