Searched refs:nRange (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 505 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/ |
D | hwcCommit.cpp | 216 static void double2Rational(double f, Range nRange, Range dRange, 1362 void Rational::double2Rational(double f, Range nRange, Range dRange, in double2Rational() argument 1365 Rational bestLower(nRange.lower(), dRange.upper()); in double2Rational() 1366 Rational bestUpper(nRange.upper(), dRange.lower()); in double2Rational() 1372 if ((val.numerator() < nRange.lower()) in double2Rational() 1373 || (val.numerator() > nRange.upper())) { continue; } in double2Rational() 1380 if (val.numerator() > nRange.upper()) { continue; } in double2Rational()
|