Searched refs:speed (Results 26 - 49 of 49) sorted by relevance

12

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp53 static inline nsecs_t framesToNanoseconds(ssize_t frames, uint32_t sampleRate, float speed) argument
55 return ((double)frames * 1000000000) / ((double)sampleRate * speed);
79 static inline float adjustSpeed(float speed, float pitch) argument
81 return kFixPitch ? speed / max(pitch, AUDIO_TIMESTRETCH_PITCH_MIN_DELTA) : speed;
93 uint32_t sampleRate, float speed /*, uint32_t notificationsPerBufferReq*/)
108 "sampleRate %u speed %f minBufCount: %u" /*" notificationsPerBufferReq %u"*/,
109 afLatencyMs, afFrameCount, afSampleRate, sampleRate, speed, minBufCount
112 sampleRate, afFrameCount, afSampleRate, speed);
153 // When called from createTrack, speed i
1364 const float speed = !isPurePcmData_l() || isOffloadedOrDirect_l() ? 1.0f : local
1857 float speed = mPlaybackRate.mSpeed; local
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteController.java156 * the playback speed.
163 * and speed are known.
170 * @param speed a value expressed as a ratio of 1x playback: 1.0f is normal playback,
171 * 2.0f is 2x, 0.5f is half-speed, -2.0f is rewind at 2x speed. 0.0f means nothing is
175 long currentPosMs, float speed);
200 * on the current play position at that time and the last known playback speed.
679 PlaybackInfo(int state, long stateChangeTimeMs, long currentPosMs, float speed) { argument
683 mSpeed = speed;
174 onClientPlaybackStateUpdate(int state, long stateChangeTimeMs, long currentPosMs, float speed) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DPlaybackControlGlue.java28 * playback control actions such as play/pause, fast forward/rewind at progressive speed levels,
40 * inform the glue what speed levels are supported for fast forward/rewind. Providing a
114 * Invalid playback speed.
129 * The initial (level 0) fast forward playback speed.
130 * The negative of this value is for rewind at the same speed.
135 * The level 1 fast forward playback speed.
136 * The negative of this value is for rewind at the same speed.
141 * The level 2 fast forward playback speed.
142 * The negative of this value is for rewind at the same speed.
147 * The level 3 fast forward playback speed
707 getSpeedString(int speed) argument
791 startPlayback(int speed) argument
[all...]
H A DPlaybackControlSupportGlue.java30 * playback control actions such as play/pause, fast forward/rewind at progressive speed levels,
42 * inform the glue what speed levels are supported for fast forward/rewind. Providing a
116 * Invalid playback speed.
131 * The initial (level 0) fast forward playback speed.
132 * The negative of this value is for rewind at the same speed.
137 * The level 1 fast forward playback speed.
138 * The negative of this value is for rewind at the same speed.
143 * The level 2 fast forward playback speed.
144 * The negative of this value is for rewind at the same speed.
149 * The level 3 fast forward playback speed
705 getSpeedString(int speed) argument
789 startPlayback(int speed) argument
[all...]
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DMainActivity.java33 * It presents a ui for setting ISO, Shutter speed, and focus
49 mSpeedButton = (Button) findViewById(R.id.speed);
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java219 private static native void nativeSetPointerSpeed(long ptr, int speed); argument
1550 public void tryPointerSpeed(int speed) { argument
1556 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) {
1557 throw new IllegalArgumentException("speed out of range");
1560 setPointerSpeedUnchecked(speed);
1564 int speed = getPointerSpeedSetting();
1565 setPointerSpeedUnchecked(speed);
1568 private void setPointerSpeedUnchecked(int speed) { argument
1569 speed
[all...]
/frameworks/base/core/java/android/widget/
H A DZoomButtonsController.java235 * @param speed The delay in milliseconds between zoom callbacks.
237 public void setZoomSpeed(long speed) { argument
238 mControls.setZoomSpeed(speed);
/frameworks/base/media/java/android/media/session/
H A DPlaybackState.java295 private PlaybackState(int state, long position, long updateTime, float speed, argument
301 mSpeed = speed;
330 bob.append(", speed=").append(mSpeed);
398 * Get the current playback speed as a multiple of normal playback. This
402 * @return The current speed of playback.
869 * The speed is a multiple of normal playback and should be 0 when
870 * paused and negative when rewinding. Normal playback speed is 1.0.
890 * @param playbackSpeed The current speed of playback as a multiple of
913 * The speed is a multiple of normal playback and should be 0 when
914 * paused and negative when rewinding. Normal playback speed i
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java1503 float speed, float bearing, float accuracy, long timestamp) {
1523 mLocation.setSpeed(speed);
1786 float speed,
1801 location.setSpeed(speed);
1839 double longitude, double altitude, float speed, float bearing, float accuracy,
1849 speed,
1866 double longitude, double altitude, float speed, float bearing, float accuracy,
1876 speed,
1502 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1781 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
1838 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
1865 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
H A DPlaybackControlSupportGlueTest.java104 protected void startPlayback(int speed) { argument
105 mSpeedId = speed;
H A DPlaybackControlGlueTest.java102 protected void startPlayback(int speed) { argument
103 mSpeedId = speed;
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp65 // The exponent used to calculate the pointer speed scaling factor.
66 // The scaling factor is calculated as 2 ^ (speed * exponent),
67 // where the speed ranges from -7 to + 7 and is supplied by the user.
203 void setPointerSpeed(int32_t speed);
270 // Pointer speed.
738 void NativeInputManager::setPointerSpeed(int32_t speed) { argument
742 if (mLocked.pointerSpeed == speed) {
746 ALOGI("Setting pointer speed to %d.", speed);
747 mLocked.pointerSpeed = speed;
1361 nativeSetPointerSpeed(JNIEnv* , jclass , jlong ptr, jint speed) argument
[all...]
H A Dcom_android_server_location_GnssLocationProvider.cpp117 (jfloat)location->speed, (jfloat)location->bearing,
476 (jfloat)location->speed, (jfloat)location->bearing,
489 jfloat speed = 0; local
498 speed = location->speed;
505 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
H A Dcom_android_server_location_FlpHardwareProvider.cpp305 location.speed = env->CallFloatMethod(locationObject, getSpeed);
513 sCallbackEnv->CallVoidMethod(locationObject, setSpeed, location->speed);
/frameworks/base/location/java/android/location/
H A DLocation.java131 * has no bearing, altitude, speed, accuracy or extras.
634 * True if this location has a speed.
641 * Get the speed if it is available, in meters/second over ground.
643 * <p>If this location does not have a speed then 0.0 is returned.
650 * Set the speed, in meters/second over ground.
654 public void setSpeed(float speed) { argument
655 mSpeed = speed;
660 * Remove the speed from this location.
/frameworks/rs/api/
H A Drs_vector_math.spec27 Different precision/speed tradeoffs can be achieved by using variants of the common math
H A Drs_math.spec41 Different precision/speed tradeoffs can be achieved by using variants of the common math
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java260 @Override protected void startPlayback(int speed) throws IllegalStateException { argument
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java260 @Override protected void startPlayback(int speed) throws IllegalStateException { argument
/frameworks/av/include/media/
H A DAudioTrack.h438 * if playback rate had normal speed and pitch.
443 * 1.0 is normal speed: < 1.0 is slower, > 1.0 is faster
446 * AUDIO_TIMESTRETCH_SPEED_MIN <= speed <= AUDIO_TIMESTRETCH_SPEED_MAX
926 // check sample rate and speed is compatible with AudioTrack
927 bool isSampleRateSpeedAllowed_l(uint32_t sampleRate, float speed) const;
945 float mMaxRequiredSpeed; // use PCM buffer size to allow this speed
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java6053 for (LongSamplingCounter speed : speeds) {
6054 if (speed != null) {
6055 speed.reset(false);
6659 for (int speed = 0; speed < numSpeeds; speed++) {
6661 cpuSpeeds[speed] = new LongSamplingCounter(mBsi.mOnBatteryTimeBase, in);
9430 for (int speed = 0; speed < clusterSpeeds[cluster].length; speed
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp3072 // Update pointer speed.
5373 float speed = hypotf(vx, vy);
5374 if (speed > bestSpeed) {
5376 bestSpeed = speed;
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1823 XAuint32 speed,
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1780 SLmillimeter speed

Completed in 979 milliseconds

12