Home
last modified time | relevance | path

Searched refs:eventName (Results 1 – 18 of 18) 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.java54 private synchronized int incrementAndGetRefCount(String eventName) { in incrementAndGetRefCount() argument
56 (mEventTriggerRefCounts.containsKey(eventName)) ? mEventTriggerRefCounts.get(eventName) : 0; in incrementAndGetRefCount()
58 mEventTriggerRefCounts.put(eventName, refCount); in incrementAndGetRefCount()
62 private synchronized int decrementAndGetRefCount(String eventName) { in decrementAndGetRefCount() argument
64 (mEventTriggerRefCounts.containsKey(eventName)) ? mEventTriggerRefCounts.get(eventName) : 0; in decrementAndGetRefCount()
66 mEventTriggerRefCounts.put(eventName, refCount); in decrementAndGetRefCount()
86 private void startMonitoring(String eventName) { in startMonitoring() argument
88 mStartEventGeneratingMethodDescriptors.get(eventName); in startMonitoring()
96 private void stopMonitoring(String eventName) { in stopMonitoring() argument
98 mStopEventGeneratingMethodDescriptors.get(eventName); in stopMonitoring()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DEventFacade.java179 final String eventName, in eventWaitFor()
188 if (event.getName().equals(eventName)) { in eventWaitFor()
196 addNamedEventObserver(eventName, new EventObserver() { in eventWaitFor()
199 if (event.getName().equals(eventName)) { in eventWaitFor()
343 final String eventName, in waitForEvent()
348 return eventWaitFor(eventName, removeEvent, timeout); in waitForEvent()
398 public void addNamedEventObserver(String eventName, EventObserver observer) { in addNamedEventObserver() argument
399 mNamedEventObservers.put(eventName, observer); in addNamedEventObserver()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DJDWPEventModifierTestCase.java208 String eventName = JDWPConstants.EventKind.getName(event.eventKind); in requestEvent() local
209 logWriter.println("Requesting " + eventName); in requestEvent()
211 checkReplyPacket(reply, "Failed to request " + eventName); in requestEvent()
228 String eventName = JDWPConstants.EventKind.getName(eventKind); in waitForEvent() local
230 "Waiting for " + eventName + " with requestID " + requestID + " ..."); in waitForEvent()
239 logWriter.println("Received " + eventName + " event"); in waitForEvent()
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/facade/
DFacadeConfiguration.java190 String eventName = method.getAnnotation(RpcStartEvent.class).value(); in collectStartEventMethodDescriptors() local
191 if (map.containsKey(eventName)) { in collectStartEventMethodDescriptors()
192 Log.d("Duplicate eventName " + eventName); in collectStartEventMethodDescriptors()
195 map.put(eventName, descriptor); in collectStartEventMethodDescriptors()
206 String eventName = method.getAnnotation(RpcStopEvent.class).value(); in collectStopEventMethodDescriptors() local
207 if (map.containsKey(eventName)) { in collectStopEventMethodDescriptors()
210 map.put(eventName, descriptor); in collectStopEventMethodDescriptors()
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
DScriptTrigger.java37 public ScriptTrigger(String eventName, File script) { in ScriptTrigger() argument
38 mEventName = eventName; in ScriptTrigger()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/
DHtmlActivityTask.java249 public void register(String eventName, Integer id) { in register() argument
250 if (mEventMap.containsKey(eventName)) { in register()
251 mEventMap.get(eventName).add(id); in register()
255 mEventMap.put(eventName, idSet); in register()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java627 String eventName = null; in onReceive() local
641 eventName = TelephonyConstants.EventCmasReceived; in onReceive()
656 eventName = TelephonyConstants.EventEtwsReceived; in onReceive()
666 if (eventName != null) in onReceive()
667 mEventFacade.postEvent(eventName, event); in onReceive()
DInCallServiceImpl.java624 private static boolean servicePostEvent(String eventName, Object event) { in servicePostEvent() argument
631 mEventFacade.postEvent(eventName, event); in servicePostEvent()
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java332 String eventName = mMethod.getAnnotation(RpcStartEvent.class).value(); in getHelp() local
333 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/chromium-trace/catapult/third_party/flot/
Djquery.min.js1eventName,i,isSupported,clickFn,div=document.createElement("div");div.setAttribute("className","t"…
Djquery.js1252 eventName,
1404 eventName = "on" + i;
1405 isSupported = ( eventName in div );
1407 div.setAttribute( eventName, "return;" );
1408 isSupported = ( typeof div[ eventName ] === "function" );
/external/chromium-trace/catapult/third_party/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" );
/external/chromium-trace/catapult/tracing/third_party/components/polymer/
Dpolymer.js732 addEvent: function(target, eventName) { argument
733 target.addEventListener(eventName, this.boundHandler);
735 removeEvent: function(target, eventName) { argument
736 target.removeEventListener(eventName, this.boundHandler);
/external/chromium-trace/catapult/third_party/polymer/components/polymer/
Dpolymer.js732 addEvent: function(target, eventName) { argument
733 target.addEventListener(eventName, this.boundHandler);
735 removeEvent: function(target, eventName) { argument
736 target.removeEventListener(eventName, this.boundHandler);