Home
last modified time | relevance | path

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

12

/development/tools/winscope/src/app/components/
Dtrace_view_component.ts137 async onTabClick(tab: Tab) {
138 await this.showTab(tab, false);
145 const tab = this.tabs.find((tab) => constant
146 tab.view.traces.some((trace) => trace === event.newActiveTrace),
148 await this.showTab(assertDefined(tab), false);
157 isCurrentActiveTab(tab: Tab) {
158 return tab === this.currentActiveTab;
173 this.tabs.forEach((tab) => {
176 (tab.view.htmlElement as any).store = this.store;
208 private async showTab(tab: Tab, firstToRender: boolean) {
[all …]
/development/tools/otagui/src/views/
DJobConfigure.vue9 v-for="tab in tabs"
10 :key="tab.label"
11 :class="['tab-button', { active: currentTab === tab.component }]"
12 @click="currentTab = tab.component"
14 {{ tab.label }}
18 class="tab-component"
90 .tab-component {
96 .tab-button {
106 .tab-button:hover {
109 .tab-button.active {
[all …]
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DTabHelperEclair.java64 public void addTab(CompatTab tab) { in addTab() argument
65 String tag = tab.getTag(); in addTab()
68 if (tab.getIcon() != null) { in addTab()
69 spec = mTabHost.newTabSpec(tag).setIndicator(tab.getText(), tab.getIcon()); in addTab()
71 spec = mTabHost.newTabSpec(tag).setIndicator(tab.getText()); in addTab()
81 tab.setFragment(fragment); in addTab()
89 mTabs.put(tag, tab); in addTab()
DTabHelperHoneycomb.java46 public void addTab(CompatTab tab) { in addTab() argument
47 String tag = tab.getTag(); in addTab()
54 tab.setFragment(fragment); in addTab()
62 if (tab.getCallback() == null) { in addTab()
68 mActionBar.addTab((ActionBar.Tab) tab.getTab()); in addTab()
DCompatTabListener.java29 public void onTabSelected(CompatTab tab, FragmentTransaction ft); in onTabSelected() argument
35 public void onTabUnselected(CompatTab tab, FragmentTransaction ft); in onTabUnselected() argument
41 public void onTabReselected(CompatTab tab, FragmentTransaction ft); in onTabReselected() argument
DCompatTabHoneycomb.java83 public void onTabReselected(Tab tab, android.app.FragmentTransaction f) { in onTabReselected() argument
91 public void onTabSelected(Tab tab, android.app.FragmentTransaction f) { in onTabSelected() argument
DTabHelper.java73 public abstract void addTab(CompatTab tab); in addTab() argument
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DCompatActionBarNavHandler.java54 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
56 mNavListener.onCategorySelected(tab.getPosition()); in onTabSelected()
76 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
84 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
/development/samples/training/TabCompat/src/com/example/android/tabcompat/
DMainActivity.java77 public void onTabSelected(CompatTab tab, FragmentTransaction ft) { in onTabSelected() argument
79 Fragment fragment = tab.getFragment(); in onTabSelected()
83 tab.setFragment(fragment); in onTabSelected()
84 ft.add(android.R.id.tabcontent, fragment, tab.getTag()); in onTabSelected()
92 public void onTabUnselected(CompatTab tab, FragmentTransaction ft) { in onTabUnselected() argument
93 Fragment fragment = tab.getFragment(); in onTabUnselected()
101 public void onTabReselected(CompatTab tab, FragmentTransaction ft) { in onTabReselected() argument
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentTabsFragment.java163 TabInfo tab = mTabs.get(i); in handleViewStateRestored() local
164 tab.fragment = mManager.findFragmentByTag(tab.tag); in handleViewStateRestored()
165 if (tab.fragment != null && !tab.fragment.isDetached()) { in handleViewStateRestored()
166 if (tab.tag.equals(currentTab)) { in handleViewStateRestored()
170 mLastTab = tab; in handleViewStateRestored()
177 ft.detach(tab.fragment); in handleViewStateRestored()
218 TabInfo tab = mTabs.get(i); in doTabChanged() local
219 if (tab.tag.equals(tabId)) { in doTabChanged()
220 newTab = tab; in doTabChanged()
DFragmentNestingTabs.java98 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
107 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
113 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DActionBarTabs.java96 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
100 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
104 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DFragmentTabs.java98 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
107 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
113 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DActionBarDisplayOptions.java141 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
145 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
149 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
/development/samples/browseable/ActionBarCompat-Styled/src/com.example.android.actionbarcompat.styled/
DMainActivity.java65 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabSelected() argument
71 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabUnselected() argument
77 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabReselected() argument
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutLauncherMain.java67 public void onTabSelected(Tab tab, FragmentTransaction ft) {
68 mPager.setCurrentItem(tab.getPosition());
72 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
77 public void onTabReselected(Tab tab, FragmentTransaction ft) {
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java106 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabSelected() argument
108 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected()
116 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabUnselected() argument
123 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabReselected() argument
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DMainActivity.java94 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabUnselected() argument
98 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabSelected() argument
100 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected()
104 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { in onTabReselected() argument
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DTitlesFragment.java237 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabSelected() argument
240 titleFrag.populateTitles(tab.getPosition()); in onTabSelected()
249 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
252 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) { in onTabReselected() argument
/development/samples/browseable/SlidingTabsColors/
D_index.jd9 ViewPager title strip, with custom coloring for each tab.
/development/samples/ApiDemos/src/com/example/android/apis/view/
DVideoPlayerActivity.java271 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
275 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
279 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DContentBrowserActivity.java254 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
258 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
262 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DContentBrowserNavActivity.java256 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
260 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
264 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DSystemUIModes.java335 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
339 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
343 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
/development/tools/winscope/src/test/e2e/
Dutils.ts98 for (const tab of tabs) { constant
99 const tabTitle = await tab.getText();
101 await tab.click();

12