[go: nahoru, domu]

Searched refs:tab (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
H A DDataBinderWriter.kt24 tab("final static int TARGET_MIN_SDK = $minSdk;")
26 tab("public $className() {") {
28 tab("}")
30 tab("public android.databinding.ViewDataBinding getDataBinder(android.databinding.DataBindingComponent bindingComponent, android.view.View view, int layoutId) {") {
31 tab("switch(layoutId) {") {
34 tab("case ${firstVal.modulePackage}.R.layout.${firstVal.layoutname}:") {
37 tab("return new ${firstVal.`package`}.${firstVal.implementationName}(bindingComponent, new android.view.View[]{view});")
39 tab("return ${firstVal.`package`}.${firstVal.implementationName}.bind(view, bindingComponent);")
43 tab("{") {
44 tab("fina
[all...]
H A DLayoutBinderWriter.kt307 tab(declareIncludeViews())
308 tab(declareViews())
309 tab(declareVariables())
310 tab(declareBoundValues())
311 tab(declareListeners())
312 tab(declareInverseBindingImpls());
313 tab(declareConstructor(minSdk))
314 tab(declareInvalidateAll())
315 tab(declareHasPendingBindings())
316 tab(declareSetVariabl
[all...]
H A DBRWriter.kt28 tab("public static ${prefix}int _all = 0;")
30 tab ("public static ${prefix}int ${it.value} = ${it.index + 1};")
H A DKCode.kt48 fun tab(vararg codes : KCode?) : KCode {
49 codes.forEach { tab(it) }
53 fun tab(codes : Collection<KCode?> ) : KCode {
54 codes.forEach { tab(it) }
58 infix fun tab(s : String?, init : (KCode.() -> Unit)? = null) : KCode {
63 return tab(c)
66 fun tab(c : KCode?) : KCode {
/frameworks/support/design/tests/src/android/support/design/widget/
H A DTabLayoutTest.java52 TabLayout.Tab tab = tabLayout.getTabAt(0);
54 tab.getText());
55 assertNull(tab.getIcon());
56 assertNull(tab.getCustomView());
59 tab = tabLayout.getTabAt(1);
60 assertNull(tab.getText());
61 assertNotNull(tab.getIcon());
62 assertNull(tab.getCustomView());
65 tab = tabLayout.getTabAt(2);
66 assertNull(tab
[all...]
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DMediaDump.java39 TabHost tab = getTabHost();
41 // Setup video dumping tab
42 TabHost.TabSpec videoDumpTab = tab.newTabSpec("VideoDump");
48 tab.addTab(videoDumpTab);
50 // Setup rgb player tab
51 TabHost.TabSpec rgbPlayerTab = tab.newTabSpec("RgbPlayer");
57 tab.addTab(rgbPlayerTab);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp842 const VLCtab2 *tab; local
847 /* if(GetTcoeffIntra(code,pTcoef,&tab,stream)!=PV_SUCCESS) return status;*/
850 tab = &PV_DCT3Dtab3[(code >> 6) - 16];
856 tab = &PV_DCT3Dtab4[(code >> 3) - 32];
862 tab = &PV_DCT3Dtab5[(code>>1) - 8];
871 PV_BitstreamFlushBits(stream, tab->len + 1);
872 pTcoef->sign = (code >> (12 - tab->len)) & 1;
873 pTcoef->run = (uint) tab->run; //(tab->val >> 8) & 255;
874 pTcoef->level = (int) tab
1025 const VLCtab2 *tab; local
1204 const VLCtab2 *tab; local
1264 const VLCtab2 *tab; local
1319 const VLCtab2 *tab; local
1392 const VLCtab2 *tab; local
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java49 * Equivalently, selecting a tab will result in a call to
51 * the tab will result in whichHandle being {@link OnTriggerListener#NO_HANDLE}.
113 * Interface definition for a callback to be invoked when a tab is triggered
159 * {@link #tab} is the tab shown on the screen in the default state.
160 * {@link #text} is the view revealed as the user slides the tab out.
166 * Tab alignment - determines which side the tab should be drawn on
181 private final ImageView tab; field in class:SlidingTab.Slider
192 * @param tabId drawable for the tab
197 // Create tab
[all...]
H A DScrollingTabContainerView.java46 * This widget implements the dynamic action bar tab behavior that can change
124 // Recenter the tab display if we're at a new (scrollable) size.
280 private TabView createTabView(Context context, ActionBar.Tab tab, boolean forAdapter) { argument
281 final TabView tabView = new TabView(context, tab, forAdapter);
297 public void addTab(ActionBar.Tab tab, boolean setSelected) { argument
298 TabView tabView = createTabView(mContext, tab, false);
312 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { argument
313 final TabView tabView = createTabView(mContext, tab, false);
369 public TabView(Context context, ActionBar.Tab tab, boolean forList) { argument
371 mTab = tab;
380 bindTab(ActionBar.Tab tab) argument
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTabHostBindingAdapter.java37 public static void setCurrentTab(TabHost view, int tab) { argument
38 if (view.getCurrentTab() != tab) {
39 view.setCurrentTab(tab);
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java78 * change the tab's label or icon via {@link Tab#setText(int)} and {@link Tab#setIcon(int)}
79 * respectively. To display the tab, you need to add it to the layout via one of the
88 * notified when any tab's selection state has been changed.
159 * Scrollable tabs display a subset of tabs at any given moment, and can contain longer tab
161 * interfaces when users don’t need to directly compare the tab labels.
171 * Fixed tabs have equal width, based on the widest tab label.
210 * Callback interface invoked when a tab's selection state changes.
215 * Called when a tab enters the selected state.
217 * @param tab The tab tha
219 onTabSelected(Tab tab) argument
226 onTabUnselected(Tab tab) argument
234 onTabReselected(Tab tab) argument
436 addTab(@onNull Tab tab) argument
447 addTab(@onNull Tab tab, int position) argument
457 addTab(@onNull Tab tab, boolean setSelected) argument
476 addTab(@onNull Tab tab, int position, boolean setSelected) argument
599 removeTab(Tab tab) argument
923 createTabView(@onNull final Tab tab) argument
934 configureTab(Tab tab, int position) argument
944 addTabView(Tab tab, boolean setSelected) argument
952 addTabView(Tab tab, int position, boolean setSelected) argument
1123 selectTab(Tab tab) argument
1127 selectTab(final Tab tab, boolean updateIndicator) argument
1155 dispatchTabSelected(@onNull final Tab tab) argument
1161 dispatchTabUnselected(@onNull final Tab tab) argument
1167 dispatchTabReselected(@onNull final Tab tab) argument
1629 setTab(@ullable final Tab tab) argument
2167 onTabSelected(TabLayout.Tab tab) argument
2172 onTabUnselected(TabLayout.Tab tab) argument
2177 onTabReselected(TabLayout.Tab tab) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java605 * This tab will not be included in the action bar until it is added.
626 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
627 * If this is the first tab to be added it will become the selected tab.
629 * @param tab Tab to add
637 public abstract void addTab(Tab tab); argument
640 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
642 * @param tab Ta
651 addTab(Tab tab, boolean setSelected) argument
667 addTab(Tab tab, int position) argument
683 addTab(Tab tab, int position, boolean setSelected) argument
697 removeTab(Tab tab) argument
737 selectTab(Tab tab) argument
1321 onTabSelected(Tab tab, FragmentTransaction ft) argument
1332 onTabUnselected(Tab tab, FragmentTransaction ft) argument
1343 onTabReselected(Tab tab, FragmentTransaction ft) argument
[all...]
H A DWindowDecorActionBar.java261 // Switch tab layout configuration if needed
520 private void configureTab(Tab tab, int position) { argument
521 final TabImpl tabi = (TabImpl) tab;
538 public void addTab(Tab tab) { argument
539 addTab(tab, mTabs.isEmpty());
543 public void addTab(Tab tab, int position) { argument
544 addTab(tab, position, mTabs.isEmpty());
548 public void addTab(Tab tab, boolean setSelected) { argument
550 mTabScrollView.addTab(tab, setSelected);
551 configureTab(tab, mTab
558 addTab(Tab tab, int position, boolean setSelected) argument
573 removeTab(Tab tab) argument
603 selectTab(Tab tab) argument
[all...]
H A DToolbarActionBar.java337 public void addTab(Tab tab) { argument
343 public void addTab(Tab tab, boolean setSelected) { argument
349 public void addTab(Tab tab, int position) { argument
355 public void addTab(Tab tab, int position, boolean setSelected) { argument
361 public void removeTab(Tab tab) { argument
379 public void selectTab(Tab tab) { argument
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentTabHost.java208 "No tab content FrameLayout found for id " + mContainerId);
226 // sure this tab's fragment is inactive if it exists. This shouldn't
250 TabInfo tab = mTabs.get(i);
251 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag);
252 if (tab.fragment != null && !tab.fragment.isDetached()) {
253 if (tab.tag.equals(currentTab)) {
254 // The fragment for this tab is already there and
256 // as the current tab
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentTabHost.java36 * its tab content. When placing this in a view hierarchy, after inflating
38 * to complete the initialization of the tab host.
216 "No tab content FrameLayout found for id " + mContainerId);
234 // sure this tab's fragment is inactive if it exists. This shouldn't
258 TabInfo tab = mTabs.get(i);
259 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag);
260 if (tab.fragment != null && !tab.fragment.isDetached()) {
261 if (tab
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DScrollingTabContainerView.java49 * This widget implements the dynamic action bar tab behavior that can change across different
131 // Recenter the tab display if we're at a new (scrollable) size.
288 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { argument
289 final TabView tabView = new TabView(getContext(), tab, forAdapter);
305 public void addTab(ActionBar.Tab tab, boolean setSelected) { argument
306 TabView tabView = createTabView(tab, false);
320 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { argument
321 final TabView tabView = createTabView(tab, false);
386 public TabView(Context context, ActionBar.Tab tab, boolean forList) { argument
388 mTab = tab;
404 bindTab(ActionBar.Tab tab) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DWindowDecorActionBar.java269 // Switch tab layout configuration if needed
529 private void configureTab(Tab tab, int position) { argument
530 final TabImpl tabi = (TabImpl) tab;
547 public void addTab(Tab tab) { argument
548 addTab(tab, mTabs.isEmpty());
552 public void addTab(Tab tab, int position) { argument
553 addTab(tab, position, mTabs.isEmpty());
557 public void addTab(Tab tab, boolean setSelected) { argument
559 mTabScrollView.addTab(tab, setSelected);
560 configureTab(tab, mTab
567 addTab(Tab tab, int position, boolean setSelected) argument
582 removeTab(Tab tab) argument
612 selectTab(Tab tab) argument
[all...]
H A DToolbarActionBar.java331 public void addTab(Tab tab) { argument
337 public void addTab(Tab tab, boolean setSelected) { argument
343 public void addTab(Tab tab, int position) { argument
349 public void addTab(Tab tab, int position, boolean setSelected) { argument
355 public void removeTab(Tab tab) { argument
373 public void selectTab(Tab tab) { argument
/frameworks/base/services/print/java/com/android/server/print/
H A DUserState.java792 String tab = " ";
794 pw.append(prefix).append(tab).append("installed services:").println();
798 String installedServicePrefix = prefix + tab + tab;
804 pw.append(installedServicePrefix).append(tab).append("componentName=")
806 pw.append(installedServicePrefix).append(tab).append("settingsActivity=")
808 pw.append(installedServicePrefix).append(tab).append("addPrintersActivity=")
810 pw.append(installedServicePrefix).append(tab).append("avancedOptionsActivity=")
814 pw.append(prefix).append(tab).append("disabled services:").println();
816 String disabledServicePrefix = prefix + tab
[all...]
H A DRemotePrintService.java509 String tab = " ";
511 pw.append(prefix).append(tab).append("componentName=")
513 pw.append(prefix).append(tab).append("destroyed=")
515 pw.append(prefix).append(tab).append("bound=")
517 pw.append(prefix).append(tab).append("hasDicoverySession=")
519 pw.append(prefix).append(tab).append("hasActivePrintJobs=")
521 pw.append(prefix).append(tab).append("isDiscoveringPrinters=")
523 pw.append(prefix).append(tab).append("trackedPrinters=")
/frameworks/base/core/java/android/app/
H A DActionBar.java607 * This tab will not be included in the action bar until it is added.
627 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
628 * If this is the first tab to be added it will become the selected tab.
630 * @param tab Tab to add
637 public abstract void addTab(Tab tab); argument
640 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
642 * @param tab Ta
650 addTab(Tab tab, boolean setSelected) argument
665 addTab(Tab tab, int position) argument
680 addTab(Tab tab, int position, boolean setSelected) argument
693 removeTab(Tab tab) argument
730 selectTab(Tab tab) argument
1346 onTabSelected(Tab tab, FragmentTransaction ft) argument
1357 onTabUnselected(Tab tab, FragmentTransaction ft) argument
1368 onTabReselected(Tab tab, FragmentTransaction ft) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DTernaryExpr.java120 .tab(getIfTrue().toInverseCode(variable))
122 .tab(getIfFalse().toInverseCode(variable))
/frameworks/base/services/core/java/com/android/server/vr/
H A DVrManagerService.java321 String tab = " ";
326 pw.print(tab);
339 pw.print(tab);
349 pw.print(tab);
870 String tab = " ";
872 pw.print(tab);
877 pw.print(tab);
879 pw.print(tab);
882 pw.print(tab);
885 pw.print(tab);
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFrameworkActionBarWrapper.java349 Tab tab = mActionBar.newTab().setText("Tab" + i).setTabListener(new TabListener() {
363 mActionBar.addTab(tab);

Completed in 536 milliseconds

12