Searched defs:eventType (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEventSource.java44 * @param eventType The event type.
46 public void sendAccessibilityEvent(int eventType); argument
/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/base/core/java/android/app/usage/
H A DUsageStatsManagerInternal.java34 * @param eventType The event that occurred. Valid values can be found at
37 public abstract void reportEvent(ComponentName component, int userId, int eventType); argument
/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;
H A DActivityRecognitionProvider.java90 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) argument
92 return mService.enableActivityEvent(activity, eventType, reportLatencyNs);
95 public boolean disableActivityEvent(String activity, int eventType) throws RemoteException { argument
96 return mService.disableActivityEvent(activity, eventType);
/frameworks/base/media/java/android/media/
H A DMediaSyncEvent.java51 * @param eventType the synchronization event type.
55 public static MediaSyncEvent createEvent(int eventType) argument
57 if (!isValidType(eventType)) {
58 throw (new IllegalArgumentException(eventType
61 return new MediaSyncEvent(eventType);
68 private MediaSyncEvent(int eventType) { argument
69 mType = eventType;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DObscureSpeechDelegate.java49 public void sendAccessibilityEvent(View host, int eventType) { argument
50 super.sendAccessibilityEvent(host, eventType);
54 if ((eventType == AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED)
/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.java101 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) { argument
109 int result = nativeEnableActivityEvent(activityType, eventType, reportLatencyNs);
114 public boolean disableActivityEvent(String activity, int eventType) { argument
122 int result = nativeDisableActivityEvent(activityType, eventType);
222 int eventType,
224 private native int nativeDisableActivityEvent(int activityType, int eventType); argument
220 nativeEnableActivityEvent( int activityType, int eventType, long reportLatenceNs) argument
/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/services/usage/java/com/android/server/usage/
H A DIntervalStats.java84 void update(String packageName, long timeStamp, int eventType) { argument
89 if (eventType == UsageEvents.Event.MOVE_TO_BACKGROUND ||
90 eventType == UsageEvents.Event.END_OF_DAY) {
96 usageStats.mLastEvent = eventType;
100 if (eventType == UsageEvents.Event.MOVE_TO_FOREGROUND) {
H A DUserUsageStatsService.java559 private static String eventToString(int eventType) { argument
560 switch (eventType) {
H A DUsageStatsService.java473 public void reportEvent(ComponentName component, int userId, int eventType) { argument
486 event.mEventType = eventType;
/frameworks/native/include/media/drm/
H A DDrmAPI.h319 void sendEvent(EventType eventType, int extra,
333 virtual void sendEvent(DrmPlugin::EventType eventType, int extra,
338 inline void DrmPlugin::sendEvent(EventType eventType, int extra, argument
347 listener->sendEvent(eventType, extra, sessionId, data);
/frameworks/support/v4/ics/android/support/v4/view/
H A DAccessibilityDelegateCompatIcs.java37 public void sendAccessibilityEvent(View host, int eventType); argument
74 public void sendAccessibilityEvent(View host, int eventType) {
75 bridge.sendAccessibilityEvent(host, eventType);
111 public static void sendAccessibilityEvent(Object delegate, View host, int eventType) { argument
112 ((AccessibilityDelegate) delegate).sendAccessibilityEvent(host, eventType);
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DAccessibilityDelegateCompatJellyBean.java39 public void sendAccessibilityEvent(View host, int eventType); argument
76 public void sendAccessibilityEvent(View host, int eventType) {
77 bridge.sendAccessibilityEvent(host, eventType);
/frameworks/base/services/core/jni/
H A Dcom_android_server_power_PowerManagerService.cpp70 void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { argument
80 if (eventType >= 0 && eventType <= USER_ACTIVITY_EVENT_LAST) {
86 if (gLastEventTime[eventType] + MIN_TIME_BETWEEN_USERACTIVITIES > eventTime) {
89 gLastEventTime[eventType] = eventTime;
96 nanoseconds_to_milliseconds(eventTime), eventType, 0);
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageLogActivity.java113 final int eventType = getItem(position).getEventType();
114 if (eventType == UsageEvents.Event.CONFIGURATION_CHANGE) {
158 private String eventToString(int eventType) { argument
159 switch (eventType) {
170 return "Unknown: " + eventType;
/frameworks/support/v4/java/android/support/v4/view/
H A DAccessibilityDelegateCompat.java46 public void sendAccessibilityEvent(Object delegate, View host, int eventType); argument
96 public void sendAccessibilityEvent(Object delegate, View host, int eventType) { argument
158 public void sendAccessibilityEvent(View host, int eventType) {
159 compat.sendAccessibilityEvent(host, eventType);
203 public void sendAccessibilityEvent(Object delegate, View host, int eventType) { argument
204 AccessibilityDelegateCompatIcs.sendAccessibilityEvent(delegate, host, eventType);
249 public void sendAccessibilityEvent(View host, int eventType) {
250 compat.sendAccessibilityEvent(host, eventType);
331 * @param eventType The type of the event to send.
335 public void sendAccessibilityEvent(View host, int eventType) { argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java173 * @param eventType The type of event to send.
176 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { argument
186 final AccessibilityEvent event = createEvent(virtualViewId, eventType);
252 * @param eventType The type of event to construct.
256 private AccessibilityEvent createEvent(int virtualViewId, int eventType) { argument
259 return createEventForHost(eventType);
261 return createEventForChild(virtualViewId, eventType);
268 * @param eventType The type of event to construct.
272 private AccessibilityEvent createEventForHost(int eventType) { argument
273 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
288 createEventForChild(int virtualViewId, int eventType) argument
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp92 virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType) { argument
/frameworks/support/v4/java/android/support/v4/widget/
H A DExploreByTouchHelper.java169 * @param eventType The type of event to send.
172 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { argument
182 final AccessibilityEvent event = createEvent(virtualViewId, eventType);
250 * @param eventType The type of event to construct.
254 private AccessibilityEvent createEvent(int virtualViewId, int eventType) { argument
257 return createEventForHost(eventType);
259 return createEventForChild(virtualViewId, eventType);
266 * @param eventType The type of event to construct.
270 private AccessibilityEvent createEventForHost(int eventType) { argument
271 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
286 createEventForChild(int virtualViewId, int eventType) argument
[all...]
/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/view/
H A DInputEventConsistencyVerifier.java574 private boolean startEvent(InputEvent event, int nestingLevel, String eventType) { argument
578 && eventType == mLastEventType) {
584 mLastEventType = eventType;
593 mCurrentEventType = eventType;

Completed in 517 milliseconds

123