/external/autotest/client/site_tests/policy_PluginsBlockedForUrls/ |
policy_PluginsBlockedForUrls.py | 72 def _wait_for_page_ready(self, tab): 73 """Wait for JavaScript on page in |tab| to set the pageReady flag. 75 @param tab: browser tab with page to load. 78 lambda: tab.EvaluateJavaScript('pageReady'), 130 tab = self.navigate_to_url(self.TEST_URL) 131 self._wait_for_page_ready(tab) 145 tab.Close()
|
/external/autotest/client/site_tests/policy_URLBlacklist/ |
policy_URLBlacklist.py | 58 def _scrape_text_from_webpage(self, tab): 61 @param tab: tab containing the website to be parsed. 68 parsed_message_string = tab.EvaluateJavaScript(page_scrape_cmd) 72 'page: %s\n %r'%(tab.url, err)) 85 tab = self.navigate_to_url(url) 86 parsed_message_list = self._scrape_text_from_webpage(tab)
|
/external/autotest/client/site_tests/policy_URLWhitelist/ |
policy_URLWhitelist.py | 58 def _scrape_text_from_webpage(self, tab): 61 @param tab: tab containing the website to be parsed. 68 parsed_message_string = tab.EvaluateJavaScript(page_scrape_cmd) 72 'page: %s\n %r'%(tab.url, err)) 85 tab = self.navigate_to_url(url) 86 parsed_message_list = self._scrape_text_from_webpage(tab)
|
/external/autotest/client/site_tests/video_WebRtcCamera/ |
video_WebRtcCamera.py | 35 self.tab = cr.browser.tabs[0] 36 self.tab.Navigate(cr.browser.platform.http_server.UrlOf( 38 self.tab.WaitForDocumentReadyStateToBeComplete() 73 is_test_done = self.tab.EvaluateJavaScript(IS_TEST_DONE) 100 results = self.tab.EvaluateJavaScript('getResults()')
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentTabsFragment.java | 83 * associating fragments with the tabs in a tab host. DO NOT USE THIS. 153 mCurrentTabTag = savedInstanceState.getString("tab"); 163 TabInfo tab = mTabs.get(i); local 164 tab.fragment = mManager.findFragmentByTag(tab.tag); 165 if (tab.fragment != null && !tab.fragment.isDetached()) { 166 if (tab.tag.equals(currentTab)) { 167 // The fragment for this tab is already there and 169 // as the current tab. Nothing to do 218 TabInfo tab = mTabs.get(i); local [all...] |
/external/autotest/client/site_tests/graphics_WebGLManyPlanetsDeep/ |
graphics_WebGLManyPlanetsDeep.py | 44 tab = browser.tabs.New() 45 tab.Navigate(test_url) 46 tab.Activate() 47 tab.WaitForDocumentReadyStateToBeComplete() 54 tab.ExecuteJavaScript('g_crosFpsCounter.reset();') 56 frame_data = tab.EvaluateJavaScript( 67 tab.Close()
|
/external/opencv/cvaux/src/ |
cvhmmobs.cpp | 180 work_t *tab = tab_y + 2; local 185 k0 = ((work_t) is) * tab[-1]; 201 buf[0] = DESCALE( is * tab[-2], PASS1_SHIFT ); 211 s += temp1[k] * tab[k]; 217 tab += m1; 226 s += temp0[k] * tab[k]; 229 tab += m1; 244 work_t *tab = tab_x + 2; local 252 k0 = (work_t) (s * tab[-1]); 268 *obs++ = (float) DESCALE( s * tab[-2], PASS2_SHIFT ) 377 work_t *tab = tab_y + 2; local 441 work_t *tab = tab_x + 2; local [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
TabLayout.java | 82 * done through {@link Tab} instances. You create tabs via {@link #newTab()}. From there you can 83 * change the tab's label or icon via {@link Tab#setText(int)} and {@link Tab#setIcon(int)} 84 * respectively. To display the tab, you need to add it to the layout via one of the 85 * {@link #addTab(Tab)} methods. For example: 88 * tabLayout.addTab(tabLayout.newTab().setText("Tab 1")); 89 * tabLayout.addTab(tabLayout.newTab().setText("Tab 2")); 90 * tabLayout.addTab(tabLayout.newTab().setText("Tab 3")); 93 * notified when any tab's selection state has been changed 488 final Tab tab = newTab(); local 564 Tab tab = sTabPool.acquire(); local 649 final Tab tab = i.next(); local 1661 final Tab tab = mTab; local 2064 Tab tab = mTabs.get(i); local [all...] |
/prebuilts/go/darwin-x86/src/text/tabwriter/ |
example_test.go | 16 // Format in tab-separated columns with a tab stop of 8. 46 fmt.Fprintln(w, "aaa\t") // trailing tab 58 // Observe that the third line has no trailing tab, 64 fmt.Fprintln(w, "aaa\tbbb\tunaligned") // no trailing tab
|
/prebuilts/go/linux-x86/src/text/tabwriter/ |
example_test.go | 16 // Format in tab-separated columns with a tab stop of 8. 46 fmt.Fprintln(w, "aaa\t") // trailing tab 58 // Observe that the third line has no trailing tab, 64 fmt.Fprintln(w, "aaa\tbbb\tunaligned") // no trailing tab
|
/external/libunwind/src/dwarf/ |
Gfind_proc_info-lsb.c | 395 struct table_entry *tab; member in struct:debug_frame_tab 401 debug_frame_tab_append (struct debug_frame_tab *tab, 404 unsigned int length = tab->length; 406 if (length == tab->size) 408 tab->size *= 2; 409 tab->tab = realloc (tab->tab, sizeof (struct table_entry) * tab->size) 468 struct debug_frame_tab tab; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/ |
ASN1Dump.java | 46 private static final String TAB = " "; 64 String tab = indent + TAB; local 88 buf.append(tab); 94 _dumpAsString(tab, verbose, (ASN1Primitive)o, buf); 98 _dumpAsString(tab, verbose, ((ASN1Encodable)o).toASN1Primitive(), buf); 104 String tab = indent + TAB; local 130 buf.append(tab); 136 _dumpAsString(tab, verbose, o.getObject(), buf) 142 String tab = indent + TAB; local 280 String tab = indent + TAB; local [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
hash.c | 817 _bfd_stringtab_add (struct bfd_strtab_hash *tab, 826 entry = strtab_hash_lookup (tab, str, TRUE, copy); 832 entry = (struct strtab_hash_entry *) bfd_hash_allocate (&tab->table, 843 n = (char *) bfd_hash_allocate (&tab->table, len); 855 entry->index = tab->size; 856 tab->size += strlen (str) + 1; 857 if (tab->xcoff) 860 tab->size += 2; 862 if (tab->first == NULL) 863 tab->first = entry [all...] |
/external/curl/packages/vms/ |
generate_vax_transfer.com | 40 $ tab[0,8] = 9 75 $ write vopt tab,".IDENT /", ident_string, "/" 77 $ write vopt tab, ".PSECT LIBCURL_XFERVECTORS -" 78 $ write vopt tab,tab,tab, "PIC,USR,CON,REL,GBL,SHR,EXE,RD,NOWRT,QUAD" 80 $ write vopt tab, "SPARE", tab, "; never delete this spare" 82 $ write vopt ";", tab, "Exact case and upper case transfer vectors" 118 $ write vopt tab, symbol_type, tab, symbol_nam [all...] |
/external/python/cpython2/Demo/tix/samples/ |
NoteBook.py | 1 # -*-mode: python; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*- 56 tab=nb.hard_disk 57 f = Tix.Frame(tab) 58 common = Tix.Frame(tab) 80 tab = nb.network 82 f = Tix.Frame(tab) 83 common = Tix.Frame(tab)
|
/external/autotest/client/site_tests/touch_TabSwitch/ |
touch_TabSwitch.py | 13 """Test to verify the three finger tab switching touchpad gesture.""" 43 @raises TestError if browser doesn't end up with correct tab count. 49 tab = cr.browser.tabs.New() 56 """Fail the test if the index-th tab is not active. 58 @param index: integer representing the position of our tab. 60 @raises: TestFail if the tab is not active as expected. 63 tab = self._tabs[index] 64 if tab.EvaluateJavaScript('document.hidden') == 'False': 68 """ Verify correct tab switching behavior. 71 the left will set the tab to the left as the active tab [all...] |
/external/autotest/client/site_tests/video_ChromeRTCHWDecodeUsed/ |
video_ChromeRTCHWDecodeUsed.py | 56 tab = cr.browser.tabs.New() 57 tab.Navigate(cr.browser.platform.http_server.UrlOf( 59 tab.WaitForDocumentReadyStateToBeComplete()
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
ShortcutLauncherMain.java | 19 import android.app.ActionBar.Tab; 67 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) {
|
/external/autotest/client/cros/multimedia/ |
video_facade_native.py | 83 tab = self._resource._browser.tabs.New() 84 tab.Navigate(html_path) 86 tab=tab,
|
/external/autotest/client/site_tests/audio_CrasSanity/ |
audio_CrasSanity.py | 112 def push_new_stream(self, tab): 115 @param tab: tab to open an audio stream. 117 tab.Activate() 118 tab.Navigate("file:///") 119 tab.ExecuteJavaScript(_JS)
|
/external/autotest/client/site_tests/audio_PlaybackPower/ |
audio_PlaybackPower.py | 96 def play_audio(self, tab, url): 99 @param tab: tab to open an audio stream. 102 tab.Navigate(url) 103 tab.ExecuteJavaScript( 105 tab.ExecuteJavaScript(
|
/external/opencv/cv/src/ |
cvadapthresh.cpp | 55 uchar tab[768]; local 81 tab[i] = (uchar)(i - 255 > -idelta ? maxValue : 0); 84 tab[i] = (uchar)(i - 255 <= -idelta ? maxValue : 0); 93 d[j] = tab[s[j] - m[j] + 255];
|
cvthresh.cpp | 49 uchar tab[256]; local 55 tab[i] = 0; 57 tab[i] = maxval; 61 tab[i] = maxval; 63 tab[i] = 0; 67 tab[i] = (uchar)i; 69 tab[i] = thresh; 73 tab[i] = 0; 75 tab[i] = (uchar)i; 79 tab[i] = (uchar)i [all...] |
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
KCode.kt | 48 public fun tab(vararg codes : KCode?) : KCode { 49 codes.forEach { tab(it) } 53 public fun tab(codes : Collection<KCode?> ) : KCode { 54 codes.forEach { tab(it) } 58 fun tab(s : String?, init : (KCode.() -> Unit)? = null) : KCode { 63 return tab(c) 66 fun tab(c : KCode?) : KCode { 98 tab(c)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TabHostRule.java | 62 INode tab = linear.appendChild(FQCN_TAB_WIDGET); local 63 tab.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent); 64 tab.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, VALUE_WRAP_CONTENT); 65 tab.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabs"); //$NON-NLS-1$ 77 String.format("@+id/tab%d", i + 1)); //$NON-NLS-1$
|