Home
last modified time | relevance | path

Searched refs:tab (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DTabModel.java114 void setSelectedTab(Tab tab) { in setSelectedTab() argument
116 if (oldSelectedTab != tab) { in setSelectedTab()
117 mSelectedTab = tab; in setSelectedTab()
118 TabDAO.setSelectedTab(mPrefs, tab); in setSelectedTab()
122 tl.selectedTabChanged(oldSelectedTab, tab); in setSelectedTab()
126 final boolean tabScrolledToTop = isTabScrolledToTop(tab); in setSelectedTab()
129 tsl.selectedTabScrollToTopChanged(tab, tabScrolledToTop); in setSelectedTab()
159 void setTabScrolledToTop(Tab tab, boolean scrolledToTop) { in setTabScrolledToTop() argument
160 if (isTabScrolledToTop(tab) != scrolledToTop) { in setTabScrolledToTop()
161 mTabScrolledToTop[tab.ordinal()] = scrolledToTop; in setTabScrolledToTop()
[all …]
DUiDataModel.java270 public void setSelectedTab(Tab tab) { in setSelectedTab() argument
272 mTabModel.setSelectedTab(tab); in setSelectedTab()
297 public void setTabScrolledToTop(Tab tab, boolean scrolledToTop) { in setTabScrolledToTop() argument
299 mTabModel.setTabScrolledToTop(tab, scrolledToTop); in setTabScrolledToTop()
DTabDAO.java44 static void setSelectedTab(SharedPreferences prefs, Tab tab) { in setSelectedTab() argument
45 prefs.edit().putInt(KEY_SELECTED_TAB, tab.ordinal()).apply(); in setSelectedTab()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java173 final TabLayout.Tab tab = mTabLayout.newTab() in onCreate() local
179 tab.setText(labelResId); in onCreate()
180 tab.setCustomView(R.layout.tab_item); in onCreate()
183 final TextView text = (TextView) tab.getCustomView() in onCreate()
188 final Drawable icon = tab.getIcon(); in onCreate()
191 tab.setIcon(null); in onCreate()
198 mTabLayout.addTab(tab); in onCreate()
292 public void onTabSelected(TabLayout.Tab tab) { in onCreate()
293 UiDataModel.getUiDataModel().setSelectedTab((UiDataModel.Tab) tab.getTag()); in onCreate()
297 public void onTabUnselected(TabLayout.Tab tab) { in onCreate()
[all …]
DFragmentTabPagerAdapter.java72 final UiDataModel.Tab tab = UiDataModel.getUiDataModel().getTabAt(position); in getDeskClockFragment() local
75 DeskClockFragment fragment = mFragmentCache.get(tab); in getDeskClockFragment()
83 fragment = (DeskClockFragment) mFragmentManager.findFragmentByTag(tab.name()); in getDeskClockFragment()
86 mFragmentCache.put(tab, fragment); in getDeskClockFragment()
91 final String fragmentClassName = tab.getFragmentClassName(); in getDeskClockFragment()
94 mFragmentCache.put(tab, fragment); in getDeskClockFragment()
112 final UiDataModel.Tab tab = UiDataModel.getUiDataModel().getTabAt(position); in instantiateItem() local
113 Fragment fragment = mFragmentManager.findFragmentByTag(tab.name()); in instantiateItem()
118 mCurrentTransaction.add(container.getId(), fragment, tab.name()); in instantiateItem()
DDeskClockFragment.java37 public DeskClockFragment(Tab tab) { in DeskClockFragment() argument
38 mTab = tab; in DeskClockFragment()
/packages/apps/Gallery2/src/com/android/photos/
DGalleryActivity.java121 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() argument
123 tab.setTag(info); in addTab()
124 tab.setTabListener(this); in addTab()
126 mActionBar.addTab(tab); in addTab()
163 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
164 Object tag = tab.getTag(); in onTabSelected()
173 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
177 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DTabsAdapter.java141 View tab = widget.getChildTabViewAt(position); in onPageSelected() local
142 mTempRect.set(tab.getLeft(), tab.getTop(), tab.getRight(), tab.getBottom()); in onPageSelected()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java266 private void addTab(Tab tab) { in addTab() argument
267 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) in addTab()
268 .setIndicator(getActivity().getString(tab.mLabel)) in addTab()
269 .setContent(tab.mView); in addTab()
272 final GroupAdapter groupAdapter = new GroupAdapter(tab); in addTab()
277 final ViewGroup contentView = (ViewGroup) mTabHost.findViewById(tab.mContentView); in addTab()
324 private GroupAdapter(Tab tab) { in GroupAdapter() argument
325 mData = new AdapterData(tab, this); in GroupAdapter()
652 private AdapterData(Tab tab, GroupAdapter adapter) { in AdapterData() argument
654 mTab = tab; in AdapterData()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java1249 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
1251 if (tab == mDayTab && mCurrentView != ViewType.DAY) { in onTabSelected()
1253 } else if (tab == mWeekTab && mCurrentView != ViewType.WEEK) { in onTabSelected()
1255 } else if (tab == mMonthTab && mCurrentView != ViewType.MONTH) { in onTabSelected()
1257 } else if (tab == mAgendaTab && mCurrentView != ViewType.AGENDA) { in onTabSelected()
1261 + (tab == null ? "null" : tab.getText())); in onTabSelected()
1262 Log.w(TAG, "CurrentView:" + mCurrentView + " Tab:" + tab.toString() + " Day:" + mDayTab in onTabSelected()
1268 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
1272 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
/packages/apps/Launcher2/src/com/android/launcher2/
DFocusOnlyTabWidget.java59 View tab = null; in setCurrentTabToFocusedTab() local
65 tab = v; in setCurrentTabToFocusedTab()
72 super.onFocusChange(tab, true); in setCurrentTabToFocusedTab()
/packages/apps/Dialer/java/com/android/dialer/logging/
Dscreen_event.proto19 // The tab containing the list of voicemails only.
22 // The tab containing the list of all contacts.
Ddialer_impression.proto142 // Voicemail status has updated in the voicemail tab and the change PIN
146 // User has clicked the change PIN action in the voicemail tab
168 // User deleted an entry from the voicemail tab
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java1530 private void updateTabStatus(TextView tab, boolean enabled, boolean selected) { in updateTabStatus() argument
1531 tab.setVisibility(View.VISIBLE); in updateTabStatus()
1532 tab.setEnabled(enabled); in updateTabStatus()
1547 tab.setBackgroundResource(backgroundId); in updateTabStatus()
1548 tab.setTextColor(mWnn.getResources().getColor(colorId)); in updateTabStatus()
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java329 public static Intent getShowTabIntent(Context context, int tab) { in getShowTabIntent() argument
332 intent.putExtra(DialtactsActivity.EXTRA_SHOW_TAB, tab); in getShowTabIntent()
338 .appendQueryParameter(DialtactsActivity.EXTRA_SHOW_TAB, String.valueOf(tab)) in getShowTabIntent()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in225 # The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
1412 # the same information as the tab index, you could consider setting
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile180 # The TAB_SIZE tag can be used to set the number of spaces in a tab.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile180 # The TAB_SIZE tag can be used to set the number of spaces in a tab.
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12