Searched refs:speed (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DZoomControls.java68 public void setZoomSpeed(long speed) { argument
69 mZoomIn.setZoomSpeed(speed);
70 mZoomOut.setZoomSpeed(speed);
H A DZoomButton.java65 public void setZoomSpeed(long speed) { argument
66 mZoomSpeed = speed;
H A DZoomButtonsController.java236 * @param speed The delay in milliseconds between zoom callbacks.
238 public void setZoomSpeed(long speed) { argument
239 mControls.setZoomSpeed(speed);
/frameworks/ex/variablespeed/jni/
H A Djni_entry.cc55 JNI_METHOD(setVariableSpeed, void) (JNIEnv*, jclass, float speed) {
57 AudioEngine::GetEngine()->SetVariableSpeed(speed);
H A Dsola_time_scaler.h95 // @param speed rate scaling factor
96 void set_speed(double speed);
140 double ratio_; // inverse of speed
H A Dvariablespeed.h53 void SetVariableSpeed(float speed);
H A Dsola_time_scaler.cc99 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 Dvariablespeed.cc328 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/base/services/java/com/android/server/wm/
H A DInputManager.java96 private static native void nativeSetPointerSpeed(int speed); argument
426 * Set the pointer speed.
427 * @param speed The pointer speed as a value between -7 (slowest) and 7 (fastest)
428 * where 0 is the default speed.
430 public void setPointerSpeed(int speed) { argument
431 speed = Math.min(Math.max(speed, -7), 7);
432 nativeSetPointerSpeed(speed);
436 int speed
[all...]
H A DWindowManagerService.java6395 * Temporarily set the pointer speed. Does not save the new setting.
6398 public void setPointerSpeed(int speed) { argument
6404 mInputManager.setPointerSpeed(speed);
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DVariableSpeedNative.java68 /*package*/ static native void setVariableSpeed(float speed); argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java233 Float speed = getNullableFloat(cursor, SPEED);
234 if (speed != null) {
235 location.setSpeed(speed);
/frameworks/base/core/java/com/android/internal/os/
H A DProcessStats.java160 * 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/core/java/android/view/
H A DIWindowManager.aidl219 * Called by the settings application to temporarily set the pointer speed.
221 void setPointerSpeed(int speed);
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp54 // The exponent used to calculate the pointer speed scaling factor.
55 // The scaling factor is calculated as 2 ^ (speed * exponent),
56 // where the speed ranges from -7 to + 7 and is supplied by the user.
188 void setPointerSpeed(int32_t speed);
239 // Pointer speed.
681 void NativeInputManager::setPointerSpeed(int32_t speed) { argument
685 if (mLocked.pointerSpeed == speed) {
689 LOGI("Setting pointer speed to %d.", speed);
690 mLocked.pointerSpeed = speed;
1310 android_server_InputManager_nativeSetPointerSpeed(JNIEnv* env, jclass clazz, jint speed) argument
[all...]
H A Dcom_android_server_location_GpsLocationProvider.cpp77 (jfloat)location->speed, (jfloat)location->bearing,
/frameworks/base/location/java/android/location/
H A DLocation.java30 * UTC timestamp. and optionally information on altitude, speed, and
548 * Returns true if this fix contains speed information, false
556 * Returns the speed of the device over ground in meters/second.
564 * Sets the speed of this fix, in meters/second. Following this
567 public void setSpeed(float speed) { argument
568 mSpeed = speed;
573 * Clears the speed of this fix. Following this call, hasSpeed()
/frameworks/base/libs/ui/
H A DInput.cpp1137 float speed = hypotf(vx, vy) * scale; local
1138 if (speed >= mParameters.highThreshold) {
1139 // Apply full acceleration above the high speed threshold.
1141 } else if (speed > mParameters.lowThreshold) {
1143 // speed thresholds.
1144 scale *= 1 + (speed - mParameters.lowThreshold)
1151 "vx=%0.3f, vy=%0.3f, speed=%0.3f, accel=%0.3f",
1154 vx, vy, speed, scale / mParameters.scale);
/frameworks/base/docs/html/resources/
H A Dresources-data.js367 path: 'articles/window-bg-speed.html',
372 en: 'Some Android applications need to squeeze every bit of performance out of the UI toolkit and there are many ways to do so. In this article, you will discover how to speed up the drawing and the perceived startup time of your activities. Both of these techniques rely on a single feature, the window\'s background drawable.'
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java662 * Returns true if the provider is able to provide speed
663 * information, false otherwise. A provider that reports speed
1049 float speed, float bearing, float accuracy, long timestamp) {
1066 mLocation.setSpeed(speed);
1048 reportLocation(int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp) argument
/frameworks/base/services/input/
H A DInputReader.cpp2488 // Update pointer speed.
4342 float speed = hypotf(vx, vy);
4343 if (speed > bestSpeed) {
4345 bestSpeed = speed;

Completed in 524 milliseconds