/frameworks/base/core/jni/ |
H A D | android_hardware_SerialPort.cpp | 36 android_hardware_SerialPort_open(JNIEnv *env, jobject thiz, jobject fileDescriptor, jint speed) argument 38 switch (speed) { 40 speed = B50; 43 speed = B75; 46 speed = B110; 49 speed = B134; 52 speed = B150; 55 speed = B200; 58 speed = B300; 61 speed [all...] |
/frameworks/native/libs/input/ |
H A D | VelocityControl.cpp | 74 float speed = hypotf(vx, vy) * scale; local 75 if (speed >= mParameters.highThreshold) { 76 // Apply full acceleration above the high speed threshold. 78 } else if (speed > mParameters.lowThreshold) { 80 // speed thresholds. 81 scale *= 1 + (speed - mParameters.lowThreshold) 88 "vx=%0.3f, vy=%0.3f, speed=%0.3f, accel=%0.3f", 91 vx, vy, speed, scale / mParameters.scale);
|
/frameworks/base/core/java/android/hardware/ |
H A D | SerialPort.java | 59 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { argument 60 native_open(pfd.getFileDescriptor(), speed); 127 private native void native_open(FileDescriptor pfd, int speed) throws IOException; argument
|
H A D | SerialManager.java | 64 * The speed of the serial port must be one of: 70 * @param speed at which to open the serial port 73 public SerialPort openSerialPort(String name, int speed) throws IOException { argument 78 port.open(pfd, speed);
|
/frameworks/base/core/java/android/widget/ |
H A D | ZoomControls.java | 70 public void setZoomSpeed(long speed) { argument 71 mZoomIn.setZoomSpeed(speed); 72 mZoomOut.setZoomSpeed(speed);
|
H A D | ZoomButton.java | 67 public void setZoomSpeed(long speed) { argument 68 mZoomSpeed = speed;
|
H A D | ZoomButtonsController.java | 236 * @param speed The delay in milliseconds between zoom callbacks. 238 public void setZoomSpeed(long speed) { argument 239 mControls.setZoomSpeed(speed);
|
/frameworks/base/media/java/android/media/ |
H A D | IRemoteControlDisplay.aidl | 50 * Sets the playback information (state, position and speed) of a client. 72 * @param speed a value expressed as a ratio of 1x playback: 1.0f is normal playback, 73 * 2.0f is 2x, 0.5f is half-speed, -2.0f is rewind at 2x speed. 0.0f means nothing is 77 float speed);
|
H A D | RemoteController.java | 157 * the playback speed. 164 * and speed are known. 171 * @param speed a value expressed as a ratio of 1x playback: 1.0f is normal playback, 172 * 2.0f is 2x, 0.5f is half-speed, -2.0f is rewind at 2x speed. 0.0f means nothing is 176 long currentPosMs, float speed); 210 * on the current play position at that time and the last known playback speed. 550 long stateChangeTimeMs, long currentPosMs, float speed) { 560 + "ms speed=" + speed); 175 onClientPlaybackStateUpdate(int state, long stateChangeTimeMs, long currentPosMs, float speed) argument 549 setPlaybackState(int genId, int state, long stateChangeTimeMs, long currentPosMs, float speed) argument 861 PlaybackInfo(int state, long stateChangeTimeMs, long currentPosMs, float speed) argument [all...] |
H A D | IAudioService.aidl | 219 void setPlaybackStateForRcc(int rccId, int state, long timeMs, float speed);
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 132 * Pointer Speed: The minimum (slowest) pointer speed (-7). 138 * Pointer Speed: The maximum (fastest) pointer speed (7). 144 * Pointer Speed: The default pointer speed (0). 503 * Gets the mouse pointer speed. 505 * Only returns the permanent mouse pointer speed. Ignores any temporary pointer 506 * speed set by {@link #tryPointerSpeed}. 510 * @return The pointer speed as a value between {@link #MIN_POINTER_SPEED} and 516 int speed = DEFAULT_POINTER_SPEED; 518 speed = Settings.System.getInt(context.getContentResolver(), 522 return speed; 537 setPointerSpeed(Context context, int speed) argument 557 tryPointerSpeed(int speed) argument [all...] |
H A D | IInputManager.aidl | 34 // Temporarily changes the pointer speed. 35 void tryPointerSpeed(int speed);
|
/frameworks/ex/variablespeed/jni/ |
H A D | jni_entry.cc | 55 JNI_METHOD(setVariableSpeed, void) (JNIEnv*, jclass, float speed) { 57 AudioEngine::GetEngine()->SetVariableSpeed(speed);
|
H A D | sola_time_scaler.h | 95 // @param speed rate scaling factor 96 void set_speed(double speed); 140 double ratio_; // inverse of speed
|
H A D | variablespeed.h | 53 void SetVariableSpeed(float speed);
|
H A D | sola_time_scaler.cc | 99 void SolaTimeScaler::set_speed(double speed) { argument 102 speed_ = speed; 109 LOGE("Requested speed %fx limited to 0.1x", speed_); 112 LOGE("Requested speed %fx limited to 8.0x", speed_); 128 // For compression (speed up), adjacent input windows overlap in the output.
|
/frameworks/wilhelm/src/itf/ |
H A D | I3DDoppler.c | 43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) 51 thiz->mVelocitySpherical.mSpeed = speed; 42 I3DDoppler_SetVelocitySpherical(SL3DDopplerItf self, SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) argument
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | VariableSpeedNative.java | 68 /*package*/ static native void setVariableSpeed(float speed); argument
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerEntry.java | 233 Float speed = getNullableFloat(cursor, SPEED); 234 if (speed != null) { 235 location.setSpeed(speed);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessCpuTracker.java | 163 * The time in microseconds that the CPU has been running at each speed. 168 * The relative time in microseconds that the CPU has been running at each speed. 551 * speed, since the last call to this method. If this is the first call, it 580 int speed = 0; 589 tempSpeeds[speed] = val; 592 tempTimes[speed] = val; 593 speed++; 594 if (speed == MAX_SPEEDS) break; // No more 596 Slog.v(TAG, "First time : Speed/Time = " + tempSpeeds[speed - 1] 597 + "\t" + tempTimes[speed [all...] |
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 180 private static native void nativeSetPointerSpeed(int ptr, int speed); argument 1082 public void tryPointerSpeed(int speed) { argument 1088 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { 1089 throw new IllegalArgumentException("speed out of range"); 1092 setPointerSpeedUnchecked(speed); 1096 int speed = getPointerSpeedSetting(); 1097 setPointerSpeedUnchecked(speed); 1100 private void setPointerSpeedUnchecked(int speed) { argument 1101 speed [all...] |
/frameworks/base/cmds/media/src/com/android/commands/media/ |
H A D | Media.java | 149 long currentPosMs, float speed) { 151 + " time=" + stateChangeTimeMs + " pos=" + currentPosMs + " speed=" + speed); 148 setPlaybackState(int generationId, int state, long stateChangeTimeMs, long currentPosMs, float speed) argument
|
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 85 (jfloat)location->speed, (jfloat)location->bearing, 252 (jfloat)location->speed, (jfloat)location->bearing, 265 jfloat speed = 0; local 274 speed = location->speed; 281 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp);
|
H A D | com_android_server_input_InputManagerService.cpp | 59 // The exponent used to calculate the pointer speed scaling factor. 60 // The scaling factor is calculated as 2 ^ (speed * exponent), 61 // where the speed ranges from -7 to + 7 and is supplied by the user. 178 void setPointerSpeed(int32_t speed); 232 // Pointer speed. 704 void NativeInputManager::setPointerSpeed(int32_t speed) { argument 708 if (mLocked.pointerSpeed == speed) { 712 ALOGI("Setting pointer speed to %d.", speed); 713 mLocked.pointerSpeed = speed; 1218 nativeSetPointerSpeed(JNIEnv* env, jclass clazz, jint ptr, jint speed) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 1128 float speed, float bearing, float accuracy, long timestamp) { 1148 mLocation.setSpeed(speed); 1440 float speed, 1455 location.setSpeed(speed); 1493 double longitude, double altitude, float speed, float bearing, float accuracy, 1503 speed, 1520 double longitude, double altitude, float speed, float bearing, float accuracy, 1530 speed, 1127 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument 1435 buildLocation( int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument 1492 reportGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument 1519 reportGeofenceStatus(int status, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
|