/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlayer.java | 188 public void fastForward(int speed) throws IllegalStateException { in fastForward() argument 193 if (speed <= 0) { in fastForward() 199 speed = Math.min(speed, MAX_FAST_FORWARD_SPEED); in fastForward() 200 if (DEBUG) Log.d(TAG, "Let's play with speed: " + speed); in fastForward() 201 setPlaybackSpeed(speed); in fastForward() 203 mCallback.onPlaybackStateChanged(mPlaybackState, speed); in fastForward() 210 public void rewind(int speed) throws IllegalStateException { in rewind() argument 215 if (speed <= 0) { in rewind() 221 speed = Math.min(speed, MAX_REWIND_SPEED); in rewind() 222 if (DEBUG) Log.d(TAG, "Let's play with speed: " + speed); in rewind() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | MotionPauseDetector.java | 129 float speed = Math.abs(velocity); in checkMotionPaused() local 134 isPaused = speed < mSpeedFast || previousSpeed < mSpeedFast; in checkMotionPaused() 140 isPaused = speed < mSpeedVerySlow && previousSpeed < mSpeedVerySlow; in checkMotionPaused() 145 boolean isRapidDeceleration = speed < previousSpeed * RAPID_DECELERATION_FACTOR; in checkMotionPaused() 146 isPaused = isRapidDeceleration && speed < mSpeedSomewhatFast; in checkMotionPaused() 149 if (speed < mSpeedSlow) { in checkMotionPaused()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/ |
D | FanSpeedBarController.java | 49 private void handleFanSpeedUpdate(int speed, boolean animateUpdate) { in handleFanSpeedUpdate() argument 51 Log.d(TAG, "Fan speed bar being set to value: " + speed); in handleFanSpeedUpdate() 54 mCurrentFanSpeed = speed; in handleFanSpeedUpdate() 94 public void onFanSpeedChange(int speed) { 95 handleFanSpeedUpdate(speed, true /* animateUpdate */);
|
/packages/services/Car/tools/emulator/ |
D | driving_info_generator.py | 46 def speed2Gear(speed): argument 51 if speed < 4.4: 54 elif speed < 11.2: 57 elif speed < 20.1: 60 elif speed < 26.8:
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacPolicy.java | 104 public int userToHardwareFanSpeed(int speed) { in userToHardwareFanSpeed() argument 105 return getMaxHardwareFanSpeed() * speed / 100; in userToHardwareFanSpeed() 108 public int hardwareToUserFanSpeed(int speed) { in hardwareToUserFanSpeed() argument 109 return speed * 100 / getMaxHardwareFanSpeed(); in hardwareToUserFanSpeed()
|
D | DataStore.java | 138 public void setFanSpeed(int speed) { in setFanSpeed() argument 140 mFanSpeed = speed; in setFanSpeed() 145 public boolean shouldPropagateFanSpeedUpdate(int zone, int speed) { in shouldPropagateFanSpeedUpdate() argument 151 mFanSpeed = speed; in shouldPropagateFanSpeedUpdate()
|
D | HvacController.java | 340 private void handleFanSpeedUpdate(int zone, int speed) { in handleFanSpeedUpdate() argument 341 boolean shouldPropagate = mDataStore.shouldPropagateFanSpeedUpdate(zone, speed); in handleFanSpeedUpdate() 343 Log.d(TAG, "Fan Speed Update, zone: " + zone + " speed: " + speed + in handleFanSpeedUpdate() 349 mCallbacks.get(i).onFanSpeedChange(speed); in handleFanSpeedUpdate()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrTvView.java | 93 public void timeShiftRewind(int speed) { in timeShiftRewind() argument 95 params.setSpeed(speed * -1); in timeShiftRewind() 100 public void timeShiftFastForward(int speed) { in timeShiftFastForward() argument 102 params.setSpeed(speed); in timeShiftFastForward()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioClock.java | 84 public void setPlaybackSpeed(float speed) { in setPlaybackSpeed() argument 85 SoftPreconditions.checkState(speed > 0); in setPlaybackSpeed() 88 mPlaybackSpeed = speed; in setPlaybackSpeed()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | AccelerationClassifier.java | 83 float speed = distance / duration; in addPoint() local 92 maxSpeedRatio = Math.max(maxSpeedRatio, speed / previousSpeed); in addPoint() 95 previousSpeed = speed; in addPoint()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | ProgressLiveData.java | 87 float speed = mPlaybackState.getPlaybackSpeed(); in getProgress() local 89 speed = 0f; in getProgress() 91 long posDiff = (long) (timeDiff * speed); in getProgress()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeRecognitionPoints.java | 243 final float speed = (float)pixelsPerSec / msecs / mKeyWidth; in detectFastMove() local 244 Log.d(TAG, String.format("[%d] detectFastMove: speed=%5.2f", mPointerId, speed)); in detectFastMove() 249 final float speed = (float)pixelsPerSec / msecs / mKeyWidth; in detectFastMove() local 252 mPointerId, speed, time, size)); in detectFastMove()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarHvacManagerTest.java | 109 int speed = mCarHvacManager.getIntProperty(CarHvacManager.ID_ZONED_FAN_SPEED_SETPOINT, in testHvacFanSpeed() local 111 assertEquals(15, speed); in testHvacFanSpeed() 115 speed = mCarHvacManager.getIntProperty(CarHvacManager.ID_ZONED_FAN_SPEED_SETPOINT, in testHvacFanSpeed() 117 assertEquals(23, speed); in testHvacFanSpeed()
|
D | CarUxRestrictionsManagerServiceTest.java | 239 CarPropertyValue<Float> speed = new CarPropertyValue<>(VehicleProperty.PERF_VEHICLE_SPEED, in setUpMockParkedState() local 242 .thenReturn(speed); in setUpMockParkedState() 249 CarPropertyValue<Float> speed = new CarPropertyValue<>(VehicleProperty.PERF_VEHICLE_SPEED, in setUpMockDrivingState() local 252 .thenReturn(speed); in setUpMockDrivingState()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MediaView.java | 266 private static String formatShutterSpeed(double speed) { in formatShutterSpeed() argument 267 if (speed <= 0) { in formatShutterSpeed() 268 double shutterSpeed = Math.pow(2, -1 * speed); in formatShutterSpeed() 272 int approximateSpeedDenom = (int) Math.pow(2, speed) + 1; in formatShutterSpeed()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | ProgressLiveDataTest.java | 128 float speed = 2F; in testMovesForwardAtCustomSpeed() local 129 when(mPlaybackState.getPlaybackSpeed()).thenReturn(speed); in testMovesForwardAtCustomSpeed() 136 (long) (START_PROGRESS + ProgressLiveData.UPDATE_INTERVAL_MS * speed)); in testMovesForwardAtCustomSpeed()
|
/packages/apps/TV/src/com/android/tv/ui/api/ |
D | TunableTvViewPlayingApi.java | 34 void timeShiftRewind(int speed); in timeShiftRewind() argument 36 void timeShiftFastForward(int speed); in timeShiftFastForward() argument
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 641 Float speed = getCurrentSpeed(); in handleDrivingStateEvent() local 643 if (speed != SPEED_NOT_AVAILABLE) { in handleDrivingStateEvent() 644 mCurrentMovingSpeed = speed; in handleDrivingStateEvent() 701 float speed) { in handleDispatchUxRestrictions() argument 715 currentDrivingState, speed, mRestrictionMode); in handleDispatchUxRestrictions()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 291 long speed = 0; in updateWithLocked() local 303 speed += mDownloadSpeed.get(id); in updateWithLocked() 312 if (speed > 0) { in updateWithLocked() 313 final long remainingMillis = ((total - current) * 1000) / speed; in updateWithLocked()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TunableTvView.java | 1333 public void timeShiftRewind(int speed) { in timeShiftRewind() argument 1337 if (speed <= 0) { in timeShiftRewind() 1342 params.setSpeed(speed * -1); in timeShiftRewind() 1353 public void timeShiftFastForward(int speed) { in timeShiftFastForward() argument 1357 if (speed <= 0) { in timeShiftFastForward() 1362 params.setSpeed(speed); in timeShiftFastForward()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | PointerSpeedPreference.java | 91 int speed = mIm.getPointerSpeed(getContext()); in onSpeedChanged() local 92 mSeekBar.setProgress(speed - InputManager.MIN_POINTER_SPEED); in onSpeedChanged()
|
/packages/apps/Settings/src/com/android/settings/ |
D | PointerSpeedPreference.java | 91 int speed = mIm.getPointerSpeed(getContext()); in onSpeedChanged() local 92 mSeekBar.setProgress(speed - InputManager.MIN_POINTER_SPEED); in onSpeedChanged()
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | SpeedMeasurementController.java | 258 protected synchronized void setSpeed(long speed) { in setSpeed() argument 260 mSpeed = speed * 1000; in setSpeed()
|
/packages/apps/Dialer/java/com/android/dialer/callintent/ |
D | speed_dial_contact_type.proto | 12 // The type of speed call contact (favorites). Applies to initiation type
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 918 public boolean includes(float speed) { in includes() argument 919 return mMinSpeed <= speed && speed < mMaxSpeed; in includes()
|