Home
last modified time | relevance | path

Searched defs:event (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DUserInputHandler.java92 try (T event = mEventConverter.apply(e)) { in onDown()
98 boolean onDown(T event) { in onDown()
107 try (T event = mEventConverter.apply(e2)) { in onScroll()
113 boolean onScroll(T event) { in onScroll()
121 try (T event = mEventConverter.apply(e)) { in onSingleTapUp()
127 boolean onSingleTapUp(T event) { in onSingleTapUp()
135 try (T event = mEventConverter.apply(e)) { in onSingleTapConfirmed()
141 boolean onSingleTapConfirmed(T event) { in onSingleTapConfirmed()
149 try (T event = mEventConverter.apply(e)) { in onDoubleTap()
155 boolean onDoubleTap(T event) { in onDoubleTap()
[all …]
DDocumentDetails.java28 boolean isInSelectionHotspot(InputEvent event); in isInSelectionHotspot()
29 boolean isInDragHotspot(InputEvent event); in isInDragHotspot()
36 boolean isOverDocIcon(InputEvent event); in isOverDocIcon()
DDirectoryDragListener.java37 public boolean onDrag(View v, DragEvent event) { in onDrag()
53 public boolean handleDropEventChecked(View v, DragEvent event) { in handleDropEventChecked()
58 public @Nullable TimerTask createOpenTask(final View v, DragEvent event) { in createOpenTask()
DDragStartListener.java60 boolean onMouseDragEvent(InputEvent event); in onMouseDragEvent()
61 boolean onTouchDragEvent(InputEvent event); in onTouchDragEvent()
100 public final boolean onMouseDragEvent(InputEvent event) { in onMouseDragEvent()
106 public final boolean onTouchDragEvent(InputEvent event) { in onTouchDragEvent()
113 private boolean startDrag(@Nullable View view, InputEvent event) { in startDrag()
152 Selection getSelectionToBeCopied(String modelId, InputEvent event) { in getSelectionToBeCopied()
DMessageHolder.java39 public boolean isInSelectionHotspot(InputEvent event) { in isInSelectionHotspot()
44 public boolean isInDragHotspot(InputEvent event) { in isInDragHotspot()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DDefaultOmtpEventHandler.java32 OmtpEvents event) { in handleEvent()
52 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleConfigurationEvent()
90 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleDataChannelEvent()
157 OmtpEvents event) { in handleNotificationChannelEvent()
180 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleOtherEvent()
/packages/services/Car/service/src/com/android/car/
DCarSensorEventFactory.java27 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 1, 0); in createBooleanEvent() local
33 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 1, 0); in createIntEvent() local
39 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 1, 0, 0); in createFloatEvent() local
49 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, numFloats, numInts, in createComplexEvent() local
64 public static void returnToPool(CarSensorEvent event) { in returnToPool()
DCarInputService.java56 boolean onKeyEvent(KeyEvent event); in onKeyEvent()
211 public void onKeyEvent(KeyEvent event, int targetDisplay) { in onKeyEvent()
246 private synchronized boolean isCustomEventHandler(KeyEvent event, int targetDisplay) { in isCustomEventHandler()
254 private boolean handleSystemEvent(KeyEvent event) { in handleSystemEvent()
265 private void handleVoiceAssistKey(KeyEvent event) { in handleVoiceAssistKey()
298 private void handleCallKey(KeyEvent event) { in handleCallKey()
351 private void handleInstrumentClusterKey(KeyEvent event) { in handleInstrumentClusterKey()
362 private void handleVolumeKey(KeyEvent event) { in handleVolumeKey()
372 private void handleMainDisplayKey(KeyEvent event) { in handleMainDisplayKey()
DDrivingStatePolicy.java141 private synchronized void handleSensorEvent(CarSensorEvent event) { in handleSensorEvent()
179 private boolean isSpeedZero(CarSensorEvent event) { in isSpeedZero()
183 private boolean isParkingBrakeApplied(CarSensorEvent event) { in isParkingBrakeApplied()
187 private boolean isGearInParkingOrNeutral(CarSensorEvent event) { in isGearInParkingOrNeutral()
193 private boolean isGearInParking(CarSensorEvent event) { in isGearInParking()
203 CarSensorEvent event = new CarSensorEvent( in createEvent() local
/packages/apps/Launcher3/src/com/android/launcher3/
DStylusEventHelper.java23 public boolean onPressed(MotionEvent event); in onPressed()
32 public boolean onReleased(MotionEvent event); in onReleased()
58 public boolean onMotionEvent(MotionEvent event) { in onMotionEvent()
104 private static boolean isStylusButtonPressed(MotionEvent event) { in isStylusButtonPressed()
DSimpleOnStylusPressListener.java18 public boolean onPressed(MotionEvent event) { in onPressed()
22 public boolean onReleased(MotionEvent event) { in onReleased()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DNativeInterface.java64 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in onConnectionStateChanged() local
82 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_AUDIO_STATE_CHANGED); in onAudioStateChanged() local
101 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_NETWORK_STATE); in onNetworkState() local
117 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_ROAMING_STATE); in onNetworkRoaming() local
132 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_NETWORK_SIGNAL); in onNetworkSignal() local
147 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_BATTERY_LEVEL); in onBatteryLevel() local
162 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_OPERATOR_NAME); in onCurrentOperator() local
177 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALL); in onCall() local
201 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALLSETUP); in onCallSetup() local
226 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALLHELD); in onCallHeld() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DUserEventDispatcher.java140 protected boolean fillInLogContainerData(LauncherEvent event, @Nullable View v) { in fillInLogContainerData()
152 LauncherEvent event = newLauncherEvent(newTouchAction(Action.Touch.TAP), in logAppLaunch() local
171 LauncherEvent event = newLauncherEvent(newTouchAction(Action.Touch.TAP), in logNotificationLaunch() local
184 LauncherEvent event = newLauncherEvent( in logActionCommand() local
194 LauncherEvent event = newLauncherEvent(newCommandAction(command), in logActionCommand() local
211 final LauncherEvent event = controlInContainer == null in logActionOnControl() local
221 LauncherEvent event = newLauncherEvent(newTouchAction(Action.Type.TOUCH), in logActionTapOutside() local
232 LauncherEvent event = newLauncherEvent(newTouchAction(action), in logActionOnContainer() local
242 LauncherEvent event = newLauncherEvent(newTouchAction(action), itemTarget); in logActionOnItem() local
253 LauncherEvent event = newLauncherEvent(newTouchAction(Action.Touch.LONGPRESS), in logDeepShortcutsOpen() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/logging/
DLogger.java69 final ListEvent event = new ListEvent(); in logListEvent() local
89 final QuickContactEvent event = new QuickContactEvent(); in logQuickContactEvent() local
102 final EditorEvent event = new EditorEvent(); in logEditorEvent() local
111 public abstract void logListEventImpl(ListEvent event); in logListEventImpl()
112 public abstract void logQuickContactEventImpl(QuickContactEvent event); in logQuickContactEventImpl()
113 public abstract void logEditorEventImpl(EditorEvent event); in logEditorEventImpl()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DDragGestureDetector.java44 private void computeAveragePosition(MotionEvent event, float[] position) { in computeAveragePosition()
48 private void computeAveragePosition(MotionEvent event, float[] position, int ignore) { in computeAveragePosition()
64 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent()
104 private void move(MotionEvent event, boolean drop) { in move()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java156 ICalendar.Component event = ICalendar.parseEvent(text); in testParseBareEvent() local
171 ICalendar.Component event = ICalendar.parseEvent(text); in testParseEvent1() local
195 ICalendar.Component event = ICalendar.parseEvent(text); in testParseEvent2() local
212 ICalendar.Component event = ICalendar.parseEvent(text); in testParseInvalidProperty() local
278 ICalendar.Component event = ICalendar.parseEvent(text); in testNormalize() local
294 ICalendar.Component event = ICalendar.parseEvent(text); in testNormalizeBadSep() local
310 ICalendar.Component event = ICalendar.parseEvent(text); in testBad() local
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActivityInputHandlerTest.java47 KeyEvent event = new KeyEvent(0, 0, MotionEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL, 0, in testDelete() local
49 assertTrue(mActivityInputHandler.onKeyDown(event.getKeyCode(), event)); in testDelete() local
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DClassifier.java29 public void onTouchEvent(MotionEvent event) {} in onTouchEvent()
32 public void onSensorChanged(SensorEvent event) {} in onSensorChanged()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DItemDragListener.java65 public boolean onDrag(final View v, DragEvent event) { in onDrag()
90 private void handleEnteredEvent(View v, DragEvent event) { in handleEnteredEvent()
108 private void handleExitedEndedEvent(View v, DragEvent event) { in handleExitedEndedEvent()
116 private boolean handleDropEvent(View v, DragEvent event) { in handleDropEvent()
129 public @Nullable TimerTask createOpenTask(final View v, DragEvent event) { in createOpenTask()
149 public boolean handleDropEventChecked(View v, DragEvent event) { in handleDropEventChecked()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java389 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToCopy_SameRoot_LeftCtrlPressed() local
411 KeyEvent event = KeyEvents.createRightCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed() local
433 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed() local
455 KeyEvent event = KeyEvents.createRightCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed() local
477 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased() local
502 KeyEvent event = KeyEvents.createRightCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased() local
527 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToCopy_DifferentRoot_LeftCtrlReleased() local
552 KeyEvent event = KeyEvents.createRightCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToCopy_DifferentRoot_RightCtrlReleased() local
711 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() local
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarSensorManagerTest.java161 CarSensorEvent event; in testEvents() local
236 CarSensorEvent event = mCarSensorManager.getLatestSensorEvent( in testIgnitionState() local
333 CarSensorEvent event = mCarSensorManager.getLatestSensorEvent( in testGear() local
349 CarSensorEvent event = mCarSensorManager.getLatestSensorEvent( in injectGearEventAndAssert() local
379 CarSensorEvent event; in testEventsWithMultipleListeners() local
537 public void onSensorChanged(CarSensorEvent event) { in onSensorChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyboardAccessibilityDelegate.java160 protected final Key getHoverKeyOf(final MotionEvent event) { in getHoverKeyOf()
173 public boolean onHoverEvent(final MotionEvent event) { in onHoverEvent()
185 Log.w(getClass().getSimpleName(), "Unknown hover event: " + event); in onHoverEvent() local
196 protected void onHoverEnter(final MotionEvent event) { in onHoverEnter()
212 protected void onHoverMove(final MotionEvent event) { in onHoverMove()
234 protected void onHoverExit(final MotionEvent event) { in onHoverExit()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DDialerViewPager.java35 public boolean onInterceptTouchEvent(MotionEvent event) { in onInterceptTouchEvent()
44 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DEventHandler.java25 boolean accept(T event); in accept()
39 public boolean accept(T event) { in accept()
/packages/apps/DevCamera/src/com/android/devcamera/
DGyroOperations.java63 public GyroEvent2D(SensorEvent event) { in GyroEvent2D()
76 void delayGyroData(SensorEvent event) { in delayGyroData()
85 void integrateGyroForPosition(GyroEvent2D event) { in integrateGyroForPosition()

12345678910>>...20