/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 53 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 D | RemoteController.java | 156 * 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 D | PlaybackControlGlue.java | 28 * 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 D | PlaybackControlSupportGlue.java | 30 * 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 D | MainActivity.java | 33 * 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 D | InputManagerService.java | 219 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 D | ZoomButtonsController.java | 235 * @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 D | PlaybackState.java | 295 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 D | GnssLocationProvider.java | 1503 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 D | PlaybackControlSupportGlueTest.java | 104 protected void startPlayback(int speed) { argument 105 mSpeedId = speed;
|
H A D | PlaybackControlGlueTest.java | 102 protected void startPlayback(int speed) { argument 103 mSpeedId = speed;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 65 // 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 D | com_android_server_location_GnssLocationProvider.cpp | 117 (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 D | com_android_server_location_FlpHardwareProvider.cpp | 305 location.speed = env->CallFloatMethod(locationObject, getSpeed); 513 sCallbackEnv->CallVoidMethod(locationObject, setSpeed, location->speed);
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 131 * 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 D | rs_vector_math.spec | 27 Different precision/speed tradeoffs can be achieved by using variants of the common math
|
H A D | rs_math.spec | 41 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 D | MediaPlayerGlue.java | 260 @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 D | MediaPlayerGlue.java | 260 @Override protected void startPlayback(int speed) throws IllegalStateException { argument
|
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 438 * 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 D | BatteryStatsImpl.java | 6053 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 D | InputReader.cpp | 3072 // Update pointer speed. 5373 float speed = hypotf(vx, vy); 5374 if (speed > bestSpeed) { 5376 bestSpeed = speed;
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 1823 XAuint32 speed,
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 1780 SLmillimeter speed
|