Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libstagefright/codecs/aacdec/
Ddecode_huff_cw_binary.cpp214 Int32 tab; in decode_huff_cw_tab1() local
227 tab = (cw >> 6) - 16; in decode_huff_cw_tab1()
231 tab = (cw >> 4) - 96 + 8; in decode_huff_cw_tab1()
235 tab = (cw >> 2) - 480 + 32; in decode_huff_cw_tab1()
239 tab = cw - 2016 + 56; in decode_huff_cw_tab1()
242 tab = *(huff_tab1 + tab); in decode_huff_cw_tab1()
244 pInputStream->usedBits -= (11 - (tab & MASK_LOW16)); in decode_huff_cw_tab1()
245 return ((Int)(tab >> UPPER16)); in decode_huff_cw_tab1()
252 Int32 tab; in decode_huff_cw_tab2() local
265 tab = (cw >> 3) - 8; in decode_huff_cw_tab2()
[all …]
/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.java173 private final ImageView tab; field in SlidingTab.Slider
190 tab = new ImageView(parent.getContext()); in Slider()
191 tab.setBackgroundResource(tabId); in Slider()
192 tab.setScaleType(ScaleType.CENTER); in Slider()
193 tab.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in Slider()
213 parent.addView(tab); in Slider()
218 tab.setImageResource(iconId); in setIcon()
222 tab.setBackgroundResource(tabId); in setTabBackgroundResource()
235 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
236 : alignment_value - tab.getLeft()) : 0; in hide()
[all …]
DScrollingTabContainerView.java272 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { in createTabView() argument
273 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView()
289 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab() argument
290 TabView tabView = createTabView(tab, false); in addTab()
304 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab() argument
305 final TabView tabView = createTabView(tab, false); in addTab()
361 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView() argument
363 mTab = tab; in TabView()
372 public void bindTab(ActionBar.Tab tab) { in bindTab() argument
373 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/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/compile/libbcc/tests/data/src/
Dbellard.otccex.c47 int tab, p, c; in print_num() local
51 tab = malloc(0x100); in print_num()
52 p = tab; in print_num()
67 while (p != tab) { in print_num()
71 free(tab); in print_num()
/frameworks/base/docs/html/guide/topics/ui/layout/
Dtabs.jd23 android.widget.FrameLayout} for displaying the tab content.</p>
27 <p>You can implement your tab content in one of two ways: use the tabs to swap
30 demands, but if each tab provides a distinct user activity, then it probably makes sense to use
31 a separate {@link android.app.Activity} for each tab, so that you can better manage the application
35 android.app.Activity} for each tab.</p>
41 will each represent a separate tab. For now, make each one display a simple message using a {@link
49 textview.setText("This is the Artists tab");
59 for when the tab is selected and one for when it is unselected. The
65 <img src="images/ic_tab_artists_white.png" title="unselected tab icon" alt="" />
66 <img src="images/ic_tab_artists_grey.png" title="selected tab icon" alt="" />
[all …]
/frameworks/base/core/java/android/app/
DActionBar.java520 public abstract void addTab(Tab tab); in addTab() argument
528 public abstract void addTab(Tab tab, boolean setSelected); in addTab() argument
538 public abstract void addTab(Tab tab, int position); in addTab() argument
548 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab() argument
556 public abstract void removeTab(Tab tab); in removeTab() argument
578 public abstract void selectTab(Tab tab); in selectTab() argument
878 public void onTabSelected(Tab tab, FragmentTransaction ft); in onTabSelected() argument
889 public void onTabUnselected(Tab tab, FragmentTransaction ft); in onTabUnselected() argument
900 public void onTabReselected(Tab tab, FragmentTransaction ft); in onTabReselected() argument
/frameworks/compile/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/docs/html/guide/practices/ui_guidelines/
Dicon_design_tab.jd44 multi-tab interface. Each tab icon has two states: unselected and selected.</p>
64 The style of tab icons has changed drastically in
68 1. Place tab icons for Android 2.0 and higher in the
71 2. Place tab icons for previous versions in
77 This will inform the system that it should render tabs using the new tab style.
90 <p>For example, for a tab widget with tabs named 'Friends' and 'Coworkers',
137 <p>The following guidelines describe how to design tab icons for Android
236 …ot}images/icon_design/tab_style_unselected.png" alt="A view of effects for unselected tab icons."/>
240 <p><strong>Figure 2. </strong>Style and effects for unselected tab icons.</p>
256 …ocRoot}images/icon_design/tab_style_selected.png" alt="A view of effects for selected tab icons."/>
[all …]
/frameworks/base/core/java/com/android/internal/app/
DActionBarImpl.java466 private void configureTab(Tab tab, int position) { in configureTab() argument
467 final TabImpl tabi = (TabImpl) tab; in configureTab()
484 public void addTab(Tab tab) { in addTab() argument
485 addTab(tab, mTabs.isEmpty()); in addTab()
489 public void addTab(Tab tab, int position) { in addTab() argument
490 addTab(tab, position, mTabs.isEmpty()); in addTab()
494 public void addTab(Tab tab, boolean setSelected) { in addTab() argument
496 mTabScrollView.addTab(tab, setSelected); in addTab()
497 configureTab(tab, mTabs.size()); in addTab()
499 selectTab(tab); in addTab()
[all …]
/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());
Dolder-implementation.jd72 <p>The <code>CompatTabEclair</code> implementation stores tab properties such as the tab text and i…
95 objects and tab indicators:</p>
112 public void addTab(CompatTab tab) {
116 .setIndicator(tab.getText()); // And optional icon
Dusing-component.jd64tab implementations. For the older implementation (<code>TabHelperEclair</code>), you need to ensu…
96 …ou need is a {@link android.widget.FrameLayout} to contain the tab contents, since the tab indicat…
/frameworks/compile/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/compile/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 …]
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd44 <p>Tabs allow the user to navigate between sibling screens by selecting the appropriate tab indicat…
63 // Create a tab listener that is called when the user changes tabs.
65 public void onTabSelected(ActionBar.Tab tab,
68 public void onTabUnselected(ActionBar.Tab tab,
71 public void onTabReselected(ActionBar.Tab tab,
217 …ate. This behavior enables users to swipe horizontally across the selected tab's contents to navig…
219 <p>Upon observing the current page changing, select the corresponding tab. You can set up this beha…
230 // corresponding tab.
238tab, switch to the corresponding page in the {@link android.support.v4.view.ViewPager}. To do this…
244 public void onTabSelected(ActionBar.Tab tab,
[all …]
/frameworks/compile/libbcc/lib/ExecutionEngine/
DMCCacheWriter.cpp112 MCO_DependencyTable *tab = (MCO_DependencyTable *)malloc(tableSize); in prepareDependencyTable() local
114 if (!tab) { in prepareDependencyTable()
119 mpDependencyTableSection = tab; in prepareDependencyTable()
122 tab->count = mDependencies.size(); in prepareDependencyTable()
127 MCO_Dependency *dep = &tab->table[i]; in prepareDependencyTable()
/frameworks/base/docs/html/design/building-blocks/
Dtabs.jd16 <p>Scrolling tab controls can contain a larger number of items than a standard tab control. To navi…
39 <p>Fixed tabs display all items concurrently. To navigate to a different view, touch the tab.</p>
/frameworks/base/docs/html/tools/debugging/
Dddms.jd111 <li>In the Devices tab, select the process that you want to see the heap information for.</li>
116 <li>In the Heap tab, click <strong>Cause GC</strong> to invoke garbage collection, which
135 <li>In the Devices tab, select the process that you want to enable allocation tracking
138 <li>In the Allocation Tracker tab, click the <strong>Start Tracking</strong> button to begin
155 <p>DDMS provides a File Explorer tab that allows you to view, copy, and delete files on the
161 <li>In the Devices tab, select the emulator that you want to view the file system for.</li>
167 Explorer tab.</li>
175 <p>The Threads tab in DDMS shows you the currently running threads for a selected process.</p>
178 <li>In the Devices tab, select the process that you want to examine the threads for.</li>
182 <li>In the Threads tab, you can view the thread information for the selected process.</li>
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Dactionbar.jd94 navigation label, such as the currently selected tab.</p></li>
97 <p>The action bar provides built-in tab navigation for switching between <a
949 transaction each time a tab is selected. If you're not familiar with how to change fragments
954 {@link android.app.Fragment} associated with a tab. Be sure the {@link android.view.ViewGroup} has a
955 resource ID so you can reference it from your tab-swapping code. Alternatively, if the tab content
967 <li>For each tab you want to add, instantiate an {@link android.app.ActionBar.Tab} and set the
969 setTabListener()}. Also set the tab's title and/or icon with {@link
972 <li>Add each tab to the action bar by calling {@link android.app.ActionBar#addTab addTab()}.</li>
982 android.app.ActionBar.TabListener} implementation provides a constructor such that each new tab uses
987 such that each tab uses its own instance of the listener:</p>
[all …]

1234