/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/base/libs/androidfw/ |
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); 123 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/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). 499 * Gets the mouse pointer speed. 501 * Only returns the permanent mouse pointer speed. Ignores any temporary pointer 502 * speed set by {@link #tryPointerSpeed}. 506 * @return The pointer speed as a value between {@link #MIN_POINTER_SPEED} and 512 int speed = DEFAULT_POINTER_SPEED; 514 speed = Settings.System.getInt(context.getContentResolver(), 518 return speed; 533 setPointerSpeed(Context context, int speed) argument 553 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.
|
H A D | variablespeed.cc | 328 void AudioEngine::SetVariableSpeed(float speed) { argument 331 GetTimeScaler()->set_speed(speed); 336 LOGD("set varaible speed called, sample rate and channels not ready yet");
|
/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 | ProcessStats.java | 160 * The time in microseconds that the CPU has been running at each speed. 165 * The relative time in microseconds that the CPU has been running at each speed. 534 * Returns the times spent at each CPU speed, since the last call to this method. If this 536 * @return relative times spent at different speed steps. 564 int speed = 0; 573 tempSpeeds[speed] = val; 576 tempTimes[speed] = val; 577 speed++; 578 if (speed == MAX_SPEEDS) break; // No more 580 Slog.v(TAG, "First time : Speed/Time = " + tempSpeeds[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 1081 public void tryPointerSpeed(int speed) { argument 1087 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { 1088 throw new IllegalArgumentException("speed out of range"); 1091 setPointerSpeedUnchecked(speed); 1095 int speed = getPointerSpeedSetting(); 1096 setPointerSpeedUnchecked(speed); 1099 private void setPointerSpeedUnchecked(int speed) { argument 1100 speed [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 58 // The exponent used to calculate the pointer speed scaling factor. 59 // The scaling factor is calculated as 2 ^ (speed * exponent), 60 // where the speed ranges from -7 to + 7 and is supplied by the user. 177 void setPointerSpeed(int32_t speed); 230 // Pointer speed. 699 void NativeInputManager::setPointerSpeed(int32_t speed) { argument 703 if (mLocked.pointerSpeed == speed) { 707 ALOGI("Setting pointer speed to %d.", speed); 708 mLocked.pointerSpeed = speed; 1208 nativeSetPointerSpeed(JNIEnv* env, jclass clazz, jint ptr, jint speed) argument [all...] |
H A D | com_android_server_location_GpsLocationProvider.cpp | 77 (jfloat)location->speed, (jfloat)location->bearing,
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 110 * has no bearing, altitude, speed, accuracy or extras. 613 * True if this location has a speed. 620 * Get the speed if it is available, in meters/second over ground. 622 * <p>If this location does not have a speed then 0.0 is returned. 629 * Set the speed, in meters/second over ground. 633 public void setSpeed(float speed) { argument 634 mSpeed = speed; 639 * Remove the speed from this location.
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 1020 float speed, float bearing, float accuracy, long timestamp) { 1040 mLocation.setSpeed(speed); 1019 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 2727 // Update pointer speed. 4651 float speed = hypotf(vx, vy); 4652 if (speed > bestSpeed) { 4654 bestSpeed = speed;
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 1823 XAuint32 speed,
|