Home
last modified time | relevance | path

Searched refs:tab (Results 1 – 25 of 93) 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/rs/api/
Dgen_runtime.cpp430 string tab(int n) { return string(n * 4, ' '); } in tab() function
531 file << tab(2) << p.javaBaseType << "[] " << p.javaArrayName << " = new " << p.javaBaseType in writeJavaArrayInitialization()
533 file << tab(2) << p.javaAllocName << ".copyTo(" << p.javaArrayName << ");\n"; in writeJavaArrayInitialization()
862 mJavaFile << tab(1) << "private ScriptC_" << mTestName << " script;\n"; in startJavaFile()
863 mJavaFile << tab(1) << "private ScriptC_" << mRelaxedTestName << " scriptRelaxed;\n\n"; in startJavaFile()
865 mJavaFile << tab(1) << "@Override\n"; in startJavaFile()
866 mJavaFile << tab(1) << "protected void setUp() throws Exception {\n"; in startJavaFile()
867 mJavaFile << tab(2) << "super.setUp();\n"; in startJavaFile()
868 mJavaFile << tab(2) << "script = new ScriptC_" << mTestName << "(mRS);\n"; in startJavaFile()
869 mJavaFile << tab(2) << "scriptRelaxed = new ScriptC_" << mRelaxedTestName << "(mRS);\n"; in startJavaFile()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java181 private final ImageView tab; field in SlidingTab.Slider
198 tab = new ImageView(parent.getContext()); in Slider()
199 tab.setBackgroundResource(tabId); in Slider()
200 tab.setScaleType(ScaleType.CENTER); in Slider()
201 tab.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in Slider()
221 parent.addView(tab); in Slider()
226 tab.setImageResource(iconId); in setIcon()
230 tab.setBackgroundResource(tabId); in setTabBackgroundResource()
243 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
244 : alignment_value - tab.getLeft()) : 0; in hide()
[all …]
DScrollingTabContainerView.java279 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { in createTabView() argument
280 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView()
296 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab() argument
297 TabView tabView = createTabView(tab, false); in addTab()
311 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab() argument
312 final TabView tabView = createTabView(tab, false); in addTab()
368 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView() argument
370 mTab = tab; in TabView()
379 public void bindTab(ActionBar.Tab tab) { in bindTab() argument
380 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/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/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/app/
DActionBar.java634 public abstract void addTab(Tab tab); in addTab() argument
647 public abstract void addTab(Tab tab, boolean setSelected); in addTab() argument
662 public abstract void addTab(Tab tab, int position); in addTab() argument
677 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab() argument
690 public abstract void removeTab(Tab tab); in removeTab() argument
727 public abstract void selectTab(Tab tab); in selectTab() argument
1285 public void onTabSelected(Tab tab, FragmentTransaction ft); in onTabSelected() argument
1296 public void onTabUnselected(Tab tab, FragmentTransaction ft); in onTabUnselected() argument
1307 public void onTabReselected(Tab tab, FragmentTransaction ft); in onTabReselected() argument
/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/core/java/android/app/
DActionBar.java635 public abstract void addTab(Tab tab); in addTab() argument
648 public abstract void addTab(Tab tab, boolean setSelected); in addTab() argument
663 public abstract void addTab(Tab tab, int position); in addTab() argument
678 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab() argument
691 public abstract void removeTab(Tab tab); in removeTab() argument
728 public abstract void selectTab(Tab tab); in selectTab() argument
1279 public void onTabSelected(Tab tab, FragmentTransaction ft); in onTabSelected() argument
1290 public void onTabUnselected(Tab tab, FragmentTransaction ft); in onTabUnselected() argument
1301 public void onTabReselected(Tab tab, FragmentTransaction ft); in onTabReselected() argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DScrollingTabContainerView.java288 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { in createTabView() argument
289 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView()
305 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab() argument
306 TabView tabView = createTabView(tab, false); in addTab()
320 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab() argument
321 final TabView tabView = createTabView(tab, false); in addTab()
381 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView() argument
383 mTab = tab; in TabView()
399 public void bindTab(ActionBar.Tab tab) { in bindTab() argument
400 mTab = tab; in bindTab()
[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/services/print/java/com/android/server/print/
DUserState.java581 String tab = " "; in dump() local
583 pw.append(prefix).append(tab).append("installed services:").println(); in dump()
587 String installedServicePrefix = prefix + tab + tab; in dump()
593 pw.append(installedServicePrefix).append(tab).append("componentName=") in dump()
595 pw.append(installedServicePrefix).append(tab).append("settingsActivity=") in dump()
597 pw.append(installedServicePrefix).append(tab).append("addPrintersActivity=") in dump()
599 pw.append(installedServicePrefix).append(tab).append("avancedOptionsActivity=") in dump()
603 pw.append(prefix).append(tab).append("enabled services:").println(); in dump()
605 String enabledServicePrefix = prefix + tab + tab; in dump()
607 pw.append(enabledServicePrefix).append(tab).append("componentName=") in dump()
[all …]
DRemotePrintService.java479 String tab = " "; in dump() local
481 pw.append(prefix).append(tab).append("componentName=") in dump()
483 pw.append(prefix).append(tab).append("destroyed=") in dump()
485 pw.append(prefix).append(tab).append("bound=") in dump()
487 pw.append(prefix).append(tab).append("hasDicoverySession=") in dump()
489 pw.append(prefix).append(tab).append("hasActivePrintJobs=") in dump()
491 pw.append(prefix).append(tab).append("isDiscoveringPrinters=") in dump()
493 pw.append(prefix).append(tab).append("trackedPrinters=") in dump()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java520 private void configureTab(Tab tab, int position) { in configureTab() argument
521 final TabImpl tabi = (TabImpl) tab; in configureTab()
538 public void addTab(Tab tab) { in addTab() argument
539 addTab(tab, mTabs.isEmpty()); in addTab()
543 public void addTab(Tab tab, int position) { in addTab() argument
544 addTab(tab, position, mTabs.isEmpty()); in addTab()
548 public void addTab(Tab tab, boolean setSelected) { in addTab() argument
550 mTabScrollView.addTab(tab, setSelected); in addTab()
551 configureTab(tab, mTabs.size()); in addTab()
553 selectTab(tab); in addTab()
[all …]
DToolbarActionBar.java326 public void addTab(Tab tab) { in addTab() argument
332 public void addTab(Tab tab, boolean setSelected) { in addTab() argument
338 public void addTab(Tab tab, int position) { in addTab() argument
344 public void addTab(Tab tab, int position, boolean setSelected) { in addTab() argument
350 public void removeTab(Tab tab) { in removeTab() argument
368 public void selectTab(Tab tab) { in selectTab() argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DWindowDecorActionBar.java530 private void configureTab(Tab tab, int position) { in configureTab() argument
531 final TabImpl tabi = (TabImpl) tab; in configureTab()
548 public void addTab(Tab tab) { in addTab() argument
549 addTab(tab, mTabs.isEmpty()); in addTab()
553 public void addTab(Tab tab, int position) { in addTab() argument
554 addTab(tab, position, mTabs.isEmpty()); in addTab()
558 public void addTab(Tab tab, boolean setSelected) { in addTab() argument
560 mTabScrollView.addTab(tab, setSelected); in addTab()
561 configureTab(tab, mTabs.size()); in addTab()
563 selectTab(tab); in addTab()
[all …]
DToolbarActionBar.java342 public void addTab(Tab tab) { in addTab() argument
348 public void addTab(Tab tab, boolean setSelected) { in addTab() argument
354 public void addTab(Tab tab, int position) { in addTab() argument
360 public void addTab(Tab tab, int position, boolean setSelected) { in addTab() argument
366 public void removeTab(Tab tab) { in removeTab() argument
384 public void selectTab(Tab tab) { in selectTab() argument
/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.cpp112 static func_entry_t const tab[] = { in find_sym() local
125 static size_t const tab_size = sizeof(tab) / sizeof(func_entry_t); in find_sym()
132 if (name_len == tab[i].name_len && strcmp(name, tab[i].name) == 0) { in find_sym()
133 return tab[i].addr; in find_sym()
/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSectionHeaderTable.hxx44 std::unique_ptr<ELFSectionHeaderTable> tab(new ELFSectionHeaderTable()); in read() local
64 tab->table.push_back(sh.release()); in read()
67 return tab.release(); 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