HomeSort by relevance Sort by last modified time
    Searched refs:Tab (Results 1 - 25 of 42) sorted by null

1 2

  /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
CompatActionBarNavHandler.java 20 import android.app.ActionBar.Tab;
49 * Called by framework when a tab is selected.
54 public void onTabSelected(Tab tab, FragmentTransaction ft) {
56 mNavListener.onCategorySelected(tab.getPosition());
72 * Called by framework when a tab is re-selected. That is, it was already selected and is
76 public void onTabReselected(Tab tab, FragmentTransaction ft) {
81 * Called by framework when a tab is unselected. Not used in our app.
84 public void onTabUnselected(Tab tab, FragmentTransaction ft)
    [all...]
  /cts/tests/app/src/android/app/cts/
ActionBarTest.java 19 import android.app.ActionBar.Tab;
56 Tab t1 = createTab("Tab 1");
62 Tab t2 = createTab("Tab 2");
68 Tab t3 = createTab("Tab 3");
74 Tab t4 = createTab("Tab 2.5");
80 Tab t5 = createTab("Tab 0.5")
    [all...]
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
CompatTabHoneycomb.java 20 import android.app.ActionBar.Tab;
32 * The native tab object that this {@link CompatTab} acts as a proxy for.
34 ActionBar.Tab mTab;
83 public void onTabReselected(Tab tab, android.app.FragmentTransaction f) {
91 public void onTabSelected(Tab tab, android.app.FragmentTransaction f) {
99 public void onTabUnselected(Tab arg0, android.app.FragmentTransaction f) {
TabHelperHoneycomb.java 46 public void addTab(CompatTab tab) {
47 String tag = tab.getTag();
49 // Check to see if we already have a fragment for this tab, probably
51 // initial state is that a tab isn't shown.
54 tab.setFragment(fragment);
62 if (tab.getCallback() == null) {
66 // We know tab is a CompatTabHoneycomb instance, so its
67 // native tab object is an ActionBar.Tab.
68 mActionBar.addTab((ActionBar.Tab) tab.getTab())
    [all...]
  /developers/build/prebuilts/gradle/ActionBarCompat-Styled/Application/src/main/java/com/example/android/actionbarcompat/styled/
MainActivity.java 50 ab.addTab(ab.newTab().setText("Tab 1").setTabListener(this));
51 ab.addTab(ab.newTab().setText("Tab 2").setTabListener(this));
52 ab.addTab(ab.newTab().setText("Tab 3").setTabListener(this));
65 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
66 // This is called when a tab is selected.
71 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
72 // This is called when a previously selected tab is unselected.
77 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction)
    [all...]
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-Styled/Application/src/main/java/com/example/android/actionbarcompat/styled/
MainActivity.java 50 ab.addTab(ab.newTab().setText("Tab 1").setTabListener(this));
51 ab.addTab(ab.newTab().setText("Tab 2").setTabListener(this));
52 ab.addTab(ab.newTab().setText("Tab 3").setTabListener(this));
65 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
66 // This is called when a tab is selected.
71 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
72 // This is called when a previously selected tab is unselected.
77 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction)
    [all...]
  /development/samples/browseable/ActionBarCompat-Styled/src/com.example.android.actionbarcompat.styled/
MainActivity.java 50 ab.addTab(ab.newTab().setText("Tab 1").setTabListener(this));
51 ab.addTab(ab.newTab().setText("Tab 2").setTabListener(this));
52 ab.addTab(ab.newTab().setText("Tab 3").setTabListener(this));
65 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
66 // This is called when a tab is selected.
71 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
72 // This is called when a previously selected tab is unselected.
77 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarTabs.java 21 import android.app.ActionBar.Tab;
47 final String text = "Tab " + tabCount;
80 * to it, it will be committed at the end of the full tab switch operation.
81 * This lets tab switches be atomic without the app needing to track
96 public void onTabSelected(Tab tab, FragmentTransaction ft) {
100 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
104 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
FragmentNestingTabs.java 20 import android.app.ActionBar.Tab;
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex());
87 // Check to see if we already have a fragment for this tab, probably
89 // initial state is that a tab isn't shown.
98 public void onTabSelected(Tab tab, FragmentTransaction ft) {
107 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
113 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
FragmentTabs.java 22 import android.app.ActionBar.Tab;
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex());
87 // Check to see if we already have a fragment for this tab, probably
89 // initial state is that a tab isn't shown.
98 public void onTabSelected(Tab tab, FragmentTransaction ft) {
107 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
113 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
ActionBarDisplayOptions.java 21 import android.app.ActionBar.Tab;
63 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this));
64 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this));
65 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this));
141 public void onTabSelected(Tab tab, FragmentTransaction ft) {
145 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
149 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
  /development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
ShortcutLauncherMain.java 19 import android.app.ActionBar.Tab;
67 public void onTabSelected(Tab tab, FragmentTransaction ft) {
68 mPager.setCurrentItem(tab.getPosition());
72 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
77 public void onTabReselected(Tab tab, FragmentTransaction ft) {
  /external/fec/
rstest.c 22 } Tab[] = {
53 for(i=0;Tab[i].symsize != 0;i++){
56 nn = (1<<Tab[i].symsize) - 1;
57 kk = nn - Tab[i].nroots;
59 if(Tab[i].symsize <= 8)
60 exercise_char(&Tab[i]);
62 exercise_int(&Tab[i]);
  /external/clang/unittests/Format/
FormatTest.cpp     [all...]
  /developers/build/prebuilts/gradle/HorizontalPaging/Application/src/main/java/com/example/android/horizontalpaging/
MainActivity.java 55 // state with the tab state. (See mViewPager.setOnPageChangeListener() and onTabSelected().)
71 // When swiping between different sections, select the corresponding tab. We can also use
72 // ActionBar.Tab#select() to do this if we have a reference to the Tab.
83 // For each of the sections in the app, add a tab to the action bar.
85 // Create a tab with text corresponding to the page title defined by the adapter. Also
87 // callback (listener) for when this tab is selected.
97 * Update {@link ViewPager} after a tab has been selected in the ActionBar.
99 * @param tab Tab that was selected
    [all...]
  /developers/samples/android/ui/views/HorizontalPaging/Application/src/main/java/com/example/android/horizontalpaging/
MainActivity.java 55 // state with the tab state. (See mViewPager.setOnPageChangeListener() and onTabSelected().)
71 // When swiping between different sections, select the corresponding tab. We can also use
72 // ActionBar.Tab#select() to do this if we have a reference to the Tab.
83 // For each of the sections in the app, add a tab to the action bar.
85 // Create a tab with text corresponding to the page title defined by the adapter. Also
87 // callback (listener) for when this tab is selected.
97 * Update {@link ViewPager} after a tab has been selected in the ActionBar.
99 * @param tab Tab that was selected
    [all...]
  /development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
MainActivity.java 55 // state with the tab state. (See mViewPager.setOnPageChangeListener() and onTabSelected().)
71 // When swiping between different sections, select the corresponding tab. We can also use
72 // ActionBar.Tab#select() to do this if we have a reference to the Tab.
83 // For each of the sections in the app, add a tab to the action bar.
85 // Create a tab with text corresponding to the page title defined by the adapter. Also
87 // callback (listener) for when this tab is selected.
97 * Update {@link ViewPager} after a tab has been selected in the ActionBar.
99 * @param tab Tab that was selected
    [all...]
  /development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
MainActivity.java 74 // When swiping between different app sections, select the corresponding tab.
75 // We can also use ActionBar.Tab#select() to do this if we have a reference to the
76 // Tab.
81 // For each of the sections in the app, add a tab to the action bar.
83 // Create a tab with text corresponding to the page title defined by the adapter.
85 // listener for when this tab is selected.
94 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
98 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ContentBrowserActivity.java 20 import android.app.ActionBar.Tab;
178 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this));
179 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this));
180 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this));
254 public void onTabSelected(Tab tab, FragmentTransaction ft) {
258 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
262 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
ContentBrowserNavActivity.java 20 import android.app.ActionBar.Tab;
180 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this));
181 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this));
182 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this));
256 public void onTabSelected(Tab tab, FragmentTransaction ft) {
260 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
264 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
VideoPlayerActivity.java 20 import android.app.ActionBar.Tab;
202 bar.addTab(bar.newTab().setText("Tab 1").setTabListener(this));
203 bar.addTab(bar.newTab().setText("Tab 2").setTabListener(this));
204 bar.addTab(bar.newTab().setText("Tab 3").setTabListener(this));
271 public void onTabSelected(Tab tab, FragmentTransaction ft) {
275 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
279 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
SystemUIModes.java 22 import android.app.ActionBar.Tab;
335 public void onTabSelected(Tab tab, FragmentTransaction ft) {
339 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
343 public void onTabReselected(Tab tab, FragmentTransaction ft) {
  /external/pdfium/third_party/lcms/src/
cmslut.c 500 if (Data ->Tab.T) {
503 NewElem ->Tab.TFloat = (cmsFloat32Number*) _cmsDupMem(mpe ->ContextID, Data ->Tab.TFloat, Data ->nEntries * sizeof (cmsFloat32Number));
504 if (NewElem ->Tab.TFloat == NULL)
507 NewElem ->Tab.T = (cmsUInt16Number*) _cmsDupMem(mpe ->ContextID, Data ->Tab.T, Data ->nEntries * sizeof (cmsUInt16Number));
508 if (NewElem ->Tab.T == NULL)
517 NewElem ->Tab.T,
522 if (NewElem->Tab.T)
524 _cmsFree(mpe ->ContextID, NewElem -> Tab.T)
    [all...]
cmsvirt.c 1019 cmsBool CheckOne(const cmsAllowedLUT* Tab, const cmsPipeline* Lut)
1026 if (n > Tab ->nTypes) return FALSE;
1027 if (cmsStageType(mpe) != Tab ->MpeTypes[n]) return FALSE;
1030 return (n == Tab ->nTypes);
1041 const cmsAllowedLUT* Tab = AllowedLUTTypes + n;
1043 if (IsV4 ^ Tab -> IsV4) continue;
1044 if ((Tab ->RequiredTag != 0) && (Tab ->RequiredTag != DestinationTag)) continue;
1046 if (CheckOne(Tab, Lut)) return Tab;
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
TitlesFragment.java 237 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) {
240 titleFrag.populateTitles(tab.getPosition());
249 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft) {
252 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) {

Completed in 1064 milliseconds

1 2