/external/eigen/bench/btl/data/ |
gnuplot_common_settings.hh | 44 set size ratio 0 1,1 variable
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
EndPointRatioClassifier.java | 20 * A classifier which looks at the ratio between the total length covered by the stroke and the 35 float ratio; local 37 ratio = 1.0f; 39 ratio = stroke.getEndPointLength() / stroke.getTotalLength(); 41 return EndPointRatioEvaluator.evaluate(ratio);
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
EndPointRatioClassifier.java | 20 * A classifier which looks at the ratio between the total length covered by the stroke and the 35 float ratio; local 37 ratio = 1.0f; 39 ratio = stroke.getEndPointLength() / stroke.getTotalLength(); 41 return EndPointRatioEvaluator.evaluate(ratio);
|
/external/aac/libSBRenc/src/ |
resampler.h | 135 int ratio; /*! downsampling ration */ member in struct:__anon14073 146 INT ratio); /*!< downsampler ratio */ 150 * to the downsampler ratio.
|
/external/autotest/frontend/client/src/autotest/common/ |
AbstractStatusSummary.java | 30 public boolean matches(double ratio) { 31 return ratio * 100 >= minPercent; 47 double ratio = (double) getPassed() / getComplete(); local 49 if (mapping.matches(ratio)) 52 throw new RuntimeException("No color map match for ratio " + ratio);
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
LMonestep.h | 26 RealScalar ratio; local 122 /* compute the ratio of the actual to the predicted */ 124 ratio = 0.; 126 ratio = actred / prered; 129 if (ratio <= Scalar(.25)) { 139 } else if (!(m_par != 0. && ratio < RealScalar(.75))) { 145 if (ratio >= RealScalar(1e-4)) { 156 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1. && m_delta <= m_xtol * xnorm) 161 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1.) 178 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1. [all...] |
/external/skia/debugger/QT/ |
SkDrawCommandGeometryWidget.cpp | 52 float ratio = this->width() / pixmap.width(); local 53 resultRect = QRectF(0, 0, this->width(), ratio * pixmap.height()); 55 float ratio = this->height() / pixmap.height(); local 56 resultRect = QRectF(0, 0, ratio * pixmap.width(), this->height());
|
/external/skqp/debugger/QT/ |
SkDrawCommandGeometryWidget.cpp | 52 float ratio = this->width() / pixmap.width(); local 53 resultRect = QRectF(0, 0, this->width(), ratio * pixmap.height()); 55 float ratio = this->height() / pixmap.height(); local 56 resultRect = QRectF(0, 0, ratio * pixmap.width(), this->height());
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
WidgetUtils.java | 49 float ratio = (density * minWidth) / res.getDimension(R.dimen.min_digital_widget_width); local 50 ratio = Math.min(ratio, getHeightScaleRatio(context, options, id)); 51 ratio *= .83f; 54 return (ratio > 1f) ? 1f : ratio; 57 ratio = Math.min(ratio, 1.6f); 59 ratio = Math.max(ratio, .71f) 87 float ratio = density * minHeight \/ res.getDimension(R.dimen.min_digital_widget_height); local [all...] |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/util/ |
BitmapResizer.java | 54 float ratio = 1; local 57 ratio = MAX_OUTPUT_RESOLUTION / (float) width; 60 ratio = MAX_OUTPUT_RESOLUTION / (float) height; 66 height * ratio, 67 width * ratio); 69 matrix.postScale(ratio, ratio);
|
/system/media/audio_utils/ |
limiter.c | 46 static const float ratio = 1.0 / factor; local 47 out = crossover + atan_approximation((in_abs - crossover)*factor)*ratio;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CubeRenderer.java | 75 float ratio = (float) width / height; local 78 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
MyGLRenderer.java | 83 // make adjustments for screen ratio 84 float ratio = (float) width / height; local 87 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7); // apply the projection matrix
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
HighamHall54Integrator.java | 123 final double ratio = h * errSum / tol; local 124 error += ratio * ratio;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
2-1.c | 88 float ratio; local 181 ratio = (float)count / (float)child_count; 183 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) { 186 } else if (ratio <= (1 / ACCEPTABLE_RATIO)) {
|
2-2.c | 89 float ratio; local 185 ratio = (float)count / (float)child_count; 187 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) { 190 } else if (ratio <= (1 / ACCEPTABLE_RATIO)) {
|
/external/webp/src/utils/ |
rescaler_utils.c | 54 const uint64_t ratio = local 56 if (ratio != (uint32_t)ratio) { 57 // When ratio == WEBP_RESCALER_ONE, we can't represent the ratio with the 63 wrk->fxy_scale = (uint32_t)ratio; 86 // if width is unspecified, scale original proportionally to height ratio. 91 // if height is unspecified, scale original proportionally to width ratio.
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
normal.cc | 103 int32_t ratio = WebRtcSpl_DivW32W16(bgn_energy, energy_scaled); local 104 mute_factor = WebRtcSpl_SqrtFloor(ratio << 14);
|
/frameworks/base/core/java/com/android/internal/widget/ |
LocalImageResolver.java | 50 double ratio = (originalSize > MAX_SAFE_ICON_SIZE_PX) local 55 bitmapOptions.inSampleSize = getPowerOfTwoForSampleRatio(ratio); 72 private static int getPowerOfTwoForSampleRatio(double ratio) { 73 int k = Integer.highestOneBit((int) Math.floor(ratio));
|
/test/vts-testcase/hal/media/omx/V1_0/host_omxstore/ |
VtsHalMediaOmxStoreV1_0HostTest.py | 157 ratio = '(' + num + ':' + num + ')' variable in class:VtsHalMediaOmxStoreV1_0Host.testQueryCodecInformation.Pattern 160 range_ratio = '((' + ratio + '-' + ratio + ')|' + ratio + ')' 167 'block-aspect-ratio-range' : Pattern.range_ratio, 184 'pixel-aspect-ratio-range' : Pattern.range_ratio,
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
smisc.c | 83 ratio function
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
CubeRenderer.java | 97 float ratio = (float) width / height; local 100 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ArcMotionTest.java | 112 float ratio = (float) Math.tan(Math.PI / 8); local 113 float ex = 50 + (50 * ratio);
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 41 * dimensions of the given view while maintaining the aspect ratio. If none can, 42 * be lenient with the aspect ratio. 73 // Try to find a video size that matches aspect ratio and the target view size. 75 // still maintain the aspect ratio. 77 double ratio = (double) size.width / size.height; local 78 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) 86 // Cannot find video size that matches the aspect ratio, ignore the requirement
|
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 41 * dimensions of the given view while maintaining the aspect ratio. If none can, 42 * be lenient with the aspect ratio. 73 // Try to find a video size that matches aspect ratio and the target view size. 75 // still maintain the aspect ratio. 77 double ratio = (double) size.width / size.height; local 78 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) 86 // Cannot find video size that matches the aspect ratio, ignore the requirement
|