/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | EmailAsyncTaskTests.java | 30 final EmailAsyncTask.Tracker tracker = new EmailAsyncTask.Tracker(); in testAll() local 33 assertEquals(0, tracker.getTaskCountForTest()); in testAll() 36 final MyTask task1 = new MyTask(tracker); in testAll() 37 assertEquals(1, tracker.getTaskCountForTest()); in testAll() 39 final MyTask task2 = new MyTask(tracker); in testAll() 40 assertEquals(2, tracker.getTaskCountForTest()); in testAll() 42 final MyTask task3 = new MyTask(tracker); in testAll() 43 assertEquals(3, tracker.getTaskCountForTest()); in testAll() 45 final MyTask task4 = new MyTask(tracker); in testAll() 46 assertEquals(4, tracker.getTaskCountForTest()); in testAll() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | AbstractCopyJobTest.java | 180 TestCopyJobProcessTracker<CopyJob.FileCountProgressTracker> tracker = in runCopyProgressForFileCountTest() local 188 tracker.getProcessTracker().start(); in runCopyProgressForFileCountTest() 189 tracker.assertProgressTrackStarted(); in runCopyProgressForFileCountTest() 190 tracker.assertStartedProgressEquals(0); in runCopyProgressForFileCountTest() 191 tracker.assertStartedRemainingTimeEquals(-1); in runCopyProgressForFileCountTest() 194 IntStream.range(0, 2).forEach(__ -> tracker.getProcessTracker().onDocumentCompleted()); in runCopyProgressForFileCountTest() 195 tracker.updateProgressAndRemainingTime(1000); in runCopyProgressForFileCountTest() 196 tracker.assertProgressEquals(0.2); in runCopyProgressForFileCountTest() 197 tracker.assertNoRemainingTime(); in runCopyProgressForFileCountTest() 200 IntStream.range(2, 4).forEach(__ -> tracker.getProcessTracker().onDocumentCompleted()); in runCopyProgressForFileCountTest() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionServiceSystemTest.java | 58 final ResultTracker tracker = (ResultTracker) data; in onActionSucceeded() local 59 tracker.completionResult = result; in onActionSucceeded() 60 synchronized(tracker) { in onActionSucceeded() 61 tracker.notifyAll(); in onActionSucceeded() 70 final ResultTracker tracker = (ResultTracker) data; in onActionFailed() local 71 tracker.completionResult = result; in onActionFailed() 72 synchronized(tracker) { in onActionFailed() 73 tracker.notifyAll(); in onActionFailed() 82 final ResultTracker tracker = (ResultTracker) data; in onActionExecuted() local 83 tracker.executionResult = result; in onActionExecuted() [all …]
|
D | ActionServiceTest.java | 61 final ResultTracker tracker = (ResultTracker) data; in onActionSucceeded() local 62 tracker.completionResult = result; in onActionSucceeded() 63 synchronized(tracker) { in onActionSucceeded() 64 tracker.notifyAll(); in onActionSucceeded() 76 final ResultTracker tracker = (ResultTracker) data; in onActionFailed() local 77 tracker.completionResult = result; in onActionFailed() 78 synchronized(tracker) { in onActionFailed() 79 tracker.notifyAll(); in onActionFailed() 88 final ResultTracker tracker = new ResultTracker(); in testChatServiceCreatesIntentAndExecutesAction() local 90 final TestChatActionMonitor monitor = new TestChatActionMonitor(null, tracker, this, this); in testChatServiceCreatesIntentAndExecutesAction()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | TimerHandler.java | 86 public void startKeyRepeatTimerOf(@Nonnull final PointerTracker tracker, final int repeatCount, in startKeyRepeatTimerOf() argument 88 final Key key = tracker.getKey(); in startKeyRepeatTimerOf() 93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay); in startKeyRepeatTimerOf() 96 private void cancelKeyRepeatTimerOf(final PointerTracker tracker) { in cancelKeyRepeatTimerOf() argument 97 removeMessages(MSG_REPEAT_KEY, tracker); in cancelKeyRepeatTimerOf() 110 public void startLongPressTimerOf(@Nonnull final PointerTracker tracker, final int delay) { in startLongPressTimerOf() argument 111 final Key key = tracker.getKey(); in startLongPressTimerOf() 119 sendMessageDelayed(obtainMessage(messageId, tracker), delay); in startLongPressTimerOf() 123 public void cancelLongPressTimersOf(@Nonnull final PointerTracker tracker) { in cancelLongPressTimersOf() argument 124 removeMessages(MSG_LONGPRESS_KEY, tracker); in cancelLongPressTimersOf() [all …]
|
D | TimerProxy.java | 43 public void startKeyRepeatTimerOf(@Nonnull PointerTracker tracker, int repeatCount, int delay); in startKeyRepeatTimerOf() argument 52 public void startLongPressTimerOf(@Nonnull PointerTracker tracker, int delay); in startLongPressTimerOf() argument 58 public void cancelLongPressTimersOf(@Nonnull PointerTracker tracker); in cancelLongPressTimersOf() argument 69 public void cancelKeyTimersOf(@Nonnull PointerTracker tracker); in cancelKeyTimersOf() argument 91 public void startUpdateBatchInputTimer(@Nonnull PointerTracker tracker); in startUpdateBatchInputTimer() argument 97 public void cancelUpdateBatchInputTimer(@Nonnull PointerTracker tracker); in cancelUpdateBatchInputTimer() argument 110 public void startKeyRepeatTimerOf(@Nonnull PointerTracker tracker, int repeatCount, in startKeyRepeatTimerOf() argument 113 public void startLongPressTimerOf(@Nonnull PointerTracker tracker, int delay) {} in startLongPressTimerOf() argument 115 public void cancelLongPressTimersOf(@Nonnull PointerTracker tracker) {} in cancelLongPressTimersOf() argument 119 public void cancelKeyTimersOf(@Nonnull PointerTracker tracker) {} in cancelKeyTimersOf() argument [all …]
|
D | GestureTrailsDrawingPreview.java | 157 public void setPreviewPosition(final PointerTracker tracker) { in setPreviewPosition() argument 163 trail = mGestureTrails.get(tracker.mPointerId); in setPreviewPosition() 166 mGestureTrails.put(tracker.mPointerId, trail); in setPreviewPosition() 169 trail.addStroke(tracker.getGestureStrokeDrawingPoints(), tracker.getDownTime()); in setPreviewPosition()
|
D | DrawingProxy.java | 49 public MoreKeysPanel showMoreKeysKeyboard(@Nonnull Key key, @Nonnull PointerTracker tracker); in showMoreKeysKeyboard() argument 65 public void showSlidingKeyInputPreview(@Nullable PointerTracker tracker); in showSlidingKeyInputPreview() argument 73 public void showGestureTrail(@Nonnull PointerTracker tracker, boolean showsFloatingPreviewText); in showGestureTrail() argument
|
D | SlidingKeyInputDrawingPreview.java | 100 public void setPreviewPosition(final PointerTracker tracker) { in setPreviewPosition() argument 101 tracker.getDownCoordinates(mPreviewFrom); in setPreviewPosition() 102 tracker.getLastCoordinates(mPreviewTo); in setPreviewPosition()
|
D | NonDistinctMultitouchHelper.java | 105 final long downTime, final long eventTime, final PointerTracker tracker, in injectMotionEvent() argument 110 tracker.processMotionEvent(me, keyDetector); in injectMotionEvent()
|
D | GestureFloatingTextDrawingPreview.java | 128 public void setPreviewPosition(final PointerTracker tracker) { in setPreviewPosition() argument 132 tracker.getLastCoordinates(mLastPointerCoords); in setPreviewPosition()
|
D | AbstractDrawingPreview.java | 83 public abstract void setPreviewPosition(@Nonnull final PointerTracker tracker); in setPreviewPosition() argument
|
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/ |
D | EmbmsTestStreamingApp.java | 115 StreamingServiceTracker tracker = mStreamingServiceTrackerById.get(serviceId); in getView() local 117 result.setText(tracker == null ? "" : tracker.toString()); in getView() 124 StreamingServiceTracker tracker = mStreamingServiceTrackerById.get(serviceId); in getDropDownView() local 126 result.setText(tracker.toString()); in getDropDownView() 184 StreamingServiceTracker tracker = mStreamingServiceTrackerById.get(serviceId); in onCreate() 186 setStreamStateDisplay(String.valueOf(tracker.getState())); in onCreate() 187 setUriDisplay(tracker.getUri()); in onCreate() 211 StreamingServiceTracker tracker = new StreamingServiceTracker(this, serviceInfo); in onCreate() local 212 if (tracker.startStreaming(mStreamingManager)) { in onCreate() 213 mStreamingServiceTrackerById.put(serviceInfo.getServiceId(), tracker); in onCreate() local
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentsActivityTracker.java | 97 public synchronized void schedule(RecentsActivityTracker tracker) { in schedule() argument 98 mPendingTracker = new WeakReference<>(tracker); in schedule() 115 RecentsActivityTracker tracker = mPendingTracker.get(); in initIfPending() local 116 if (tracker != null) { in initIfPending() 117 if (!tracker.init(activity, alreadyOnHome)) { in initIfPending() 125 public synchronized boolean clearReference(RecentsActivityTracker tracker) { in clearReference() argument 126 if (mPendingTracker.get() == tracker) { in clearReference()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileCleaningTracker.java | 203 Tracker tracker = null; in run() local 206 tracker = (Tracker) q.remove(); in run() 210 if (tracker != null) { in run() 211 tracker.delete(); in run() 212 tracker.clear(); in run() 213 trackers.remove(tracker); in run()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockGeneric.java | 794 final RemovalTracker tracker = new RemovalTracker(); in removeAllBiometricsForUserAndFinish() local 795 removeAllFingerprintForUserAndFinish(userId, tracker); in removeAllBiometricsForUserAndFinish() 796 removeAllFaceForUserAndFinish(userId, tracker); in removeAllBiometricsForUserAndFinish() 812 RemovalTracker tracker) { in removeAllFingerprintForUserAndFinish() argument 835 tracker); in removeAllFingerprintForUserAndFinish() 842 removeManagedProfileFingerprintsAndFinishIfNecessary(userId, tracker); in removeAllFingerprintForUserAndFinish() 849 tracker.onFingerprintDone(); in removeAllFingerprintForUserAndFinish() 854 RemovalTracker tracker) { in removeManagedProfileFingerprintsAndFinishIfNecessary() argument 867 removeAllFingerprintForUserAndFinish(userInfo.id, tracker); in removeManagedProfileFingerprintsAndFinishIfNecessary() 874 tracker.onFingerprintDone(); in removeManagedProfileFingerprintsAndFinishIfNecessary() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockGeneric.java | 783 final RemovalTracker tracker = new RemovalTracker(); in removeAllBiometricsForUserAndFinish() local 784 removeAllFingerprintForUserAndFinish(userId, tracker); in removeAllBiometricsForUserAndFinish() 785 removeAllFaceForUserAndFinish(userId, tracker); in removeAllBiometricsForUserAndFinish() 801 RemovalTracker tracker) { in removeAllFingerprintForUserAndFinish() argument 824 tracker); in removeAllFingerprintForUserAndFinish() 831 removeManagedProfileFingerprintsAndFinishIfNecessary(userId, tracker); in removeAllFingerprintForUserAndFinish() 838 tracker.onFingerprintDone(); in removeAllFingerprintForUserAndFinish() 843 RemovalTracker tracker) { in removeManagedProfileFingerprintsAndFinishIfNecessary() argument 856 removeAllFingerprintForUserAndFinish(userInfo.id, tracker); in removeManagedProfileFingerprintsAndFinishIfNecessary() 863 tracker.onFingerprintDone(); in removeManagedProfileFingerprintsAndFinishIfNecessary() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MainKeyboardView.java | 524 public void showSlidingKeyInputPreview(@Nullable final PointerTracker tracker) { in showSlidingKeyInputPreview() argument 526 if (tracker != null) { in showSlidingKeyInputPreview() 527 mSlidingKeyInputDrawingPreview.setPreviewPosition(tracker); in showSlidingKeyInputPreview() 558 public void showGestureTrail(@Nonnull final PointerTracker tracker, in showGestureTrail() argument 562 mGestureFloatingTextDrawingPreview.setPreviewPosition(tracker); in showGestureTrail() 564 mGestureTrailsDrawingPreview.setPreviewPosition(tracker); in showGestureTrail() 597 @Nonnull final PointerTracker tracker) { in showMoreKeysKeyboard() argument 628 tracker.getLastCoordinates(lastCoords); in showMoreKeysKeyboard() 716 final PointerTracker tracker = PointerTracker.getPointerTracker(id); in processMotionEvent() local 719 if (isShowingMoreKeysPanel() && !tracker.isShowingMoreKeysPanel() in processMotionEvent() [all …]
|
D | PointerTracker.java | 189 final PointerTracker tracker = new PointerTracker(i); in getPointerTracker() local 190 trackers.add(tracker); in getPointerTracker() 215 final PointerTracker tracker = sTrackers.get(i); in setKeyDetector() local 216 tracker.setKeyDetectorInner(keyDetector); in setKeyDetector() 224 final PointerTracker tracker = sTrackers.get(i); in setReleasedKeyGraphicsToAllKeys() local 225 tracker.setReleasedKeyGraphics(tracker.getKey(), true /* withAnimation */); in setReleasedKeyGraphicsToAllKeys() 232 final PointerTracker tracker = sTrackers.get(i); in dismissAllMoreKeysPanels() local 233 tracker.dismissMoreKeysPanel(); in dismissAllMoreKeysPanels() 593 final PointerTracker tracker = getPointerTracker(id); in processMotionEvent() local 594 tracker.onMoveEvent(x, y, eventTime, me); in processMotionEvent()
|
/packages/apps/TV/src/com/android/tv/analytics/ |
D | SendChannelStatusRunnable.java | 41 Context context, Tracker tracker, ChannelDataManager channelDataManager) { in startChannelStatusRecurringRunner() argument 44 new SendChannelStatusRunnable(channelDataManager, tracker); in startChannelStatusRecurringRunner() 85 private SendChannelStatusRunnable(ChannelDataManager channelDataManager, Tracker tracker) { in SendChannelStatusRunnable() argument 87 mTracker = tracker; in SendChannelStatusRunnable()
|
D | SendConfigInfoRunnable.java | 28 public SendConfigInfoRunnable(Tracker tracker, TvInputManagerHelper tvInputManagerHelper) { in SendConfigInfoRunnable() argument 29 this.mTracker = tracker; in SendConfigInfoRunnable()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | SwipeDetector.java | 78 abstract float getVelocity(VelocityTracker tracker, boolean isRtl); in getVelocity() argument 98 float getVelocity(VelocityTracker tracker, boolean isRtl) { 99 return tracker.getYVelocity(); 132 float getVelocity(VelocityTracker tracker, boolean isRtl) { 133 float velocity = tracker.getXVelocity();
|
/packages/apps/TV/tests/tunerscripts/ |
D | usbtuner-test.sh | 99 tracker=$(adb shell getprop tv_use_tracker | tr -d '[[:space:]]') 104 if [ "${tracker}" == "" ]; then 107 adb shell setprop tv_use_tracker ${tracker}
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MainKeyboardAccessibilityDelegate.java | 266 final PointerTracker tracker = PointerTracker.getPointerTracker(HOVER_EVENT_POINTER_ID); in performLongClickOn() local 273 tracker.processMotionEvent(downEvent, mKeyDetector); in performLongClickOn() 276 tracker.onLongPressed(); in performLongClickOn() 281 if (tracker.isInOperation()) { in performLongClickOn()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | EmailAsyncTask.java | 144 public EmailAsyncTask(Tracker tracker) { in EmailAsyncTask() argument 145 mTracker = tracker; in EmailAsyncTask()
|