/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | FanSpeedBar.java | 169 int delay = 0; in setMax() local 173 mFanSpeedButtons.get(i).playTurnOnAnimation(BAR_SEGMENT_ANIMATION_MS, delay); in setMax() 174 delay += BAR_SEGMENT_ANIMATION_DELAY_MS; in setMax() 209 int delay = 0; in setOff() local 212 mFanSpeedButtons.get(i).playTurnOffAnimation(BAR_SEGMENT_ANIMATION_MS, delay); in setOff() 213 delay += BAR_SEGMENT_ANIMATION_DELAY_MS; in setOff() 246 int delay = 0; 252 mFanSpeedButtons.get(i).playTurnOffAnimation(BAR_SEGMENT_ANIMATION_MS, delay); 253 delay += BAR_SEGMENT_ANIMATION_DELAY_MS; 260 mFanSpeedButtons.get(i).playTurnOnAnimation(BAR_SEGMENT_ANIMATION_MS, delay); [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
D | ContactsExecutors.java | 111 public ScheduledFuture<?> schedule(final Runnable command, long delay, TimeUnit unit) { in schedule() argument 113 .fromRunnable(mHandler, delay, unit, command); in schedule() 114 mHandler.postDelayed(future, unit.toMillis(delay)); in schedule() 120 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument 121 final HandlerFuture<V> future = new HandlerFuture<>(mHandler, delay, unit, callable); in schedule() 122 mHandler.postDelayed(future, unit.toMillis(delay)); in schedule() 136 long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument 180 private HandlerFuture(Handler handler, long delay, TimeUnit timeUnit, Callable<T> task) { in HandlerFuture() argument 182 mDelayMillis = timeUnit.toMillis(delay); in HandlerFuture() 231 public static HandlerFuture<Void> fromRunnable(Handler handler, long delay, TimeUnit unit, in fromRunnable() argument [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | TimerHandler.java | 87 final int delay) { in startKeyRepeatTimerOf() argument 89 if (key == null || delay == 0) { in startKeyRepeatTimerOf() 93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay); in startKeyRepeatTimerOf() local 110 public void startLongPressTimerOf(@Nonnull final PointerTracker tracker, final int delay) { in startLongPressTimerOf() argument 119 sendMessageDelayed(obtainMessage(messageId, tracker), delay); in startLongPressTimerOf() local 220 public void postDismissKeyPreview(@Nonnull final Key key, final long delay) { in postDismissKeyPreview() argument 221 sendMessageDelayed(obtainMessage(MSG_DISMISS_KEY_PREVIEW, key), delay); in postDismissKeyPreview() local 224 public void postDismissGestureFloatingPreviewText(final long delay) { in postDismissGestureFloatingPreviewText() argument 225 sendMessageDelayed(obtainMessage(MSG_DISMISS_GESTURE_FLOATING_PREVIEW_TEXT), delay); in postDismissGestureFloatingPreviewText() local
|
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 111 int delay) {} in startKeyRepeatTimerOf() argument 113 public void startLongPressTimerOf(@Nonnull PointerTracker tracker, int delay) {} in startLongPressTimerOf() argument
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestScheduledExecutorService.java | 120 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument 121 TestFuture future = new TestFuture(command, delay, unit); in schedule() 127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument 139 long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument 185 final long delay; field in TestScheduledExecutorService.TestFuture 188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { in TestFuture() argument 190 this.delay = delay; in TestFuture()
|
D | TestTimer.java | 99 public void schedule(TimerTask task, long delay) { in schedule() argument 100 long executeTime = mNow + delay; in schedule() 105 public void schedule(TimerTask task, long delay, long period) { in schedule() argument 115 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate() argument
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | SystemStateInterface.java | 52 void scheduleActionForBootCompleted(Runnable action, Duration delay); in scheduleActionForBootCompleted() argument 158 public void scheduleActionForBootCompleted(Runnable action, Duration delay) { in scheduleActionForBootCompleted() argument 159 if (MIN_BOOT_COMPLETE_ACTION_DELAY.compareTo(delay) < 0) { in scheduleActionForBootCompleted() 161 delay = MIN_BOOT_COMPLETE_ACTION_DELAY; in scheduleActionForBootCompleted() 169 mActionsList.add(Pair.create(action, delay)); in scheduleActionForBootCompleted()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | NotificationPlayer.java | 144 final long delay = SystemClock.elapsedRealtime() - cmd.requestTime; in startSound() local 145 if (delay > 1000) { in startSound() 146 LogUtil.w(mTag, "Notification sound delayed by " + delay + "msecs"); in startSound() 157 final long delay = SystemClock.elapsedRealtime() - cmd.requestTime; in stopSound() local 158 if (delay > 1000) { in stopSound() 159 LogUtil.w(mTag, "Notification stop delayed by " + delay + "msecs"); in stopSound()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | RelevanceUtils.java | 253 final long delay = expiry - target; in computeRelevanceForTargetDate() local 254 if (delay >= CAPPED_RELEVANCE_LIFETIME_MS) return CAPPED_RELEVANCE; in computeRelevanceForTargetDate() 255 if (delay <= 0) return 0; in computeRelevanceForTargetDate() 256 return (int) (IRRELEVANCE_FLOOR / powF((float) delay / HALF_LIFE_MS) - IRRELEVANCE_FLOOR); in computeRelevanceForTargetDate()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | WnmData.java | 57 boolean ess, int delay) { in WnmData() argument 62 mDelay = delay; in WnmData() 89 int delay) { in createDeauthImminentEvent() argument 90 return new WnmData(HS20_DEAUTH_IMMINENT_EVENT, bssid, url, UNDEFINED, ess, delay); in createDeauthImminentEvent()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.kt | 144 val delay = newValue as String in onPreferenceChange() constant 145 updateAutoSnoozeSummary(pref as ListPreference, delay) in onPreferenceChange() 223 val delay: String = it.getValue() in refresh() constant 224 updateAutoSnoozeSummary(it, delay) in refresh() 283 private fun updateAutoSnoozeSummary(listPref: ListPreference, delay: String) { in updateAutoSnoozeSummary() 284 val i = delay.toInt() in updateAutoSnoozeSummary()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestExecutorService.java | 203 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument 204 long millisDelay = TimeUnit.MILLISECONDS.convert(delay, unit); in schedule() 214 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument 215 long millisDelay = TimeUnit.MILLISECONDS.convert(delay, unit); in schedule() 229 long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | StateManager.java | 160 public void goToState(STATE_TYPE state, long delay, AnimatorListener listener) { in goToState() argument 161 goToState(state, true, delay, listener); in goToState() 167 public void goToState(STATE_TYPE state, long delay) { in goToState() argument 168 goToState(state, true, delay, null); in goToState() 192 STATE_TYPE state, boolean animated, long delay, AnimatorListener listener) { in goToState() argument 230 if (delay > 0) { in goToState() 238 }, delay); in goToState()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | FadeAndShortSlide.java | 240 Long delay = (Long) endValues.values.get(PROPNAME_DELAY); in onAppear() local 241 if (delay != null) { in onAppear() 242 set.setStartDelay(delay); in onAppear() 283 Long delay = (Long) startValues.values.get(PROPNAME_DELAY); in onDisappear() local 284 if (delay != null) { in onDisappear() 285 set.setStartDelay(delay); in onDisappear()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAutoclickPreferenceFragment.java | 96 private static int getAutoclickPreferenceSummaryIndex(int delay) { in getAutoclickPreferenceSummaryIndex() argument 97 if (delay <= MIN_AUTOCLICK_DELAY_MS) { in getAutoclickPreferenceSummaryIndex() 100 if (delay >= MAX_AUTOCLICK_DELAY_MS) { in getAutoclickPreferenceSummaryIndex() 105 return (delay - MIN_AUTOCLICK_DELAY_MS) / rangeSize; in getAutoclickPreferenceSummaryIndex()
|
/packages/modules/DnsResolver/ |
D | res_send.cpp | 148 int* delay); 151 int* gotsomewhere, time_t* at, int* rcode, int* delay); 534 int delay = 0; in res_nsend() local 547 &query_time, rcode, &delay); in res_nsend() 559 &useTcp, &gotsomewhere, &query_time, rcode, &delay); in res_nsend() 592 res_stats_set_sample(&sample, query_time, *rcode, delay); in res_nsend() 657 int* delay) { in send_vc() argument 659 *delay = 0; in send_vc() 861 *delay = res_stats_calculate_rtt(&done, &start_time); in send_vc() 1002 int* gotsomewhere, time_t* at, int* rcode, int* delay) { in send_dg() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 398 int delay = mIsOpening ? mDelay : mDelay * 2; in addPreviewItemAnimators() local 400 translationX.setStartDelay(delay); in addPreviewItemAnimators() 401 translationY.setStartDelay(delay); in addPreviewItemAnimators() 402 scaleAnimator.setStartDelay(delay); in addPreviewItemAnimators() 404 translationX.setDuration(translationX.getDuration() - delay); in addPreviewItemAnimators() 405 translationY.setDuration(translationY.getDuration() - delay); in addPreviewItemAnimators() 406 scaleAnimator.setDuration(scaleAnimator.getDuration() - delay); in addPreviewItemAnimators()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
D | PawAnswerHint.java | 216 long delay, in createUniformScaleAnimator() argument 225 set.play(scaleX).with(scaleY).after(delay); in createUniformScaleAnimator() 230 View target, float begin, float end, long duration, long delay, Interpolator interpolator) { in createAlphaAnimator() argument 234 alpha.setStartDelay(delay); in createAlphaAnimator()
|
D | DotAnswerHint.java | 262 long delay, in createUniformScaleAnimator() argument 273 set.play(scaleX).with(scaleY).after(delay); in createUniformScaleAnimator() 278 View target, float begin, float end, long duration, long delay, Interpolator interpolator) { in createAlphaAnimator() argument 282 alpha.setStartDelay(delay); in createAlphaAnimator()
|
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/ |
D | MainActivity.java | 108 final int delay = 1000 * getScanDelayFromPreferences(2); in handleConnection() local 109 mTimer.scheduleAtFixedRate(mCollectionTask, delay, delay); in handleConnection()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | LinkProbeManager.java | 259 for (int delay : EXPERIMENT_DELAYS_MS) { in initExperiments() 263 delay, delay, delay, rssiThreshold, linkSpeedThreshold); in initExperiments()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | RecurringRunner.java | 99 long delay = Math.max(next - now, 0); in postAt() local 111 delay); in postAt() 115 if (DEBUG) Log.i(TAG, "Actual delay of " + mName + " is " + (delay / 1000.0) + " seconds."); in postAt()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | QuickActivity.java | 144 long delay = isKeyguardSecure() ? ON_RESUME_DELAY_SECURE_MILLIS : in onResume() local 146 Log.v(TAG, "onResume() --> postDelayed(mOnResumeTasks," + delay + ")"); in onResume() 147 mMainHandler.postDelayed(mOnResumeTasks, delay); in onResume()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AllAppsFragment.java | 235 int delay = (int) (mRunAt - SystemClock.uptimeMillis()); in updateAppList() local 236 delay = delay < 0 ? 0 : delay; in updateAppList() 239 mHandler.postDelayed(mUpdateRunnable, delay); in updateAppList()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ActionAdapter.java | 410 int delay, Interpolator interpolator, final boolean pressed) { in prepareAndAnimateView() argument 415 fadeCheckmarks(v, action, duration, delay, interpolator); in prepareAndAnimateView() 421 v.animate().alpha(destAlpha).setDuration(duration).setStartDelay(delay); in prepareAndAnimateView() 448 private void fadeCheckmarks(final View v, final Action action, int duration, int delay, in fadeCheckmarks() argument 464 .setDuration(duration).setStartDelay(delay); in fadeCheckmarks() 487 .setStartDelay(delay); in fadeCheckmarks()
|