[go: nahoru, domu]

Searched defs:eventType (Results 1 - 25 of 59) sorted by path

123

/frameworks/av/drm/libmediadrm/
H A DDrm.cpp126 void Drm::sendEvent(DrmPlugin::EventType eventType, int extra, argument
140 listener->notify(eventType, extra, &obj);
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp420 DrmPlugin::EventType eventType = (DrmPlugin::EventType)code; local
437 sendEvent(eventType, extra, pSessionId, pData);
/frameworks/av/media/libmedia/
H A DIDrmClient.cpp43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) argument
47 data.writeInt32((int)eventType);
66 int eventType = data.readInt32(); local
73 notify((DrmPlugin::EventType)eventType, extra, &obj);
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp47 void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj);
64 void DrmListener::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { argument
87 switch(eventType) {
101 ALOGE("Invalid event DrmPlugin::EventType %d, ignored", (int)eventType);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java182 * @param eventType
187 final int eventType, long timeout) {
204 return runAndWaitForEvents(command, new WaitForAnyEventPredicate(eventType), timeout)
186 sendKeyAndWaitForEvent(final int keyCode, final int metaState, final int eventType, long timeout) argument
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManagerInternal.java36 * @param eventType The event that occurred. Valid values can be found at
39 public abstract void reportEvent(ComponentName component, int userId, int eventType); argument
46 * @param eventType The event that occurred. Valid values can be found at
49 public abstract void reportEvent(String packageName, int userId, int eventType); argument
/frameworks/base/core/java/android/hardware/location/
H A DActivityRecognitionEvent.java32 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument
34 mEventType = eventType;
55 int eventType = source.readInt();
58 return new ActivityRecognitionEvent(activity, eventType, timestampNs);
H A DActivityRecognitionHardware.java117 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) { argument
125 int result = nativeEnableActivityEvent(activityType, eventType, reportLatencyNs);
127 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_ENABLED;
134 public boolean disableActivityEvent(String activity, int eventType) { argument
142 int result = nativeDisableActivityEvent(activityType, eventType);
144 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_DISABLED;
248 private void disableActivityEventIfEnabled(int activityType, int eventType) { argument
249 if (mSupportedActivitiesEnabledEvents[activityType][eventType] != EVENT_TYPE_ENABLED) {
253 int result = nativeDisableActivityEvent(activityType, eventType);
254 mSupportedActivitiesEnabledEvents[activityType][eventType]
273 nativeEnableActivityEvent( int activityType, int eventType, long reportLatenceNs) argument
277 nativeDisableActivityEvent(int activityType, int eventType) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java987 private void sendAccessibilityEventForUnicodeCharacter(int eventType, int code) { argument
989 AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
1028 if (eventType == AccessibilityEvent.TYPE_VIEW_HOVER_EXIT) {
/frameworks/base/core/java/android/net/metrics/
H A DIpManagerEvent.java37 public final int eventType; field in class:IpManagerEvent
40 private IpManagerEvent(String ifName, int eventType, long duration) { argument
42 this.eventType = eventType;
48 this.eventType = in.readInt();
54 out.writeInt(eventType);
73 public static void logEvent(int eventType, String ifName, long durationMs) { argument
74 logEvent(new IpManagerEvent(ifName, eventType, durationMs));
80 ifName, Decoder.constants.get(eventType), durationMs);
H A DIpReachabilityEvent.java37 // eventType byte format (MSB to LSB):
42 public final int eventType; field in class:IpReachabilityEvent
44 private IpReachabilityEvent(String ifName, int eventType) { argument
46 this.eventType = eventType;
51 this.eventType = in.readInt();
56 out.writeInt(eventType);
89 Decoder.constants.get(eventType));
H A DNetworkEvent.java41 public final int eventType; field in class:NetworkEvent
44 private NetworkEvent(int netId, int eventType, long durationMs) { argument
46 this.eventType = eventType;
52 eventType = in.readInt();
58 out.writeInt(eventType);
77 public static void logEvent(int netId, int eventType) { argument
78 logEvent(new NetworkEvent(netId, eventType, 0));
92 netId, Decoder.constants.get(eventType), durationMs);
/frameworks/base/core/java/android/speech/
H A DRecognitionListener.java95 * @param eventType the type of the occurred event
98 void onEvent(int eventType, Bundle params); argument
H A DSpeechRecognizer.java503 public void onEvent(final int eventType, final Bundle params) { argument
504 Message.obtain(mInternalHandler, MSG_ON_EVENT, eventType, eventType, params)
/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java645 private boolean startEvent(InputEvent event, int nestingLevel, String eventType) { argument
649 && eventType == mLastEventType) {
655 mLastEventType = eventType;
664 mCurrentEventType = eventType;
H A DView.java6204 * @param eventType The type of the event to send, as defined by several types from
6214 public void sendAccessibilityEvent(int eventType) { argument
6216 mAccessibilityDelegate.sendAccessibilityEvent(this, eventType);
6218 sendAccessibilityEventInternal(eventType);
6249 public void sendAccessibilityEventInternal(int eventType) { argument
6251 sendAccessibilityEventUnchecked(AccessibilityEvent.obtain(eventType));
8917 private void sendAccessibilityHoverEvent(int eventType) { argument
8930 source.sendAccessibilityEvent(eventType);
23272 * @param eventType The type of the event to send.
23276 public void sendAccessibilityEvent(View host, int eventType) { argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEvent.java882 * @param eventType The event type.
886 public void setEventType(int eventType) { argument
888 mEventType = eventType;
989 * @param eventType The event type.
992 public static AccessibilityEvent obtain(int eventType) { argument
994 event.setEventType(eventType);
1242 * @param eventType The event type
1245 public static String eventTypeToString(int eventType) { argument
1246 if (eventType == TYPES_ALL_MASK) {
1251 while (eventType !
[all...]
H A DAccessibilityEventSource.java44 * @param eventType The event type.
46 public void sendAccessibilityEvent(int eventType); argument
/frameworks/base/core/java/android/widget/
H A DAbsListView.java1480 public void sendAccessibilityEventInternal(int eventType) { argument
1484 if (eventType == AccessibilityEvent.TYPE_VIEW_SCROLLED) {
1495 super.sendAccessibilityEventInternal(eventType);
H A DNumberPicker.java2520 public void sendAccessibilityEventForVirtualView(int virtualViewId, int eventType) { argument
2524 sendAccessibilityEventForVirtualButton(virtualViewId, eventType,
2529 sendAccessibilityEventForVirtualText(eventType);
2533 sendAccessibilityEventForVirtualButton(virtualViewId, eventType,
2540 private void sendAccessibilityEventForVirtualText(int eventType) { argument
2542 AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
2550 private void sendAccessibilityEventForVirtualButton(int virtualViewId, int eventType, argument
2553 AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
H A DTabHost.java175 public void sendAccessibilityEventInternal(int eventType) { argument
H A DTextView.java9260 public void sendAccessibilityEventInternal(int eventType) { argument
9261 if (eventType == AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED && mEditor != null) {
9268 if (eventType == AccessibilityEvent.TYPE_VIEW_SCROLLED) {
9271 super.sendAccessibilityEventInternal(eventType);
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java532 public void sendAccessibilityEvent(int eventType) { argument
545 getChildAt(0).sendAccessibilityEvent(eventType);
547 super.sendAccessibilityEvent(eventType);
/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java175 * @param eventType The type of event to send.
178 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { argument
188 final AccessibilityEvent event = createEvent(virtualViewId, eventType);
287 * @param eventType The type of event to construct.
291 private AccessibilityEvent createEvent(int virtualViewId, int eventType) { argument
294 return createEventForHost(eventType);
296 return createEventForChild(virtualViewId, eventType);
303 * @param eventType The type of event to construct.
307 private AccessibilityEvent createEventForHost(int eventType) { argument
308 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
327 createEventForChild(int virtualViewId, int eventType) argument
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionEvent.java27 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument
29 mEventType = eventType;

Completed in 768 milliseconds

123