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

1 2 3

  /packages/apps/DeskClock/src/com/android/deskclock/uidata/
TabListener.java 24 public interface TabListener {
TabModel.java 38 private final List<TabListener> mTabListeners = new ArrayList<>();
59 * @param tabListener to be notified when the selected tab changes
61 void addTabListener(TabListener tabListener) {
62 mTabListeners.add(tabListener);
66 * @param tabListener to no longer be notified when the selected tab changes
68 void removeTabListener(TabListener tabListener) {
69 mTabListeners.remove(tabListener);
121 for (TabListener tl : mTabListeners)
    [all...]
UiDataModel.java 218 * @param tabListener to be notified when the selected tab changes
220 public void addTabListener(TabListener tabListener) {
222 mTabModel.addTabListener(tabListener);
226 * @param tabListener to no longer be notified when the selected tab changes
228 public void removeTabListener(TabListener tabListener) {
230 mTabModel.removeTabListener(tabListener);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentNestingTabs.java 44 .setTabListener(new TabListener<FragmentMenuFragment>(
48 .setTabListener(new TabListener<FragmentArgumentsFragment>(
52 .setTabListener(new TabListener<FragmentStackFragment>(
56 .setTabListener(new TabListener<FragmentTabsFragment>(
70 public static class TabListener<T extends Fragment> implements ActionBar.TabListener {
77 public TabListener(Activity activity, String tag, Class<T> clz) {
81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) {
FragmentTabs.java 44 .setTabListener(new TabListener<FragmentStack.CountingFragment>(
48 .setTabListener(new TabListener<LoaderCursor.CursorLoaderListFragment>(
52 .setTabListener(new TabListener<LoaderCustom.AppListFragment>(
56 .setTabListener(new TabListener<LoaderThrottle.ThrottledLoaderListFragment>(
70 public static class TabListener<T extends Fragment> implements ActionBar.TabListener {
77 public TabListener(Activity activity, String tag, Class<T> clz) {
81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) {
ActionBarTabs.java 50 .setTabListener(new TabListener(new TabContentFragment(text))));
77 * A TabListener receives event callbacks from the action bar as tabs
89 private class TabListener implements ActionBar.TabListener {
92 public TabListener(TabContentFragment fragment) {
  /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
CompatActionBarNavHandler.java 21 import android.app.ActionBar.TabListener;
28 * An instance of this class must be installed as a TabListener or OnNavigationListener on an
35 public class CompatActionBarNavHandler implements TabListener, OnNavigationListener {
  /development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
ShortcutLauncherMain.java 20 import android.app.ActionBar.TabListener;
65 private TabListener mTabListener = new TabListener() {
  /developers/build/prebuilts/gradle/ActionBarCompat-Styled/Application/src/main/java/com/example/android/actionbarcompat/styled/
MainActivity.java 38 public class MainActivity extends AppCompatActivity implements ActionBar.TabListener {
63 // Implemented from ActionBar.TabListener
69 // Implemented from ActionBar.TabListener
75 // Implemented from ActionBar.TabListener
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-Styled/Application/src/main/java/com/example/android/actionbarcompat/styled/
MainActivity.java 38 public class MainActivity extends AppCompatActivity implements ActionBar.TabListener {
63 // Implemented from ActionBar.TabListener
69 // Implemented from ActionBar.TabListener
75 // Implemented from ActionBar.TabListener
  /development/samples/browseable/ActionBarCompat-Styled/src/com.example.android.actionbarcompat.styled/
MainActivity.java 38 public class MainActivity extends ActionBarActivity implements ActionBar.TabListener {
63 // Implemented from ActionBar.TabListener
69 // Implemented from ActionBar.TabListener
75 // Implemented from ActionBar.TabListener
  /cts/tests/app/src/android/app/cts/
ActionBarTest.java 20 import android.app.ActionBar.TabListener;
120 static class TestTabListener implements TabListener {
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
CompatTabHoneycomb.java 29 public class CompatTabHoneycomb extends CompatTab implements ActionBar.TabListener {
  /developers/build/prebuilts/gradle/HorizontalPaging/Application/src/main/java/com/example/android/horizontalpaging/
MainActivity.java 18 public class MainActivity extends FragmentActivity implements ActionBar.TabListener {
86 // specify this Activity object, which implements the TabListener interface, as the
113 * Unused. Required for {@link android.app.ActionBar.TabListener}.
120 * Unused. Required for {@link android.app.ActionBar.TabListener}.
  /developers/samples/android/ui/views/HorizontalPaging/Application/src/main/java/com/example/android/horizontalpaging/
MainActivity.java 18 public class MainActivity extends FragmentActivity implements ActionBar.TabListener {
86 // specify this Activity object, which implements the TabListener interface, as the
113 * Unused. Required for {@link android.app.ActionBar.TabListener}.
120 * Unused. Required for {@link android.app.ActionBar.TabListener}.
  /development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
MainActivity.java 18 public class MainActivity extends FragmentActivity implements ActionBar.TabListener {
86 // specify this Activity object, which implements the TabListener interface, as the
113 * Unused. Required for {@link android.app.ActionBar.TabListener}.
120 * Unused. Required for {@link android.app.ActionBar.TabListener}.
  /development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
MainActivity.java 33 public class MainActivity extends FragmentActivity implements ActionBar.TabListener {
84 // Also specify this Activity object, which implements the TabListener interface, as the
  /frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
FragmentNestingPagerSupport.java 82 implements ActionBar.TabListener, ViewPager.OnPageChangeListener {
FragmentNestingStatePagerSupport.java 82 implements ActionBar.TabListener, ViewPager.OnPageChangeListener {
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarDisplayOptions.java 35 implements View.OnClickListener, ActionBar.TabListener {
  /packages/apps/Gallery2/src/com/android/photos/
GalleryActivity.java 94 ActionBar.TabListener, ViewPager.OnPageChangeListener {
  /frameworks/base/core/java/android/app/
ActionBar.java     [all...]
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
FrameworkActionBarWrapper.java 36 import android.app.ActionBar.TabListener;
349 Tab tab = mActionBar.newTab().setText("Tab" + i).setTabListener(new TabListener() {
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
ActionBar.java     [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
DeskClock.java 52 import com.android.deskclock.uidata.TabListener;
91 private final TabListener mTabChangeWatcher = new TabChangeWatcher();
647 private final class TabChangeWatcher implements TabListener {

Completed in 2002 milliseconds

1 2 3