/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/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/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | MotionPauseDetector.java | 132 float speed = Math.abs(velocity); in checkMotionPaused() local 137 isPaused = speed < mSpeedFast || previousSpeed < mSpeedFast; in checkMotionPaused() 143 isPaused = speed < mSpeedVerySlow && previousSpeed < mSpeedVerySlow; in checkMotionPaused() 148 boolean isRapidDeceleration = speed < previousSpeed * RAPID_DECELERATION_FACTOR; in checkMotionPaused() 149 isPaused = isRapidDeceleration && speed < mSpeedSomewhatFast; in checkMotionPaused() 152 if (speed < mSpeedSlow) { in checkMotionPaused()
|
/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/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/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/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/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vehiclectrl/ |
D | VehicleCtrlFragment.java | 131 private void moveWindow(int windowId, int speed) { in moveWindow() argument 132 Log.i(TAG, "Moving window " + windowId + " with speed " + speed); in moveWindow() 133 mPropMgr.setIntProperty(VehiclePropertyIds.WINDOW_MOVE, windowId, speed); in moveWindow()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | ProgressLiveDataTest.java | 125 float speed = 2F; in testMovesForwardAtCustomSpeed() local 126 when(mPlaybackState.getPlaybackSpeed()).thenReturn(speed); in testMovesForwardAtCustomSpeed() 133 (long) (START_PROGRESS + ProgressLiveData.UPDATE_INTERVAL_MS * speed)); in testMovesForwardAtCustomSpeed()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarHvacManagerTest.java | 127 int speed = mCarHvacManager.getIntProperty(CarHvacManager.ID_ZONED_FAN_SPEED_SETPOINT, in testHvacFanSpeed() local 129 assertEquals(15, speed); in testHvacFanSpeed() 133 speed = mCarHvacManager.getIntProperty(CarHvacManager.ID_ZONED_FAN_SPEED_SETPOINT, in testHvacFanSpeed() 135 assertEquals(23, speed); in testHvacFanSpeed()
|
D | CarUxRestrictionsManagerServiceTest.java | 691 CarPropertyValue<Float> speed = new CarPropertyValue<>(VehicleProperty.PERF_VEHICLE_SPEED, in setUpMockParkedState() local 694 .thenReturn(speed); in setUpMockParkedState() 701 CarPropertyValue<Float> speed = new CarPropertyValue<>(VehicleProperty.PERF_VEHICLE_SPEED, in setUpMockDrivingState() local 704 .thenReturn(speed); in setUpMockDrivingState()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MediaView.java | 269 private static String formatShutterSpeed(double speed) { in formatShutterSpeed() argument 270 if (speed <= 0) { in formatShutterSpeed() 271 double shutterSpeed = Math.pow(2, -1 * speed); in formatShutterSpeed() 275 int approximateSpeedDenom = (int) Math.pow(2, speed) + 1; in formatShutterSpeed()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 295 long speed = 0; in updateWithLocked() local 307 speed += mDownloadSpeed.get(id); in updateWithLocked() 316 if (speed > 0) { in updateWithLocked() 317 final long remainingMillis = ((total - current) * 1000) / speed; in updateWithLocked()
|
/packages/apps/Settings/src/com/android/settings/ |
D | PointerSpeedPreference.java | 99 int speed = mIm.getPointerSpeed(getContext()); in onSpeedChanged() local 100 mSeekBar.setProgress(speed - InputManager.MIN_POINTER_SPEED); in onSpeedChanged()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TunableTvView.java | 1349 public void timeShiftRewind(int speed) { in timeShiftRewind() argument 1353 if (speed <= 0) { in timeShiftRewind() 1358 params.setSpeed(speed * -1); in timeShiftRewind() 1369 public void timeShiftFastForward(int speed) { in timeShiftFastForward() argument 1373 if (speed <= 0) { in timeShiftFastForward() 1378 params.setSpeed(speed); in timeShiftFastForward()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/audio/ |
D | AudioManagerHelperTest.java | 243 public void timeShiftRewind(int speed) { in timeShiftRewind() argument 248 public void timeShiftFastForward(int speed) { in timeShiftFastForward() argument
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 745 Float speed = getCurrentSpeed(); in handleDrivingStateEventLocked() local 747 if (speed != SPEED_NOT_AVAILABLE) { in handleDrivingStateEventLocked() 748 mCurrentMovingSpeed = speed; in handleDrivingStateEventLocked() 810 float speed) { in handleDispatchUxRestrictionsLocked() argument 829 currentDrivingState, speed, mRestrictionMode); in handleDispatchUxRestrictionsLocked()
|
/packages/modules/Wifi/service/proto/src/ |
D | scorecard.proto | 82 optional UnivariateStatistic linkspeed = 4; // Link speed (Mbits/sec) 214 // or at high Tx speed with a recent RSSI poll 217 // or Tx speed with a recent RSSI poll
|
/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()
|