Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_decode.cpp842 const VLCtab2 *tab; in VlcDecTCOEFIntra() local
850 tab = &PV_DCT3Dtab3[(code >> 6) - 16]; in VlcDecTCOEFIntra()
856 tab = &PV_DCT3Dtab4[(code >> 3) - 32]; in VlcDecTCOEFIntra()
862 tab = &PV_DCT3Dtab5[(code>>1) - 8]; in VlcDecTCOEFIntra()
871 PV_BitstreamFlushBits(stream, tab->len + 1); in VlcDecTCOEFIntra()
872 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFIntra()
873 pTcoef->run = (uint) tab->run; //(tab->val >> 8) & 255; in VlcDecTCOEFIntra()
874 pTcoef->level = (int) tab->level; //tab->val & 255; in VlcDecTCOEFIntra()
875 pTcoef->last = (uint) tab->last; //(tab->val >> 16) & 1; in VlcDecTCOEFIntra()
879 if (tab->level != 0xFF) in VlcDecTCOEFIntra()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java175 private final ImageView tab; field in SlidingTab.Slider
192 tab = new ImageView(parent.getContext()); in Slider()
193 tab.setBackgroundResource(tabId); in Slider()
194 tab.setScaleType(ScaleType.CENTER); in Slider()
195 tab.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in Slider()
215 parent.addView(tab); in Slider()
220 tab.setImageResource(iconId); in setIcon()
224 tab.setBackgroundResource(tabId); in setTabBackgroundResource()
237 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
238 : alignment_value - tab.getLeft()) : 0; in hide()
[all …]
DScrollingTabContainerView.java280 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { in createTabView() argument
281 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView()
297 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab() argument
298 TabView tabView = createTabView(tab, false); in addTab()
312 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab() argument
313 final TabView tabView = createTabView(tab, false); in addTab()
369 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView() argument
371 mTab = tab; in TabView()
380 public void bindTab(ActionBar.Tab tab) { in bindTab() argument
381 mTab = tab; in bindTab()
[all …]
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DMediaDump.java39 TabHost tab = getTabHost(); in onCreate() local
42 TabHost.TabSpec videoDumpTab = tab.newTabSpec("VideoDump"); in onCreate()
48 tab.addTab(videoDumpTab); in onCreate()
51 TabHost.TabSpec rgbPlayerTab = tab.newTabSpec("RgbPlayer"); in onCreate()
57 tab.addTab(rgbPlayerTab); in onCreate()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarImplICS.java231 public void addTab(Tab tab) { in addTab() argument
232 mActionBar.addTab(((TabWrapper) tab).mWrappedTab); in addTab()
236 public void addTab(Tab tab, boolean setSelected) { in addTab() argument
237 mActionBar.addTab(((TabWrapper) tab).mWrappedTab, setSelected); in addTab()
241 public void addTab(Tab tab, int position) { in addTab() argument
242 mActionBar.addTab(((TabWrapper) tab).mWrappedTab, position); in addTab()
246 public void addTab(Tab tab, int position, boolean setSelected) { in addTab() argument
247 mActionBar.addTab(((TabWrapper) tab).mWrappedTab, position, setSelected); in addTab()
251 public void removeTab(Tab tab) { in removeTab() argument
252 mActionBar.removeTab(((TabWrapper) tab).mWrappedTab); in removeTab()
[all …]
DActionBar.java505 public abstract void addTab(Tab tab); in addTab() argument
513 public abstract void addTab(Tab tab, boolean setSelected); in addTab() argument
522 public abstract void addTab(Tab tab, int position); in addTab() argument
532 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab() argument
540 public abstract void removeTab(Tab tab); in removeTab() argument
562 public abstract void selectTab(Tab tab); in selectTab() argument
902 public void onTabSelected(Tab tab, FragmentTransaction ft); in onTabSelected() argument
913 public void onTabUnselected(Tab tab, FragmentTransaction ft); in onTabUnselected() argument
924 public void onTabReselected(Tab tab, FragmentTransaction ft); in onTabReselected() argument
DActionBarImplBase.java390 public void addTab(Tab tab) { in addTab() argument
391 addTab(tab, mTabs.isEmpty()); in addTab()
395 public void addTab(Tab tab, boolean setSelected) { in addTab() argument
397 mTabScrollView.addTab(tab, setSelected); in addTab()
398 configureTab(tab, mTabs.size()); in addTab()
400 selectTab(tab); in addTab()
405 public void addTab(Tab tab, int position) { in addTab() argument
406 addTab(tab, position, mTabs.isEmpty()); in addTab()
410 public void addTab(Tab tab, int position, boolean setSelected) { in addTab() argument
412 mTabScrollView.addTab(tab, position, setSelected); in addTab()
[all …]
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/
DM4MP4W_Utils.h67 void M4MP4W_table32ToBE(M4OSA_UInt32* tab, M4OSA_UInt32 nb);
99 M4OSA_Void M4MP4W_put32_Hi(M4OSA_UInt32* tab, M4OSA_UInt16 Hi);
100 M4OSA_Void M4MP4W_put32_Lo(M4OSA_UInt32* tab, M4OSA_UInt16 Lo);
101 M4OSA_UInt16 M4MP4W_get32_Hi(M4OSA_UInt32* tab);
102 M4OSA_UInt16 M4MP4W_get32_Lo(M4OSA_UInt32* tab);
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
DM4MP4W_Utils.c109 void M4MP4W_table32ToBE(M4OSA_UInt32* tab, M4OSA_UInt32 nb) in M4MP4W_table32ToBE() argument
114 M4MP4W_convertInt32BE(&(tab)[i]); in M4MP4W_table32ToBE()
281 M4OSA_Void M4MP4W_put32_Hi(M4OSA_UInt32* tab, M4OSA_UInt16 Hi) in M4MP4W_put32_Hi() argument
284 *tab &= 0xFFFF; in M4MP4W_put32_Hi()
285 *tab |= Hi<<16; in M4MP4W_put32_Hi()
289 M4OSA_Void M4MP4W_put32_Lo(M4OSA_UInt32* tab, M4OSA_UInt16 Lo) in M4MP4W_put32_Lo() argument
292 *tab &= 0xFFFF0000; in M4MP4W_put32_Lo()
293 *tab |= Lo; in M4MP4W_put32_Lo()
297 M4OSA_UInt16 M4MP4W_get32_Hi(M4OSA_UInt32* tab) in M4MP4W_get32_Hi() argument
300 return (*tab >> 16) & 0xFFFF; in M4MP4W_get32_Hi()
[all …]
/frameworks/rs/cpu_ref/linkloader/android/
Dtest-librsloader.c38 static struct func_entry_t const tab[] = { in find_sym() local
51 static size_t const tab_size = sizeof(tab) / sizeof(struct func_entry_t); in find_sym()
59 if (name_len == tab[i].name_len && strcmp(name, tab[i].name) == 0) { in find_sym()
60 return tab[i].addr; in find_sym()
/frameworks/base/core/java/android/app/
DActionBar.java526 public abstract void addTab(Tab tab); in addTab() argument
534 public abstract void addTab(Tab tab, boolean setSelected); in addTab() argument
544 public abstract void addTab(Tab tab, int position); in addTab() argument
554 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab() argument
562 public abstract void removeTab(Tab tab); in removeTab() argument
584 public abstract void selectTab(Tab tab); in selectTab() argument
973 public void onTabSelected(Tab tab, FragmentTransaction ft); in onTabSelected() argument
984 public void onTabUnselected(Tab tab, FragmentTransaction ft); in onTabUnselected() argument
995 public void onTabReselected(Tab tab, FragmentTransaction ft); in onTabReselected() argument
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java250 TabInfo tab = mTabs.get(i); in onAttachedToWindow() local
251 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); in onAttachedToWindow()
252 if (tab.fragment != null && !tab.fragment.isDetached()) { in onAttachedToWindow()
253 if (tab.tag.equals(currentTab)) { in onAttachedToWindow()
257 mLastTab = tab; in onAttachedToWindow()
264 ft.detach(tab.fragment); in onAttachedToWindow()
316 TabInfo tab = mTabs.get(i); in doTabChanged() local
317 if (tab.tag.equals(tabId)) { in doTabChanged()
318 newTab = tab; in doTabChanged()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentTabHost.java258 TabInfo tab = mTabs.get(i); in onAttachedToWindow() local
259 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); in onAttachedToWindow()
260 if (tab.fragment != null && !tab.fragment.isDetached()) { in onAttachedToWindow()
261 if (tab.tag.equals(currentTab)) { in onAttachedToWindow()
265 mLastTab = tab; in onAttachedToWindow()
272 ft.detach(tab.fragment); in onAttachedToWindow()
324 TabInfo tab = mTabs.get(i); in doTabChanged() local
325 if (tab.tag.equals(tabId)) { in doTabChanged()
326 newTab = tab; in doTabChanged()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DScrollingTabContainerView.java238 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { in createTabView() argument
241 tabView.attach(this, tab, forAdapter); in createTabView()
258 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab() argument
259 TabView tabView = createTabView(tab, false); in addTab()
273 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab() argument
274 final TabView tabView = createTabView(tab, false); in addTab()
339 void attach(ScrollingTabContainerView parent, ActionBar.Tab tab, boolean forList) { in attach() argument
341 mTab = tab; in attach()
350 public void bindTab(ActionBar.Tab tab) { in bindTab() argument
351 mTab = tab; in bindTab()
[all …]
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_tab.jd45 multi-tab interface. Each tab icon has two states: unselected and selected.</p>
65 The style of tab icons has changed drastically in
69 1. Place tab icons for Android 2.0 and higher in the
72 2. Place tab icons for previous versions in
78 This will inform the system that it should render tabs using the new tab style.
91 <p>For example, for a tab widget with tabs named 'Friends' and 'Coworkers',
138 <p>The following guidelines describe how to design tab icons for Android
237 …ot}images/icon_design/tab_style_unselected.png" alt="A view of effects for unselected tab icons."/>
241 <p><strong>Figure 2. </strong>Style and effects for unselected tab icons.</p>
257 …ocRoot}images/icon_design/tab_style_selected.png" alt="A view of effects for selected tab icons."/>
[all …]
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd41 you how to create a tab layout with swipe views for switching between tabs, or how to show
62 a separate page (a separate tab) in the layout.</p>
189 // Create a tab listener that is called when the user changes tabs.
191 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) {
192 // show the given tab
195 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft) {
196 // hide the given tab
199 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) {
204 // Add 3 tabs, specifying the tab's text and TabListener
215 depends on how you've constructed your content. But if you're using fragments for each tab with
[all …]
/frameworks/base/core/java/com/android/internal/app/
DActionBarImpl.java473 private void configureTab(Tab tab, int position) { in configureTab() argument
474 final TabImpl tabi = (TabImpl) tab; in configureTab()
491 public void addTab(Tab tab) { in addTab() argument
492 addTab(tab, mTabs.isEmpty()); in addTab()
496 public void addTab(Tab tab, int position) { in addTab() argument
497 addTab(tab, position, mTabs.isEmpty()); in addTab()
501 public void addTab(Tab tab, boolean setSelected) { in addTab() argument
503 mTabScrollView.addTab(tab, setSelected); in addTab()
504 configureTab(tab, mTabs.size()); in addTab()
506 selectTab(tab); in addTab()
[all …]
/frameworks/base/services/java/com/android/server/print/
DUserState.java579 String tab = " "; in dump() local
581 pw.append(prefix).append(tab).append("installed services:").println(); in dump()
585 String installedServicePrefix = prefix + tab + tab; in dump()
591 pw.append(installedServicePrefix).append(tab).append("componentName=") in dump()
593 pw.append(installedServicePrefix).append(tab).append("settingsActivity=") in dump()
595 pw.append(installedServicePrefix).append(tab).append("addPrintersActivity=") in dump()
599 pw.append(prefix).append(tab).append("enabled services:").println(); in dump()
601 String enabledServicePrefix = prefix + tab + tab; in dump()
603 pw.append(enabledServicePrefix).append(tab).append("componentName=") in dump()
608 pw.append(prefix).append(tab).append("active services:").println(); in dump()
[all …]
DRemotePrintService.java470 String tab = " "; in dump() local
472 pw.append(prefix).append(tab).append("componentName=") in dump()
474 pw.append(prefix).append(tab).append("destroyed=") in dump()
476 pw.append(prefix).append(tab).append("bound=") in dump()
478 pw.append(prefix).append(tab).append("hasDicoverySession=") in dump()
480 pw.append(prefix).append(tab).append("hasActivePrintJobs=") in dump()
482 pw.append(prefix).append(tab).append("isDiscoveringPrinters=") in dump()
484 pw.append(prefix).append(tab).append("trackedPrinters=") in dump()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dabstracting.jd17 <li><a href="#create-abstract-tab">Create an Abstract Tab Interface</a></li>
18 <li><a href="#abstract-actionbar-tab">Abstract ActionBar.Tab</a></li>
41 …bes how to create an abstraction layer for the new tab APIs as the first step toward building the
51 <h2 id="create-abstract-tab">Create an Abstract Tab Interface</h2>
58 <li>The activity should be able to listen for tab changes.</li>
63 …mpatibility back to Eclair (API level 5) while taking advantage of the new tab features in Honeyco…
70 <h2 id="abstract-actionbar-tab">Abstract ActionBar.Tab</h2>
72 <p>Get started on building your tab abstraction layer by creating an abstract class representing a
91 …e to simplify the implementation of common features such as association of tab objects with activi…
105 public abstract void addTab(CompatTab tab);
Dnew-implementation.jd48 …ding to the APIs required by the concrete classes. For example, the native tab implementation can …
63 // The native tab object that this CompatTab acts as a proxy for.
103 public void addTab(CompatTab tab) {
106 // native tab object is an ActionBar.Tab.
107 mActionBar.addTab((ActionBar.Tab) tab.getTab());
/frameworks/base/docs/html/design/building-blocks/
Dtabs.jd25 <p>Scrolling tab controls can contain a larger number of items than a standard tab control. To navi…
46 <p>Fixed tabs display all items concurrently. To navigate to a different view, touch the tab, or sw…
47 …l width, based on the width of the widest tab label. If there is insufficient room to display all …
/frameworks/rs/cpu_ref/linkloader/
Dmain.cpp114 static func_entry_t const tab[] = { in find_sym() local
127 static size_t const tab_size = sizeof(tab) / sizeof(func_entry_t); in find_sym()
134 if (name_len == tab[i].name_len && strcmp(name, tab[i].name) == 0) { in find_sym()
135 return tab[i].addr; in find_sym()
/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSectionHeaderTable.hxx44 llvm::OwningPtr<ELFSectionHeaderTable> tab(new ELFSectionHeaderTable()); in read() local
64 tab->table.push_back(sh.take()); in read()
67 return tab.take(); in read()
/frameworks/base/docs/html/training/design-navigation/
Ddescendant-lateral.jd111 …l navigation. This pattern allows grouping of sibling screens, in that the tab content container i…
115 …alt="Example phone and tablet tab-based navigation interfaces with relevant screen map excerpt" id…
117 <p class="img-caption"><strong>Figure 5.</strong> Example phone and tablet tab-based navigation int…
121 screens. Only the designated content region should change when selecting a tab, and tab indicators
122 should remain available at all times. Additionally, tab switches should not be treated as history.
123 For example, if a user switches from a tab <em>A</em> to another tab <em>B</em>, pressing the
125 not re-select tab <em>A</em>. Tabs are usually laid out horizontally, although other presentations
126 of tab navigation such as using a drop-down list in the Action Bar (<a
134 …<li>Since there is a single, initially-selected tab, users have immediate access to that tab's con…
135 …n switching tabs, it is important to maintain this tab-switching immediacy; do not block access to…
[all …]

1234