Home
last modified time | relevance | path

Searched refs:eventName (Results 1 – 20 of 20) sorted by relevance

/external/autotest/client/site_tests/video_VimeoVideo/
Dfroogaloop.js65 addEvent: function(eventName, callback) { argument
75 storeCallback(eventName, callback, target_id);
78 if (eventName != 'ready') {
79 postMessage('addEventListener', eventName, element);
81 else if (eventName == 'ready' && isReady) {
93 removeEvent: function(eventName) { argument
101 removed = removeCallback(eventName, target_id);
104 if (eventName != 'ready' && removed) {
105 postMessage('removeEventListener', eventName, element);
200 function storeCallback(eventName, callback, target_id) { argument
[all …]
/external/autotest/client/site_tests/video_GlitchDetection/
Dfroogaloop.js65 addEvent: function(eventName, callback) { argument
75 storeCallback(eventName, callback, target_id);
78 if (eventName != 'ready') {
79 postMessage('addEventListener', eventName, element);
81 else if (eventName == 'ready' && isReady) {
93 removeEvent: function(eventName) { argument
101 removed = removeCallback(eventName, target_id);
104 if (eventName != 'ready' && removed) {
105 postMessage('removeEventListener', eventName, element);
200 function storeCallback(eventName, callback, target_id) { argument
[all …]
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/trigger/
DEventGenerationControllingObserver.java53 private synchronized int incrementAndGetRefCount(String eventName) { in incrementAndGetRefCount() argument
55 (mEventTriggerRefCounts.containsKey(eventName)) ? mEventTriggerRefCounts.get(eventName) : 0; in incrementAndGetRefCount()
57 mEventTriggerRefCounts.put(eventName, refCount); in incrementAndGetRefCount()
61 private synchronized int decrementAndGetRefCount(String eventName) { in decrementAndGetRefCount() argument
63 (mEventTriggerRefCounts.containsKey(eventName)) ? mEventTriggerRefCounts.get(eventName) : 0; in decrementAndGetRefCount()
65 mEventTriggerRefCounts.put(eventName, refCount); in decrementAndGetRefCount()
85 private void startMonitoring(String eventName) { in startMonitoring() argument
87 mStartEventGeneratingMethodDescriptors.get(eventName); in startMonitoring()
95 private void stopMonitoring(String eventName) { in stopMonitoring() argument
97 mStopEventGeneratingMethodDescriptors.get(eventName); in stopMonitoring()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DPerfStatsCollector.java41 public Event startEvent(String eventName) { in startEvent() argument
42 return new Event(eventName); in startEvent()
45 public <T, E extends Exception> T measure(String eventName, ThrowingSupplier<T, E> supplier) in measure() argument
48 Event event = startEvent(eventName); in measure()
67 public <E extends Exception> void measure(String eventName, ThrowingRunnable<E> runnable) in measure() argument
70 Event event = startEvent(eventName); in measure()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DEventFacade.java178 final String eventName, in eventWaitFor()
187 if (event.getName().equals(eventName)) { in eventWaitFor()
195 addNamedEventObserver(eventName, new EventObserver() { in eventWaitFor()
198 if (event.getName().equals(eventName)) { in eventWaitFor()
342 final String eventName, in waitForEvent()
347 return eventWaitFor(eventName, removeEvent, timeout); in waitForEvent()
397 public void addNamedEventObserver(String eventName, EventObserver observer) { in addNamedEventObserver() argument
398 mNamedEventObservers.put(eventName, observer); in addNamedEventObserver()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DJDWPEventModifierTestCase.java198 String eventName = JDWPConstants.EventKind.getName(event.eventKind); in requestEvent() local
199 logWriter.println("Requesting " + eventName); in requestEvent()
201 checkReplyPacket(reply, "Failed to request " + eventName); in requestEvent()
218 String eventName = JDWPConstants.EventKind.getName(eventKind); in waitForEvent() local
220 "Waiting for " + eventName + " with requestID " + requestID + " ..."); in waitForEvent()
229 logWriter.println("Received " + eventName + " event"); in waitForEvent()
/external/python/cpython2/Lib/idlelib/
DconfigHandler.py481 for eventName in eventNames:
482 event = '<<' + eventName + '>>'
498 for eventName in eventNames:
500 'extensions', keysName, eventName, default='').split()
501 event = '<<' + eventName + '>>'
517 for eventName in eventNames:
519 'extensions', bindsName, eventName, default='').split()
520 event = '<<' + eventName + '>>'
531 eventName = eventStr[2:-2] #trim off the angle brackets
532 binding = self.GetOption('keys', keySetName, eventName, default='').split()
DconfigDialog.py724 eventName = event[2:-2] #trim off the angle brackets
726 newKeys[eventName] = binding
/external/python/cpython3/Lib/idlelib/
Dconfig.py501 for eventName in eventNames:
502 event = '<<' + eventName + '>>'
518 for eventName in eventNames:
520 'extensions', keysName, eventName, default='').split()
521 event = '<<' + eventName + '>>'
537 for eventName in eventNames:
539 'extensions', bindsName, eventName, default='').split()
540 event = '<<' + eventName + '>>'
551 eventName = eventStr[2:-2] #trim off the angle brackets
552 binding = self.GetOption('keys', keySetName, eventName, default='',
Dconfigdialog.py726 eventName = event[2:-2] #trim off the angle brackets
728 newKeys[eventName] = binding
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/facade/
DFacadeConfiguration.java219 String eventName = method.getAnnotation(RpcStartEvent.class).value(); in collectStartEventMethodDescriptors() local
220 if (map.containsKey(eventName)) { in collectStartEventMethodDescriptors()
221 Log.d("Duplicate eventName " + eventName); in collectStartEventMethodDescriptors()
224 map.put(eventName, descriptor); in collectStartEventMethodDescriptors()
235 String eventName = method.getAnnotation(RpcStopEvent.class).value(); in collectStopEventMethodDescriptors() local
236 if (map.containsKey(eventName)) { in collectStopEventMethodDescriptors()
239 map.put(eventName, descriptor); in collectStopEventMethodDescriptors()
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DScriptTrigger.java36 public ScriptTrigger(String eventName, File script) { in ScriptTrigger() argument
37 mEventName = eventName; in ScriptTrigger()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/
DHtmlActivityTask.java248 public void register(String eventName, Integer id) { in register() argument
249 if (mEventMap.containsKey(eventName)) { in register()
250 mEventMap.get(eventName).add(id); in register()
254 mEventMap.put(eventName, idSet); in register()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java684 String eventName = null; in onReceive() local
698 eventName = TelephonyConstants.EventCmasReceived; in onReceive()
713 eventName = TelephonyConstants.EventEtwsReceived; in onReceive()
723 if (eventName != null) in onReceive()
724 mEventFacade.postEvent(eventName, event); in onReceive()
DInCallServiceImpl.java622 private static boolean servicePostEvent(String eventName, Object event) { in servicePostEvent() argument
629 mEventFacade.postEvent(eventName, event); in servicePostEvent()
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java331 String eventName = mMethod.getAnnotation(RpcStartEvent.class).value(); in getHelp() local
332 helpBuilder.append(String.format("\n\nGenerates \"%s\" events.", eventName)); in getHelp()
/external/sonivox/jet_tools/JetCreator/
DJetCreator.py381 def SelectEvent(self, eventName): argument
383 itm = self.eventList.FindItem(-1, eventName)
784 eventName = getColumnText(self.eventList,item,0)
785 self.EventDelete(eventName)
791 def EventDelete(self, eventName): argument
794 self.jet_file.DeleteEvent(self.currentSegmentName, eventName)
DJetFile.py524 def GetEvent(self, segName, eventName): argument
529 if event.event_name == eventName:
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiAwareManagerFacade.java735 private void postEvent(String eventName, Bundle results) { in postEvent() argument
736 String finalEventName = eventName; in postEvent()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Djquery-1.7.1.js1343 eventName,
1502 eventName = "on" + i;
1503 isSupported = ( eventName in div );
1505 div.setAttribute( eventName, "return;" );
1506 isSupported = ( typeof div[ eventName ] === "function" );