HomeSort by relevance Sort by last modified time
    Searched refs:tab (Results 76 - 100 of 937) sorted by null

1 2 34 5 6 7 8 91011>>

  /development/samples/training/TabCompat/src/com/example/android/tabcompat/
MainActivity.java 56 * Implementation of {@link CompatTabListener} to handle tab change events. This implementation
57 * instantiates the specified fragment class with no arguments when its tab is selected.
65 * Constructor used each time a new tab is created.
77 public void onTabSelected(CompatTab tab, FragmentTransaction ft) {
79 Fragment fragment = tab.getFragment();
83 tab.setFragment(fragment);
84 ft.add(android.R.id.tabcontent, fragment, tab.getTag());
92 public void onTabUnselected(CompatTab tab, FragmentTransaction ft) {
93 Fragment fragment = tab.getFragment();
101 public void onTabReselected(CompatTab tab, FragmentTransaction ft)
    [all...]
  /external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
video_WebRtcPeerConnectionWithCamera.py 32 self.tab = cr.browser.tabs[0]
33 self.tab.Navigate(cr.browser.platform.http_server.UrlOf(
35 self.tab.WaitForDocumentReadyStateToBeComplete()
36 self.tab.EvaluateJavaScript(
47 status = self.tab.EvaluateJavaScript('getStatus()')
74 status = self.tab.EvaluateJavaScript('getStatus()')
78 results = self.tab.EvaluateJavaScript('getResults()')
  /external/autotest/client/cros/video/
video_player.py 23 def __init__(self, tab, full_url, video_id, video_src_path='',
26 @param tab: object, tab to interact with the tab in the browser.
36 self.tab = tab
42 self.tab.Navigate(self.full_url)
52 self.tab.WaitForDocumentReadyStateToBeComplete()
  /external/autotest/client/site_tests/video_VideoSeek/
video_VideoSeek.py 63 tab = cr.browser.tabs[0]
64 tab.Navigate(cr.browser.platform.http_server.UrlOf(
66 tab.WaitForDocumentReadyStateToBeComplete()
68 tab.EvaluateJavaScript('loadSourceAndRunSeekTest("%s")' % video)
71 seek_test_status = tab.EvaluateJavaScript('getSeekTestStatus()')
  /external/autotest/client/site_tests/video_WebRtcSanity/
video_WebRtcSanity.py 32 self.tab = cr.browser.tabs[0]
33 self.tab.Navigate(cr.browser.platform.http_server.UrlOf(
35 self.tab.WaitForDocumentReadyStateToBeComplete()
46 status = self.tab.EvaluateJavaScript('getStatus()')
70 status = self.tab.EvaluateJavaScript('getStatus()')
  /external/autotest/client/cros/multimedia/
facade_resource.py 102 # The opened tabs are stored by tab descriptors.
103 # Key is the tab descriptor string.
105 # string to locate the tab object.
106 # Value is the tab object.
160 def _generate_tab_descriptor(tab):
161 """Generate tab descriptor by tab object.
163 @param tab: the tab object.
164 @return a str, the tab descriptor of the tab
    [all...]
  /frameworks/support/design/tests/src/android/support/design/widget/
TabLayoutTest.java 73 // Tab 0 has text, but no icon or custom view
74 TabLayout.Tab tab = tabLayout.getTabAt(0); local
76 tab.getText());
77 assertNull(tab.getIcon());
78 assertNull(tab.getCustomView());
80 // Tab 1 has an icon, but no text or custom view
81 tab = tabLayout.getTabAt(1);
82 assertNull(tab.getText());
83 assertNotNull(tab.getIcon())
116 final TabLayout.Tab tab = tabLayout.newTab(); local
136 final TabLayout.Tab tab = tabLayout.newTab(); local
221 final TabLayout.Tab tab = tabLayout.getTabAt(i); local
    [all...]
  /prebuilts/go/darwin-x86/src/hash/crc64/
crc64.go 77 tab *Table
83 func New(tab *Table) hash.Hash64 { return &digest{0, tab} }
91 func update(crc uint64, tab *Table, p []byte) uint64 {
96 if *tab == slicing8TableECMA[0] {
98 } else if *tab == slicing8TableISO[0] {
102 helperTable = makeSlicingBy8Table(tab)
123 crc = tab[byte(crc)^v] ^ (crc >> 8)
129 func Update(crc uint64, tab *Table, p []byte) uint64 {
130 return update(crc, tab, p
    [all...]
  /prebuilts/go/linux-x86/src/hash/crc64/
crc64.go 77 tab *Table
83 func New(tab *Table) hash.Hash64 { return &digest{0, tab} }
91 func update(crc uint64, tab *Table, p []byte) uint64 {
96 if *tab == slicing8TableECMA[0] {
98 } else if *tab == slicing8TableISO[0] {
102 helperTable = makeSlicingBy8Table(tab)
123 crc = tab[byte(crc)^v] ^ (crc >> 8)
129 func Update(crc uint64, tab *Table, p []byte) uint64 {
130 return update(crc, tab, p
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
FragmentTabPagerAdapter.java 47 private final Map<UiDataModel.Tab, DeskClockFragment> mFragmentCache;
71 // Fetch the tab the UiDataModel reports for the position.
72 final UiDataModel.Tab tab = UiDataModel.getUiDataModel().getTabAt(position); local
75 DeskClockFragment fragment = mFragmentCache.get(tab);
83 fragment = (DeskClockFragment) mFragmentManager.findFragmentByTag(tab.name());
86 mFragmentCache.put(tab, fragment);
91 final String fragmentClassName = tab.getFragmentClassName();
94 mFragmentCache.put(tab, fragment);
112 final UiDataModel.Tab tab = UiDataModel.getUiDataModel().getTabAt(position) local
    [all...]
  /external/autotest/client/deps/graphics/graphics_test_extension/
background.js 24 console.log("Set window " + sender.tab.windowId + " to fullscreen.");
25 chrome.windows.update(sender.tab.windowId, {state: "fullscreen"});
27 console.log("Update window " + sender.tab.windowId + ": " +
29 chrome.windows.update(sender.tab.windowId, message.updateInfo);
31 console.log("Move window " + sender.tab.windowId +
46 chrome.windows.update(sender.tab.windowId, {
51 chrome.windows.update(sender.tab.windowId, {state: "fullscreen"});
  /external/autotest/client/site_tests/desktopui_AudioFeedback/
desktopui_AudioFeedback.py 22 def play_video(self, tab, video_url):
25 @param tab: the tab to load and play the video.
27 tab.Navigate(video_url)
30 return tab.EvaluateJavaScript('typeof player != "undefined"')
37 tab.ExecuteJavaScript('player.seekTo(60, true)')
38 tab.ExecuteJavaScript('player.playVideo()')
42 return tab.EvaluateJavaScript('player.getCurrentTime()')
  /external/autotest/client/site_tests/policy_CookiesSessionOnlyForUrls/
policy_CookiesSessionOnlyForUrls.py 71 tab = self.navigate_to_url(url)
72 cookie_value = tab.GetCookieByName(self.COOKIE_NAME)
73 tab.Close()
113 tab = self.navigate_to_url(self.COOKIE_EXCEPTIONS_PAGE)
114 cookie_behavior = self.get_elements_from_page(tab, js_cmd)
115 tab.Close()
  /external/autotest/client/site_tests/telemetry_AFDOGenerateClient/
telemetry_AFDOGenerateClient.py 107 tab = cr.browser.tabs.New()
109 tab.Activate()
113 tab.Navigate(FILE_URL_PREFIX + benchmark_start_page)
114 tab.WaitForDocumentReadyStateToBeComplete(timeout=180)
115 tab.WaitForJavaScriptCondition(PC_DONE_EXP, timeout=600)
116 tab.Close()
  /external/autotest/client/site_tests/video_WebRtcMediaRecorder/
video_WebRtcMediaRecorder.py 39 self.tab = cr.browser.tabs[0]
40 self.tab.Navigate(cr.browser.platform.http_server.UrlOf(
42 self.tab.WaitForDocumentReadyStateToBeComplete()
43 self.tab.EvaluateJavaScript(test_name + "();")
48 result = self.tab.EvaluateJavaScript('result;')
67 test_progress = self.tab.EvaluateJavaScript(TEST_PROGRESS)
  /libcore/ojluni/src/main/java/java/util/
HashMap.java 207 * Most internal methods also accept a "tab" argument, that is
567 Node<K,V>[] tab; Node<K,V> first, e; int n; K k; local
568 if ((tab = table) != null && (n = tab.length) > 0 &&
569 (first = tab[(n - 1) & hash]) != null) {
626 Node<K,V>[] tab; Node<K,V> p; int n, i; local
627 if ((tab = table) == null || (n = tab.length) == 0)
628 n = (tab = resize()).length;
629 if ((p = tab[i = (n - 1) & hash]) == null
814 Node<K,V>[] tab; Node<K,V> p; int n, index; local
858 Node<K,V>[] tab; local
876 Node<K,V>[] tab; V v; local
925 Node<K,V>[] tab; local
974 Node<K,V>[] tab; local
1038 Node<K,V>[] tab; local
1102 Node<K,V>[] tab; Node<K,V> first; int n, i; local
1176 Node<K,V>[] tab; Node<K,V> first; int n, i; local
1231 Node<K,V>[] tab; Node<K,V> first; int n, i; local
1284 Node<K,V>[] tab; local
1301 Node<K,V>[] tab; local
1400 Node<K,V>[] tab = (Node<K,V>[])new Node[cap]; local
1505 Node<K,V>[] tab = m.table; local
1537 Node<K,V>[] tab = m.table; local
1565 Node<K,V>[] tab = map.table; local
1609 Node<K,V>[] tab = m.table; local
1637 Node<K,V>[] tab = map.table; local
1680 Node<K,V>[] tab = m.table; local
1708 Node<K,V>[] tab = map.table; local
1784 Node<K,V>[] tab; local
    [all...]
WeakHashMap.java 397 Entry<K,V>[] tab = getTable(); local
398 int index = indexFor(h, tab.length);
399 Entry<K,V> e = tab[index];
427 Entry<K,V>[] tab = getTable(); local
428 int index = indexFor(h, tab.length);
429 Entry<K,V> e = tab[index];
450 Entry<K,V>[] tab = getTable(); local
451 int i = indexFor(h, tab.length);
453 for (Entry<K,V> e = tab[i]; e != null; e = e.next) {
463 Entry<K,V> e = tab[i]
592 Entry<K,V>[] tab = getTable(); local
690 Entry<K,V>[] tab = getTable(); local
1020 Entry<K, V>[] tab = getTable(); local
1042 Entry<K, V>[] tab = getTable();; local
1117 WeakHashMap.Entry<K,V>[] tab = m.table; local
1150 WeakHashMap.Entry<K,V>[] tab = map.table; local
1197 WeakHashMap.Entry<K,V>[] tab = m.table; local
1228 WeakHashMap.Entry<K,V>[] tab = map.table; local
1275 WeakHashMap.Entry<K,V>[] tab = m.table; local
1310 WeakHashMap.Entry<K,V>[] tab = map.table; local
    [all...]
  /external/iw/
bitrate.c 10 unsigned int inss, mcs_start, mcs_end, tab[10]; local
37 &tab[0], &tab[1], &tab[2], &tab[3], &tab[4], &tab[5],
38 &tab[6], &tab[7], &tab[8], &tab[9])
    [all...]
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
TabHelperEclair.java 35 * It implements a generic mechanism for associating fragments with the tabs in a tab host. It
36 * relies on a trick: Normally a tab host has a simple API for supplying a View or Intent that each
37 * tab will show. This is not sufficient for switching between fragments. So instead we make the
38 * content part of the tab host 0dp high (it is not shown) and this supplies its own dummy view to
39 * show as the tab content. It listens to changes in tabs, then passes the event back to the tab's
64 public void addTab(CompatTab tab) {
65 String tag = tab.getTag();
68 if (tab.getIcon() != null) {
69 spec = mTabHost.newTabSpec(tag).setIndicator(tab.getText(), tab.getIcon())
    [all...]
  /external/autotest/client/site_tests/policy_ForceGoogleSafeSearch/
policy_ForceGoogleSafeSearch.py 50 tab = self.navigate_to_url(self.GOOGLE_SEARCH_URL)
51 is_safe_search_active = True if '&safe=active' in tab.url else False
  /external/autotest/client/site_tests/policy_RestoreOnStartupURLs/
policy_RestoreOnStartupURLs.py 21 - Case SingleUrl_1Tab opens a single tab to chrome://settings.
45 that a tab is opened to each URL. When set to None, check that no tab
51 # Get list of open tab urls from browser; Convert unicode to text;
53 tab_urls = [tab.url.encode('utf8').rstrip('/')
54 for tab in reversed(self.cr.browser.tabs)]
56 # Telemetry always opens a 'newtab' tab if no startup tabs are opened.
57 # If the only open tab is 'newtab', or a tab with the termporary url
58 # www.google.com/_/chrome/newtab..., then set tab URLs to None
    [all...]
  /frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
FragmentNestingPagerSupport.java 23 import android.app.ActionBar.Tab;
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex());
73 * trick. Normally a tab host has a simple API for supplying a View or
74 * Intent that each tab will show. This is not sufficient for switching
75 * between pages. So instead we make the content part of the tab host
77 * view to show as the tab content. It listens to changes in tabs, and takes
79 * tab changes.
107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args)
    [all...]
FragmentNestingStatePagerSupport.java 19 import android.app.ActionBar.Tab;
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex());
73 * trick. Normally a tab host has a simple API for supplying a View or
74 * Intent that each tab will show. This is not sufficient for switching
75 * between pages. So instead we make the content part of the tab host
77 * view to show as the tab content. It listens to changes in tabs, and takes
79 * tab changes.
107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args)
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/
GalleryActivity.java 20 import android.app.ActionBar.Tab;
62 ab.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
69 outState.putInt("tab", getActionBar().getSelectedNavigationIndex());
121 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) {
123 tab.setTag(info);
124 tab.setTabListener(this);
126 mActionBar.addTab(tab);
163 public void onTabSelected(Tab tab, FragmentTransaction ft)
    [all...]
  /external/c-ares/
missing 81 bison create \`y.tab.[ch]', if possible, from existing .[ch]
87 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
216 rm -f y.tab.c y.tab.h
223 cp "$SRCFILE" y.tab.c
227 cp "$SRCFILE" y.tab.h
232 if [ ! -f y.tab.h ]; then
233 echo >y.tab.h
235 if [ ! -f y.tab.c ]; then
236 echo 'main() { return 0; }' >y.tab.
    [all...]

Completed in 1414 milliseconds

1 2 34 5 6 7 8 91011>>