/frameworks/base/core/jni/ |
D | android_hardware_SerialPort.cpp | 36 android_hardware_SerialPort_open(JNIEnv *env, jobject thiz, jobject fileDescriptor, jint speed) in android_hardware_SerialPort_open() argument 38 switch (speed) { in android_hardware_SerialPort_open() 40 speed = B50; in android_hardware_SerialPort_open() 43 speed = B75; in android_hardware_SerialPort_open() 46 speed = B110; in android_hardware_SerialPort_open() 49 speed = B134; in android_hardware_SerialPort_open() 52 speed = B150; in android_hardware_SerialPort_open() 55 speed = B200; in android_hardware_SerialPort_open() 58 speed = B300; in android_hardware_SerialPort_open() 61 speed = B600; in android_hardware_SerialPort_open() [all …]
|
/frameworks/native/libs/input/ |
D | VelocityControl.cpp | 74 float speed = hypotf(vx, vy) * scale; in move() local 75 if (speed >= mParameters.highThreshold) { in move() 78 } else if (speed > mParameters.lowThreshold) { in move() 81 scale *= 1 + (speed - mParameters.lowThreshold) in move() 91 vx, vy, speed, scale / mParameters.scale); in move()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 516 int speed = DEFAULT_POINTER_SPEED; in getPointerSpeed() local 518 speed = Settings.System.getInt(context.getContentResolver(), in getPointerSpeed() 522 return speed; in getPointerSpeed() 537 public void setPointerSpeed(Context context, int speed) { in setPointerSpeed() argument 538 if (speed < MIN_POINTER_SPEED || speed > MAX_POINTER_SPEED) { in setPointerSpeed() 543 Settings.System.POINTER_SPEED, speed); in setPointerSpeed() local 557 public void tryPointerSpeed(int speed) { in tryPointerSpeed() argument 558 if (speed < MIN_POINTER_SPEED || speed > MAX_POINTER_SPEED) { in tryPointerSpeed() 563 mIm.tryPointerSpeed(speed); in tryPointerSpeed()
|
D | IInputManager.aidl | 35 void tryPointerSpeed(int speed); in tryPointerSpeed() argument
|
/frameworks/base/core/java/android/hardware/ |
D | SerialPort.java | 59 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { in open() argument 60 native_open(pfd.getFileDescriptor(), speed); in open() local 127 private native void native_open(FileDescriptor pfd, int speed) throws IOException; in native_open() argument
|
D | SerialManager.java | 73 public SerialPort openSerialPort(String name, int speed) throws IOException { in openSerialPort() argument 78 port.open(pfd, speed); in openSerialPort()
|
/frameworks/base/core/java/android/widget/ |
D | ZoomControls.java | 70 public void setZoomSpeed(long speed) { in setZoomSpeed() argument 71 mZoomIn.setZoomSpeed(speed); in setZoomSpeed() 72 mZoomOut.setZoomSpeed(speed); in setZoomSpeed()
|
D | ZoomButton.java | 67 public void setZoomSpeed(long speed) { in setZoomSpeed() argument 68 mZoomSpeed = speed; in setZoomSpeed()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 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 - 1]); 605 out = new long[speed]; 606 mCpuSpeeds = new long[speed]; 607 System.arraycopy(tempSpeeds, 0, mCpuSpeeds, 0, speed); [all …]
|
/frameworks/base/docs/html/guide/webapps/ |
D | best-practices.jd | 71 <p>Because mobile devices typically have a connection speed far slower than a desktop 72 computer, you should make your web pages load as fast as possible. One way to speed it up is to 76 Alternatively, you should optimize the size and speed of your files by compressing them with tools 90 improving the speed of your web site (for mobile and desktop), see Yahoo!'s guide to <a 92 Google's speed tutorials in <a href="http://code.google.com/speed/articles/">Let's make the web
|
/frameworks/ex/variablespeed/jni/ |
D | jni_entry.cc | 55 JNI_METHOD(setVariableSpeed, void) (JNIEnv*, jclass, float speed) { in JNI_METHOD() 57 AudioEngine::GetEngine()->SetVariableSpeed(speed); in JNI_METHOD()
|
D | sola_time_scaler.h | 96 void set_speed(double speed);
|
D | sola_time_scaler.cc | 99 void SolaTimeScaler::set_speed(double speed) { in set_speed() argument 102 speed_ = speed; in set_speed()
|
D | variablespeed.h | 53 void SetVariableSpeed(float speed);
|
/frameworks/base/services/java/com/android/server/input/ |
D | InputManagerService.java | 180 private static native void nativeSetPointerSpeed(int ptr, int speed); in nativeSetPointerSpeed() argument 1082 public void tryPointerSpeed(int speed) { in tryPointerSpeed() argument 1088 if (speed < InputManager.MIN_POINTER_SPEED || speed > InputManager.MAX_POINTER_SPEED) { in tryPointerSpeed() 1092 setPointerSpeedUnchecked(speed); in tryPointerSpeed() 1096 int speed = getPointerSpeedSetting(); in updatePointerSpeedFromSettings() local 1097 setPointerSpeedUnchecked(speed); in updatePointerSpeedFromSettings() 1100 private void setPointerSpeedUnchecked(int speed) { in setPointerSpeedUnchecked() argument 1101 speed = Math.min(Math.max(speed, InputManager.MIN_POINTER_SPEED), in setPointerSpeedUnchecked() 1103 nativeSetPointerSpeed(mPtr, speed); in setPointerSpeedUnchecked() 1118 int speed = InputManager.DEFAULT_POINTER_SPEED; in getPointerSpeedSetting() local [all …]
|
/frameworks/wilhelm/src/itf/ |
D | I3DDoppler.c | 43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) in I3DDoppler_SetVelocitySpherical() argument 51 thiz->mVelocitySpherical.mSpeed = speed; in I3DDoppler_SetVelocitySpherical()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 176 long currentPosMs, float speed); in onClientPlaybackStateUpdate() argument 550 long stateChangeTimeMs, long currentPosMs, float speed) { in setPlaybackState() argument 560 + "ms speed=" + speed); in setPlaybackState() 569 new PlaybackInfo(state, stateChangeTimeMs, currentPosMs, speed); in setPlaybackState() 861 PlaybackInfo(int state, long stateChangeTimeMs, long currentPosMs, float speed) { in PlaybackInfo() argument 865 mSpeed = speed; in PlaybackInfo()
|
D | IRemoteControlDisplay.aidl | 77 float speed); in setPlaybackState() argument
|
/frameworks/base/docs/html/design/building-blocks/ |
D | scrolling.jd | 6 scrolling speed is proportional to the speed of the gesture.</p>
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerEntry.java | 233 Float speed = getNullableFloat(cursor, SPEED); in createEntry() local 234 if (speed != null) { in createEntry() 235 location.setSpeed(speed); in createEntry()
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | Media.java | 149 long currentPosMs, float speed) { in setPlaybackState() argument 151 + " time=" + stateChangeTimeMs + " pos=" + currentPosMs + " speed=" + speed); in setPlaybackState()
|
/frameworks/base/services/jni/ |
D | com_android_server_location_GpsLocationProvider.cpp | 85 (jfloat)location->speed, (jfloat)location->bearing, in location_callback() 252 (jfloat)location->speed, (jfloat)location->bearing, in gps_geofence_transition_callback() 265 jfloat speed = 0; in gps_geofence_status_callback() local 274 speed = location->speed; in gps_geofence_status_callback() 281 flags, latitude, longitude, altitude, speed, bearing, accuracy, timestamp); in gps_geofence_status_callback()
|
D | com_android_server_input_InputManagerService.cpp | 178 void setPointerSpeed(int32_t speed); 704 void NativeInputManager::setPointerSpeed(int32_t speed) { in setPointerSpeed() argument 708 if (mLocked.pointerSpeed == speed) { in setPointerSpeed() 712 ALOGI("Setting pointer speed to %d.", speed); in setPointerSpeed() 713 mLocked.pointerSpeed = speed; in setPointerSpeed() 1219 jclass clazz, jint ptr, jint speed) { in nativeSetPointerSpeed() argument 1222 im->setPointerSpeed(speed); in nativeSetPointerSpeed()
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | VariableSpeedNative.java | 68 /*package*/ static native void setVariableSpeed(float speed); in setVariableSpeed() argument
|
/frameworks/base/services/java/com/android/server/location/ |
D | GpsLocationProvider.java | 1128 float speed, float bearing, float accuracy, long timestamp) { in reportLocation() argument 1148 mLocation.setSpeed(speed); in reportLocation() 1440 float speed, in buildLocation() argument 1455 location.setSpeed(speed); in buildLocation() 1493 double longitude, double altitude, float speed, float bearing, float accuracy, in reportGeofenceTransition() argument 1503 speed, in reportGeofenceTransition() 1520 double longitude, double altitude, float speed, float bearing, float accuracy, in reportGeofenceStatus() argument 1530 speed, in reportGeofenceStatus()
|