Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/base/core/jni/
Dandroid_hardware_SerialPort.cpp36 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/base/core/java/android/hardware/input/
DInputSettings.java97 public static void setPointerSpeed(Context context, int speed) { in setPointerSpeed() argument
98 if (speed < MIN_POINTER_SPEED || speed > MAX_POINTER_SPEED) { in setPointerSpeed()
103 Settings.System.POINTER_SPEED, speed); in setPointerSpeed() local
214 public static void setTouchpadPointerSpeed(@NonNull Context context, int speed) { in setTouchpadPointerSpeed() argument
215 if (speed < MIN_POINTER_SPEED || speed > MAX_POINTER_SPEED) { in setTouchpadPointerSpeed()
220 Settings.System.TOUCHPAD_POINTER_SPEED, speed, UserHandle.USER_CURRENT); in setTouchpadPointerSpeed() local
/frameworks/native/libs/input/
DVelocityControl.cpp82 float speed = hypotf(*vx, *vy) * scale; in move() local
83 if (speed >= mParameters.highThreshold) { in move()
86 } else if (speed > mParameters.lowThreshold) { in move()
89 scale *= 1 + (speed - mParameters.lowThreshold) in move()
98 mParameters.acceleration, *vx, *vy, speed, scale / mParameters.scale); in move()
/frameworks/av/media/libaudioclient/tests/
Dtrack_test_output_v1.0_ref_walleye.txt7 sample rate(48000), original sample rate(48000), speed(1.000000)
18 sample rate(24000), original sample rate(24000), speed(1.000000)
29 sample rate(16000), original sample rate(16000), speed(1.000000)
40 sample rate(8000), original sample rate(8000), speed(1.000000)
51 sample rate(44100), original sample rate(44100), speed(1.000000)
62 sample rate(22050), original sample rate(22050), speed(1.000000)
73 sample rate(11025), original sample rate(11025), speed(1.000000)
84 sample rate(48000), original sample rate(48000), speed(1.000000)
95 sample rate(48000), original sample rate(48000), speed(1.000000)
106 sample rate(48000), original sample rate(48000), speed(1.000000)
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DUniverse.kt56 var speed: Float, variable
75 velocity = Vec2.makeWithAngleMag(orbitAngle + PIf / 2f, speed) in update()
110 Planet(orbitCenter = Vec2.Zero, radius = radius, pos = Vec2.Zero, speed = 0f) {
148 val speed = 2f * PIf * orbitRadius / period in initTest() constant
155 speed = speed, in initTest()
160 "created planet $p with period $period and vel $speed" in initTest()
166 p.fauna = "speed=$speed" in initTest()
206 val speed = 2f * PIf * orbitRadius / period in initRandom() constant
213 speed = speed, in initRandom()
218 "created planet $p with period $period and vel $speed" in initRandom()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
DBatteryStatsCpuTimesTest.java243 for (int speed = 0; speed < clusterSpeedTimesMs[cluster].length; ++speed) { in testUpdateClusterSpeedTimes()
244 assertEquals("Uid=" + testUids[i] + ", cluster=" + cluster + ", speed=" + speed, in testUpdateClusterSpeedTimes()
245 cpuTimeUs[i] * clusterSpeedTimesMs[cluster][speed] in testUpdateClusterSpeedTimes()
247 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testUpdateClusterSpeedTimes()
668 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
669 assertEquals("Unexpected time at cluster=" + cluster + ", speed=" + speed, in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
671 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
711 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
712 assertEquals("Unexpected time at cluster=" + cluster + ", speed=" + speed, in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
714 u.getTimeAtCpuSpeed(cluster, speed, STATS_SINCE_CHARGED)); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
[all …]
/frameworks/base/media/jni/
Dandroid_media_PlaybackParams.h36 jfieldID speed; member
59 speed = env->GetFieldID(clazz, "mSpeed", "F"); in init()
84 audioRate.mSpeed = env->GetFloatField(params, fields.speed); in fillFromJobject()
103 env->SetFloatField(params, fields.speed, (jfloat)audioRate.mSpeed); in asJobject()
/frameworks/base/core/java/android/hardware/
DSerialPort.java56 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { in open() argument
57 native_open(pfd.getFileDescriptor(), speed); in open() local
126 private native void native_open(FileDescriptor pfd, int speed) throws IOException; in native_open() argument
DSerialManager.java72 public SerialPort openSerialPort(String name, int speed) throws IOException { in openSerialPort() argument
77 port.open(pfd, speed); in openSerialPort()
/frameworks/base/core/java/android/widget/
DZoomControls.java75 public void setZoomSpeed(long speed) { in setZoomSpeed() argument
76 mZoomIn.setZoomSpeed(speed); in setZoomSpeed()
77 mZoomOut.setZoomSpeed(speed); in setZoomSpeed()
DZoomButton.java85 public void setZoomSpeed(long speed) { in setZoomSpeed() argument
86 mZoomSpeed = speed; in setZoomSpeed()
/frameworks/base/services/core/java/com/android/server/power/stats/
DSystemServicePowerCalculator.java56 for (int speed = 0; speed < numSpeeds; speed++) { in SystemServicePowerCalculator()
58 powerProfile.getAveragePowerForCpuCore(cluster, speed)); in SystemServicePowerCalculator()
DCpuPowerCalculator.java86 for (int speed = 0; speed < speedsForCluster; speed++) { in CpuPowerCalculator()
88 profile.getAveragePowerForCpuCore(cluster, speed)); in CpuPowerCalculator()
89 mPerCpuFreqPowerEstimatorsByCluster[cluster][speed] = estimator; in CpuPowerCalculator()
/frameworks/base/services/core/java/com/android/server/input/
DInputSettingsObserver.java120 private int constrainPointerSpeedValue(int speed) { in constrainPointerSpeedValue() argument
121 return Math.min(Math.max(speed, InputSettings.MIN_POINTER_SPEED), in constrainPointerSpeedValue()
126 int speed = Settings.System.getIntForUser(mContext.getContentResolver(), in updateMousePointerSpeed() local
129 mNative.setPointerSpeed(constrainPointerSpeedValue(speed)); in updateMousePointerSpeed()
DNativeInputManagerService.java120 void setPointerSpeed(int speed); in setPointerSpeed() argument
124 void setTouchpadPointerSpeed(int speed); in setTouchpadPointerSpeed() argument
346 public native void setPointerSpeed(int speed); in setPointerSpeed() argument
352 public native void setTouchpadPointerSpeed(int speed); in setTouchpadPointerSpeed() argument
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResamplerPublic.h105 float speed) { in sourceFramesNeededWithTimestretch() argument
109 return required * (double)speed + 1 + 1; // accounting for rounding dependencies in sourceFramesNeededWithTimestretch()
/frameworks/av/include/media/
DAudioResamplerPublic.h105 float speed) { in sourceFramesNeededWithTimestretch() argument
109 return required * (double)speed + 1 + 1; // accounting for rounding dependencies in sourceFramesNeededWithTimestretch()
/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/
DUsbGadgetAidl.java227 public void getUsbSpeedCb(int speed, long transactionId) { in getUsbSpeedCb() argument
229 + speed + " ,transactionId:" + transactionId); in getUsbSpeedCb()
230 mDeviceManager.getUsbSpeedCb(speed); in getUsbSpeedCb()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java169 double speed = MIN_NUMBER_OF_SURFACES * 1000.0 / (time2 - time1); in measureAllocationScore() local
170 score.mMedian += speed / MEASURE_ALLOCATION_CYCLES; in measureAllocationScore()
172 score.mMin = speed; in measureAllocationScore()
173 score.mMax = speed; in measureAllocationScore()
175 score.mMin = Math.min(score.mMin, speed); in measureAllocationScore()
176 score.mMax = Math.max(score.mMax, speed); in measureAllocationScore()
/frameworks/wilhelm/src/itf/
DI3DDoppler.cpp43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed) in I3DDoppler_SetVelocitySpherical() argument
51 thiz->mVelocitySpherical.mSpeed = speed; in I3DDoppler_SetVelocitySpherical()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java233 Float speed = getNullableFloat(cursor, SPEED); in createEntry() local
234 if (speed != null) { in createEntry()
235 location.setSpeed(speed); in createEntry()
/frameworks/base/media/java/android/media/
DPlaybackParams.java219 public PlaybackParams setSpeed(float speed) { in setSpeed() argument
220 mSpeed = speed; in setSpeed()
/frameworks/av/media/libaudioclient/aidl/android/media/
DCreateTrackRequest.aidl38 float speed;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java649 int speed = timedScore.getScore().calculateBadge(mRssi); in generateAverageSpeedForSsid() local
650 if (speed != Speed.NONE) { in generateAverageSpeedForSsid()
652 totalSpeed += speed; in generateAverageSpeedForSsid()
655 int speed = count == 0 ? Speed.NONE : totalSpeed / count; in generateAverageSpeedForSsid() local
657 Log.i(TAG, String.format("%s generated fallback speed is: %d", getSsidStr(), speed)); in generateAverageSpeedForSsid()
659 return roundToClosestSpeedEnum(speed); in generateAverageSpeedForSsid()
1596 private static int roundToClosestSpeedEnum(int speed) { in roundToClosestSpeedEnum() argument
1597 if (speed < Speed.SLOW) { in roundToClosestSpeedEnum()
1599 } else if (speed < (Speed.SLOW + Speed.MODERATE) / 2) { in roundToClosestSpeedEnum()
1601 } else if (speed < (Speed.MODERATE + Speed.FAST) / 2) { in roundToClosestSpeedEnum()
[all …]
/frameworks/base/apct-tests/perftests/textclassifier/
Drun.sh4 adb shell cmd package compile -m speed -f com.android.perftests.textclassifier

1234