/external/mesa3d/src/mesa/main/ |
vtxfmt.c | 45 install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab, 51 SET_Color4f(tab, vfmt->Color4f); 55 _mesa_install_arrayelt_vtxfmt(tab, vfmt); 56 SET_Color3f(tab, vfmt->Color3f); 57 SET_Color3fv(tab, vfmt->Color3fv); 58 SET_Color4fv(tab, vfmt->Color4fv); 59 SET_EdgeFlag(tab, vfmt->EdgeFlag); 63 _mesa_install_eval_vtxfmt(tab, vfmt); 67 SET_Materialfv(tab, vfmt->Materialfv); 68 SET_MultiTexCoord4fARB(tab, vfmt->MultiTexCoord4fARB) [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
CompatTabListener.java | 27 *android.app.ActionBar.Tab, android.app.FragmentTransaction) 29 public void onTabSelected(CompatTab tab, FragmentTransaction ft); 33 *android.app.ActionBar.Tab, android.app.FragmentTransaction) 35 public void onTabUnselected(CompatTab tab, FragmentTransaction ft); 39 *android.app.ActionBar.Tab, android.app.FragmentTransaction) 41 public void onTabReselected(CompatTab tab, FragmentTransaction ft);
|
/toolchain/binutils/binutils-2.25/bfd/ |
elf-strtab.c | 131 _bfd_elf_strtab_free (struct elf_strtab_hash *tab) 133 bfd_hash_table_free (&tab->table); 134 free (tab->array); 135 free (tab); 142 _bfd_elf_strtab_add (struct elf_strtab_hash *tab, 153 BFD_ASSERT (tab->sec_size == 0); 155 bfd_hash_lookup (&tab->table, str, TRUE, copy); 166 if (tab->size == tab->alloced) 169 tab->alloced *= 2 [all...] |
/external/autotest/client/cros/video/ |
native_html5_player.py | 25 self.tab.ExecuteJavaScript( 36 return self.tab.EvaluateJavaScript('canplay()') 46 return self.tab.EvaluateJavaScript( 55 self.tab.ExecuteJavaScript('play()') 63 self.tab.ExecuteJavaScript('pause()') 72 return self.tab.EvaluateJavaScript(cmd) 81 return self.tab.EvaluateJavaScript(cmd) 89 return self.tab.EvaluateJavaScript('currentTime()') 100 self.tab.ExecuteJavaScript(cmd) 108 return self.tab.EvaluateJavaScript('finishedSeeking()' [all...] |
vimeo_player.py | 23 return self.tab.EvaluateJavaScript('%s.isready' % self.video_id) 31 self.tab.ExecuteJavaScript('%s.play()' % self.video_id) 41 self.tab.EvaluateJavaScript('%s.seekTo(%d)' % (self.video_id, 49 return self.tab.EvaluateJavaScript('%s.seeked' % self.video_id
|
histogram_verifier.py | 11 def loaded(tab, histogram_name, pattern): 15 @param tab: object, Chrome tab instance 23 tab.Navigate('chrome://histograms/%s' % histogram_name) 24 tab.WaitForDocumentReadyStateToBeComplete() 25 raw_text = tab.EvaluateJavaScript( 45 tab = cr.browser.tabs.New() 47 utils.poll_for_condition(lambda : loaded(tab, histogram_name, 84 tab = cr.browser.tabs.New() 86 utils.poll_for_condition(lambda : loaded(tab, histogram_name [all...] |
/external/autotest/client/site_tests/power_VideoSuspend/ |
power_VideoSuspend.py | 24 tab = cr.browser.tabs[0] 25 tab.Navigate(cr.browser.platform.http_server.UrlOf( 27 tab.WaitForDocumentReadyStateToBeComplete() 30 self._suspend_with_video(cr.browser, tab, url) 33 def _check_video_is_playing(self, tab): 35 return tab.EvaluateJavaScript('player.currentTime') 43 def _suspend_with_video(self, browser, tab, video_url): 45 tab.EvaluateJavaScript('play("%s")' % video_url) 47 self._check_video_is_playing(tab) 53 self._check_video_is_playing(tab) [all...] |
/external/autotest/client/site_tests/platform_InputBrowserNav/ |
platform_InputBrowserNav.py | 31 def test_back(self, tab): 34 @param tab: current tab. 40 self.verify_url(tab, self.URL_1) 42 def test_forward(self, tab): 45 @param tab: current tab. 51 self.verify_url(tab, self.URL_2) 53 def test_refresh(self, tab): 56 @param tab: current tab [all...] |
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
DataBinderWriter.kt | 33 tab("case ${firstVal.modulePackage}.R.layout.${firstVal.layoutname}:") { 36 tab("return new ${firstVal.`package`}.${firstVal.implementationName}(bindingComponent, new android.view.View[]{view});") 38 tab("return ${firstVal.`package`}.${firstVal.implementationName}.bind(view, bindingComponent);") 43 tab("final Object tag = view.getTag();") 44 tab("if(tag == null) throw new java.lang.RuntimeException(\"view must have a tag\");") 48 tab("return new ${it.`package`}.${it.implementationName}(bindingComponent, new android.view.View[]{view});") 50 tab("return new ${it.`package`}.${it.implementationName}(bindingComponent, view);") 54 tab("throw new java.lang.IllegalArgumentException(\"The tag for ${firstVal.layoutname} is invalid. Received: \" + tag);"); 69 tab("return new ${firstVal.`package`}.${firstVal.implementationName}(bindingComponent, views);") 117 tab("\"_all\"" [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
TabModel.java | 28 import static com.android.deskclock.uidata.UiDataModel.Tab; 31 * All tab data is accessed via this model. 37 /** The listeners to notify when the selected tab is changed. */ 40 /** The listeners to notify when the vertical scroll state of the selected tab is changed. */ 43 /** The scrolled-to-top state of each tab. */ 44 private final boolean[] mTabScrolledToTop = new boolean[Tab.values().length]; 46 /** An enumerated value indicating the currently selected tab. */ 47 private Tab mSelectedTab; 55 // Selected tab 59 * @param tabListener to be notified when the selected tab change [all...] |
/external/autotest/client/site_tests/audio_AudioCorruption/ |
audio_AudioCorruption.py | 24 tab = cr.browser.tabs[0] 25 tab.Navigate(cr.browser.platform.http_server.UrlOf( 27 tab.WaitForDocumentReadyStateToBeComplete() 29 tab.EvaluateJavaScript( 34 lambda: tab.EvaluateJavaScript('corruptionDetected()'),
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
MediaDump.java | 39 TabHost tab = getTabHost(); local 41 // Setup video dumping tab 42 TabHost.TabSpec videoDumpTab = tab.newTabSpec("VideoDump"); 48 tab.addTab(videoDumpTab); 50 // Setup rgb player tab 51 TabHost.TabSpec rgbPlayerTab = tab.newTabSpec("RgbPlayer"); 57 tab.addTab(rgbPlayerTab);
|
/external/autotest/client/site_tests/policy_ManagedBookmarks/ |
policy_ManagedBookmarks.py | 76 tab = self._open_boomark_manager_to_folder(0) 78 tree_items = self.get_elements_from_page(tab, cmd) 90 tab.Close() 92 tab.Close() 95 tab = self._open_boomark_manager_to_folder(folder_id) 105 bookmark_items = self.get_elements_from_page(tab, cmd) 106 tab.Close() 124 @returns: tab loaded with bookmark manager page. 129 tab = self.navigate_to_url(bmp_url) 132 tab.WaitForJavaScriptCondition [all...] |
/external/autotest/client/site_tests/power_FlashVideoSuspend/ |
power_FlashVideoSuspend.py | 23 tab = cr.browser.tabs[0] 24 tab.Navigate(cr.browser.platform.http_server.UrlOf( 29 def check_video_is_playing(self, tab): 33 @param tab: Object to the browser tab 37 return tab.EvaluateJavaScript('player.getCurrentTime()') 45 def suspend_with_youtube(self, tab, video_url): 49 @param tab: Object to the browser tab 52 tab.WaitForDocumentReadyStateToBeInteractiveOrBetter( [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
coffdump.c | 38 static void tab (int); 51 tab (int x) function 105 tab (1); 117 tab (0); 122 tab (-1); 128 tab (1); 157 tab (0); 161 tab(0); 241 tab (-1); 247 tab (1) [all...] |
/external/autotest/client/site_tests/video_YouTubeMseEme/ |
video_YouTubeMseEme.py | 38 self.tab = chrome.browser.tabs[0] 39 self.tab.Navigate(player_page) 40 self.tab.WaitForDocumentReadyStateToBeComplete() 49 self.tab.WaitForJavaScriptCondition( 54 """A wrapper to load a JS file into the current tab. 62 self.tab.ExecuteJavaScript(js) 84 return self.tab.EvaluateJavaScript( 98 self.tab.EvaluateJavaScript( 107 self.tab.ExecuteJavaScript('window.__testAttach();') 115 self.tab.ExecuteJavaScript('window.__testAddSourceBuffer();' [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
3-2.c | 102 int tab[4]; variable 107 tab[global]=n; \ 127 ret = pthread_setspecific(tld[0], (void *)&tab[3]); 134 ret = pthread_setspecific(tld[1], (void *)&tab[3]); 140 ret = pthread_setspecific(tld[2], (void *)&tab[3]); 182 tab[j] = 0; 229 if ((tab[j] != j + 1) || (tab[3] != 9)) { 232 tab[0], tab[1], tab[2] [all...] |
/external/valgrind/VEX/priv/ |
host_generic_regs.c | 123 void ppHRegUsage ( const RRegUniverse* univ, HRegUsage* tab ) 132 Bool rRd = (tab->rRead & (1ULL << i)) != 0; 133 Bool rWr = (tab->rWritten & (1ULL << i)) != 0; 144 for (UInt i = 0; i < tab->n_vRegs; i++) { 146 switch (tab->vMode[i]) { 153 ppHReg(tab->vRegs[i]); 164 void addHRegUse ( HRegUsage* tab, HRegMode mode, HReg reg ) 172 for (i = 0; i < tab->n_vRegs; i++) 173 if (sameHReg(tab->vRegs[i], reg)) 175 if (i == tab->n_vRegs) [all...] |
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
CompatActionBarNavHandler.java | 20 import android.app.ActionBar.Tab; 49 * Called by framework when a tab is selected. 54 public void onTabSelected(Tab tab, FragmentTransaction ft) { 56 mNavListener.onCategorySelected(tab.getPosition()); 72 * Called by framework when a tab is re-selected. That is, it was already selected and is 76 public void onTabReselected(Tab tab, FragmentTransaction ft) { 81 * Called by framework when a tab is unselected. Not used in our app. 84 public void onTabUnselected(Tab tab, FragmentTransaction ft) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 842 const VLCtab2 *tab; local 847 /* if(GetTcoeffIntra(code,pTcoef,&tab,stream)!=PV_SUCCESS) return status;*/ 850 tab = &PV_DCT3Dtab3[(code >> 6) - 16]; 856 tab = &PV_DCT3Dtab4[(code >> 3) - 32]; 862 tab = &PV_DCT3Dtab5[(code>>1) - 8]; 871 PV_BitstreamFlushBits(stream, tab->len + 1); 872 pTcoef->sign = (code >> (12 - tab->len)) & 1; 873 pTcoef->run = (uint) tab->run; //(tab->val >> 8) & 255; 874 pTcoef->level = (int) tab->level; //tab->val & 255 1025 const VLCtab2 *tab; local 1204 const VLCtab2 *tab; local 1264 const VLCtab2 *tab; local 1319 const VLCtab2 *tab; local 1392 const VLCtab2 *tab; local [all...] |
/external/autotest/client/site_tests/policy_ImagesAllowedForUrls/ |
policy_ImagesAllowedForUrls.py | 73 def _wait_for_page_ready(self, tab): 75 lambda: tab.EvaluateJavaScript('pageReady'), 79 def _is_image_blocked(self, tab): 80 image_width = tab.EvaluateJavaScript( 96 tab = self.navigate_to_url(self.TEST_URL) 97 self._wait_for_page_ready(tab) 98 image_is_blocked = self._is_image_blocked(tab) 109 tab.Close()
|
/external/autotest/client/site_tests/policy_ImagesBlockedForUrls/ |
policy_ImagesBlockedForUrls.py | 72 def _wait_for_page_ready(self, tab): 74 lambda: tab.EvaluateJavaScript('pageReady'), 78 def _is_image_blocked(self, tab): 79 image_width = tab.EvaluateJavaScript( 94 tab = self.navigate_to_url(self.TEST_URL) 95 self._wait_for_page_ready(tab) 96 image_is_blocked = self._is_image_blocked(tab) 107 tab.Close()
|
/external/autotest/client/site_tests/policy_JavaScriptAllowedForUrls/ |
policy_JavaScriptAllowedForUrls.py | 75 def _can_execute_javascript(self, tab): 78 @param tab: browser tab containing JavaScript to run. 82 lambda: tab.EvaluateJavaScript('jsAllowed', timeout=2), 102 tab = self.cr.browser.tabs.New() 103 tab.Activate() 104 tab.Navigate(self.TEST_URL) 108 lambda: tab.url == self.TEST_URL, 110 javascript_is_allowed = self._can_execute_javascript(tab) 121 tab.Close( [all...] |
/external/autotest/client/site_tests/policy_JavaScriptBlockedForUrls/ |
policy_JavaScriptBlockedForUrls.py | 77 def _can_execute_javascript(self, tab): 80 @param tab: browser tab containing JavaScript to run. 85 lambda: tab.EvaluateJavaScript('jsAllowed', timeout=2), 106 tab = self.cr.browser.tabs.New() 107 tab.Activate() 108 tab.Navigate(self.TEST_URL) 112 lambda: tab.url == self.TEST_URL, 114 javascript_is_allowed = self._can_execute_javascript(tab) 125 tab.Close( [all...] |
/external/autotest/client/site_tests/policy_NotificationsAllowedForUrls/ |
policy_NotificationsAllowedForUrls.py | 66 def _wait_for_page_ready(self, tab): 67 """Wait for JavaScript on page in |tab| to set the pageReady flag. 69 @param tab: browser tab with page to load. 72 lambda: tab.EvaluateJavaScript('pageReady'), 76 def _are_notifications_allowed(self, tab): 79 @param: chrome tab which has test page loaded. 82 notification_permission = tab.EvaluateJavaScript( 100 tab = self.navigate_to_url(self.TEST_URL) 101 self._wait_for_page_ready(tab) [all...] |