Searched defs:rate (Results 26 - 30 of 30) sorted by relevance

12

/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp773 const float rate = 0.9; // byte per pixel limit local
789 int(pixels * rate));
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java311 /** rate suitable for games */
313 /** rate suitable for the user interface */
315 /** rate (default) suitable for screen orientation changes */
467 * @param rate
468 * rate of events. This is only a hint to the system. events may be
469 * received faster or slower than the specified rate. Usually events
478 public boolean registerListener(SensorListener listener, int sensors, int rate) { argument
479 return getLegacySensorManager().registerListener(listener, sensors, rate);
568 * @param rate
569 * The rate {
585 registerListener(SensorEventListener listener, Sensor sensor, int rate) argument
621 registerListener(SensorEventListener listener, Sensor sensor, int rate, Handler handler) argument
[all...]
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp186 // minimum number of frames to cover output latency at the sample rate of the content
939 SL_LOGE("Cannot create audio player: unsupported sample rate %u milliHz",
1732 SLresult android_audioPlayer_setPlaybackRateAndConstraints(CAudioPlayer *ap, SLpermille rate, argument
1738 assert((AUDIOTRACK_MIN_PLAYBACKRATE_PERMILLE <= rate) &&
1739 (rate <= AUDIOTRACK_MAX_PLAYBACKRATE_PERMILLE));
1741 // get the content sample rate
1743 // apply the SL ES playback rate on the AudioTrack as a factor of its content sample rate
1745 ap->mAudioTrack->setSampleRate(contentRate * (rate/1000.0f));
1750 assert((MEDIAPLAYER_MIN_PLAYBACKRATE_PERMILLE <= rate)
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java348 * Set video frame capture rate. This can be used to set a different video frame capture
349 * rate than the recorded video's playback rate. This method also sets the recording mode
360 * given rate due to camera/encoder limitations. However it tries to be as close as
461 * Sets the frame rate of the video to be captured. Must be called
465 * @param rate the number of frames per second of video to capture
469 * NOTE: On some devices that have auto-frame rate, this sets the
470 * maximum frame rate, not a constant frame rate. Actual frame rate
473 setVideoFrameRate(int rate) argument
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerController.java128 // Light sensor event rate in milliseconds.
131 // A rate for generating synthetic light sensor events in the case where the light
137 // Brightness animation ramp rate in brightness units per second.
798 private void animateScreenBrightness(int target, int rate) { argument
799 if (mScreenBrightnessRampAnimator.animateTo(target, rate)) {

Completed in 147 milliseconds

12