Home
last modified time | relevance | path

Searched refs:nRange (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp505 jint *nRange = env->GetIntArrayElements(jRange, NULL); in android_media_visualizer_native_getCaptureSizeRange() local
506 nRange[0] = Visualizer::getMinCaptureSize(); in android_media_visualizer_native_getCaptureSizeRange()
507 nRange[1] = Visualizer::getMaxCaptureSize(); in android_media_visualizer_native_getCaptureSizeRange()
508 ALOGV("getCaptureSizeRange() min %d max %d", nRange[0], nRange[1]); in android_media_visualizer_native_getCaptureSizeRange()
509 env->ReleaseIntArrayElements(jRange, nRange, 0); in android_media_visualizer_native_getCaptureSizeRange()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp216 static void double2Rational(double f, Range nRange, Range dRange,
1364 void Rational::double2Rational(double f, Range nRange, Range dRange, in double2Rational() argument
1367 Rational bestLower(nRange.lower(), dRange.upper()); in double2Rational()
1368 Rational bestUpper(nRange.upper(), dRange.lower()); in double2Rational()
1374 if ((val.numerator() < nRange.lower()) in double2Rational()
1375 || (val.numerator() > nRange.upper())) { continue; } in double2Rational()
1382 if (val.numerator() > nRange.upper()) { continue; } in double2Rational()