/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
DataBinderWriter.kt | 24 tab("final static int TARGET_MIN_SDK = $minSdk;") 26 tab("public $className() {") { 28 tab("}") 30 tab("public android.databinding.ViewDataBinding getDataBinder(android.databinding.DataBindingComponent bindingComponent, android.view.View view, int layoutId) {") { 31 tab("switch(layoutId) {") { 34 tab("case ${firstVal.modulePackage}.R.layout.${firstVal.layoutname}:") { 37 tab("return new ${firstVal.`package`}.${firstVal.implementationName}(bindingComponent, new android.view.View[]{view});") 39 tab("return ${firstVal.`package`}.${firstVal.implementationName}.bind(view, bindingComponent);") 43 tab("{") { 44 tab("final Object tag = view.getTag();" [all...] |
LayoutBinderWriter.kt | 307 tab(declareIncludeViews()) 308 tab(declareViews()) 309 tab(declareVariables()) 310 tab(declareBoundValues()) 311 tab(declareListeners()) 312 tab(declareInverseBindingImpls()); 313 tab(declareConstructor(minSdk)) 314 tab(declareInvalidateAll()) 315 tab(declareHasPendingBindings()) 316 tab(declareSetVariable() [all...] |
/external/mesa3d/src/mesa/main/ |
vtxfmt.c | 48 install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab, 52 _mesa_install_arrayelt_vtxfmt(tab, vfmt); 53 SET_Color3f(tab, vfmt->Color3f); 54 SET_Color3fv(tab, vfmt->Color3fv); 55 SET_Color4f(tab, vfmt->Color4f); 56 SET_Color4fv(tab, vfmt->Color4fv); 57 SET_EdgeFlag(tab, vfmt->EdgeFlag); 61 _mesa_install_eval_vtxfmt(tab, vfmt); 65 SET_FogCoordfEXT(tab, vfmt->FogCoordfEXT); 66 SET_FogCoordfvEXT(tab, vfmt->FogCoordfvEXT) [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
media_action.py | 15 def WillRunAction(self, tab): 17 utils.InjectJavaScript(tab, 'media_action.js') 19 def RunAction(self, tab): 20 super(MediaAction, self).RunAction(tab) 22 def WaitForEvent(self, tab, selector, event_name, timeout_in_seconds): 26 tab: The tab to check for event on. 33 self.HasEventCompletedOrError(tab, selector, event_name), 36 def HasEventCompletedOrError(self, tab, selector, event_name): 37 if tab.EvaluateJavaScript [all...] |
mouse_click.py | 13 def WillRunAction(self, tab): 15 super(MouseClickAction, self).WillRunAction(tab) 16 utils.InjectJavaScript(tab, 'mouse_click.js') 18 tab.ExecuteJavaScript(""" 23 def RunAction(self, tab): 34 tab, code, selector=self._selector) 35 tab.WaitForJavaScriptExpression('window.__mouseClickActionDone', 60)
|
pinch.py | 29 def WillRunAction(self, tab): 30 utils.InjectJavaScript(tab, 'gesture_common.js') 31 utils.InjectJavaScript(tab, 'pinch.js') 34 if not tab.EvaluateJavaScript('window.__PinchAction_SupportedByBrowser()'): 39 tab.ExecuteJavaScript(""" 45 def _GetDefaultScaleFactorForPage(tab): 46 current_scale_factor = tab.EvaluateJavaScript( 50 def RunAction(self, tab): 52 PinchAction._GetDefaultScaleFactorForPage(tab)) 70 tab, code, selector=self._selector, text=self._text [all...] |
utils.py | 8 def InjectJavaScript(tab, jsFileName): 11 tab.ExecuteJavaScript(js)
|
drag.py | 45 def WillRunAction(self, tab): 46 utils.InjectJavaScript(tab, 'gesture_common.js') 47 utils.InjectJavaScript(tab, 'drag.js') 50 if not tab.EvaluateJavaScript('window.__DragAction_SupportedByBrowser()'): 56 if not page_action.IsGestureSourceTypeSupported(tab, 'touch'): 66 tab.ExecuteJavaScript(''' 71 def RunAction(self, tab): 77 if (page_action.IsGestureSourceTypeSupported(tab, 'mouse') and 102 tab, code, selector=self._selector, text=self._text, 104 tab.WaitForJavaScriptExpression('window.__dragActionDone', 60 [all...] |
page_action.py | 31 def WillRunAction(self, tab): 36 def RunAction(self, tab): 39 def CleanUp(self, tab): 43 tab, callback_js, selector=None, text=None, element_function=None, 55 tab: A telemetry.core.Tab object. 118 tab.WaitForJavaScriptExpression(code, timeout_in_seconds) 121 return tab.EvaluateJavaScript(code) 128 def IsGestureSourceTypeSupported(tab, gesture_source_type): 132 if tab.EvaluateJavaScript("" [all...] |
play.py | 31 def WillRunAction(self, tab): 33 super(PlayAction, self).WillRunAction(tab) 34 utils.InjectJavaScript(tab, 'play.js') 36 def RunAction(self, tab): 38 tab.ExecuteJavaScript('window.__playMedia("%s");' % self._selector) 41 self.WaitForEvent(tab, self._selector, 'playing', 45 self.WaitForEvent(tab, self._selector, 'ended',
|
scroll_bounce.py | 43 def WillRunAction(self, tab): 44 utils.InjectJavaScript(tab, 'gesture_common.js') 45 utils.InjectJavaScript(tab, 'scroll_bounce.js') 48 if not tab.EvaluateJavaScript( 55 if not page_action.IsGestureSourceTypeSupported(tab, 'touch'): 65 tab.ExecuteJavaScript(""" 70 def RunAction(self, tab): 94 tab, code, selector=self._selector, text=self._text, 96 tab.WaitForJavaScriptExpression('window.__scrollBounceActionDone', 60)
|
swipe.py | 29 def WillRunAction(self, tab): 30 utils.InjectJavaScript(tab, 'gesture_common.js') 31 utils.InjectJavaScript(tab, 'swipe.js') 34 if not tab.EvaluateJavaScript('window.__SwipeAction_SupportedByBrowser()'): 43 if not page_action.IsGestureSourceTypeSupported(tab, 'touch'): 48 tab.ExecuteJavaScript(""" 53 def RunAction(self, tab): 76 tab, code, selector=self._selector, text=self._text, 78 tab.WaitForJavaScriptExpression('window.__swipeActionDone', 60)
|
/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 | 22 self.tab.ExecuteJavaScript( 33 return self.tab.EvaluateJavaScript('canplay()') 41 self.tab.ExecuteJavaScript('play()') 49 self.tab.ExecuteJavaScript('pause()') 58 return self.tab.EvaluateJavaScript(cmd) 67 return self.tab.EvaluateJavaScript(cmd) 75 return self.tab.EvaluateJavaScript('currentTime()') 86 self.tab.ExecuteJavaScript(cmd) 94 return self.tab.EvaluateJavaScript('finishedSeeking()') 102 return self.tab.WaitForJavaScriptExpression('errorDetected();', 30 [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
|
/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...] |
/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/chromium-trace/catapult/telemetry/telemetry/page/ |
cache_temperature.py | 63 tab = browser.tabs[0] 64 tab.Navigate("http://does.not.exist") 65 tab.WaitForDocumentReadyStateToBeComplete() 80 tab = browser.tabs[0] 81 tab.Navigate("http://does.not.exist") 82 tab.WaitForDocumentReadyStateToBeComplete() 86 tab = browser.tabs[0] 87 tab.Navigate(page.url) 88 util.WaitFor(tab.HasReachedQuiescence, 60) 89 tab.WaitForDocumentReadyStateToBeComplete( [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
form_based_credentials_backend_unittest_base.py | 22 tab = simple_mock.MockObject() 28 tab.ExpectCall('Navigate', login_page_url) 29 tab.ExpectCall('EvaluateJavaScript', already_logged_in_js).WillReturn(False) 30 tab.ExpectCall('WaitForDocumentReadyStateToBeInteractiveOrBetter') 40 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifyEmail) 45 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifyPw) 49 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifySubmit) 52 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(False) 54 backend.LoginNeeded(tab, ar, config)
|
form_based_credentials_backend.py | 14 def IsAlreadyLoggedIn(self, tab): 15 return tab.EvaluateJavaScript(self.logged_in_javascript) 62 def _SubmitLoginFormAndWait(self, action_runner, tab, username, password): 64 tab.WaitForDocumentReadyStateToBeInteractiveOrBetter() 69 tab.ExecuteJavaScript(email_id) 70 tab.ExecuteJavaScript(password) 72 tab.ExecuteJavaScript(self.login_button_javascript) 74 tab.ExecuteJavaScript( 86 def LoginNeeded(self, tab, action_runner, config): 109 tab.Navigate(url [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/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
browser_credentials_unittest.py | 26 def LoginNeeded(self, config, _, tab): 27 self.login_needed_called = (config, tab) 30 def LoginNoLongerNeeded(self, tab): 31 self.login_no_longer_needed_called = (tab, ) 62 tab = FakeTab() 63 ret = browser_cred.LoginNeeded(tab, 'google') 66 self.assertEqual(tab, google_backend.login_needed_called[0]) 72 browser_cred.LoginNoLongerNeeded(tab, 'google') 74 self.assertEqual(tab, google_backend.login_no_longer_needed_called[0])
|
/libcore/ojluni/src/main/java/java/lang/ |
ThreadLocal.java | 394 Entry[] tab = table; local 395 int len = tab.length; 405 e = tab[i]; 423 Entry[] tab = table; local 424 int len = tab.length; 427 for (Entry e = tab[i]; 429 e = tab[i = nextIndex(i, len)]) { 443 tab[i] = new Entry(key, value); 453 Entry[] tab = table; local 454 int len = tab.length 484 Entry[] tab = table; local 552 Entry[] tab = table; local 613 Entry[] tab = table; local 675 Entry[] tab = table; local [all...] |