/development/samples/ApiDemos/src/com/example/android/apis/os/ |
RotationVectorDemo.java | 143 float ratio = (float) width / height; local 146 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
MyGLRenderer.java | 99 float ratio = (float) width / height; local 103 Matrix.frustumM(mProjectionMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
DormandPrince54Integrator.java | 149 final double ratio = h * errSum / tol; local 150 error += ratio * ratio;
|
HighamHall54Integrator.java | 123 final double ratio = h * errSum / tol; local 124 error += ratio * ratio;
|
/external/autotest/server/site_tests/firmware_PDTrySrc/ |
firmware_PDTrySrc.py | 93 7. Compare SRC connect ratio to threholds to determine pass/fail 134 # Compute SRC connect ratio/percent for Try.SRC on and off cases 142 # When Try.SRC is off, ideally the SNK/SRC ratio will be close to
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_aq_cyclicrefresh.h | 29 // Maximum rate target ratio for setting segment delta-qp. 62 // Rate target ratio to set q delta. 64 // Boost factor for rate target ratio, for segment CR_SEGMENT_ID_BOOST2.
|
/external/lz4/ |
README.md | 12 which trades compression ratio for more speed up. 14 trading CPU time for improved compression ratio. 55 | Compressor | Ratio | Compression | Decompression |
|
/external/skia/tests/ |
PointTest.cpp | 153 SkScalar ratio = slow.length() / fast.length(); local 154 REPORTER_ASSERT(reporter, ratio > 0.999f); 155 REPORTER_ASSERT(reporter, ratio < 1.001f);
|
/external/skqp/tests/ |
PointTest.cpp | 153 SkScalar ratio = slow.length() / fast.length(); local 154 REPORTER_ASSERT(reporter, ratio > 0.999f); 155 REPORTER_ASSERT(reporter, ratio < 1.001f);
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
Device.cpp | 936 float ratio = static_cast<float>(dstRect.width()) / srcRect.width(); local 937 float offsetf = roundf((static_cast<float>(clipRect.x0) - srcRect.x0) * ratio); 947 srcRect.x0 += offsetf / ratio; 951 float ratio = static_cast<float>(dstRect.width()) / srcRect.width(); local 952 float offsetf = roundf((srcRect.x1 - static_cast<float>(clipRect.x1)) * ratio); 962 srcRect.x1 -= offsetf / ratio; 966 float ratio = static_cast<float>(dstRect.height()) / srcRect.height(); local 967 float offsetf = roundf((static_cast<float>(clipRect.y0) - srcRect.y0) * ratio); 977 srcRect.y0 += offsetf / ratio; 981 float ratio = static_cast<float>(dstRect.height()) / srcRect.height() local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
transpose_functor_cpu.cc | 48 const int64 ratio = t / out_strides[i]; 49 t -= ratio * out_strides[i]; 50 i_idx += ratio * in_strides[perm[i]];
|
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/ |
GradientDrawable.java | 99 float ratio = (float) animation.getAnimatedValue(); 100 mMainColor = ColorUtils.blendARGB(mainFrom, mainColor, ratio); 101 mSecondaryColor = ColorUtils.blendARGB(secFrom, secondaryColor, ratio);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
SurfaceTargetFilter.java | 63 * RENDERMODE_FIT: Keep aspect ratio and fit without cropping. May 65 * RENDERMODE_FILL_CROP: Keep aspect ratio and fit without black 152 if (mLogVerbose) Log.v(TAG, "New aspect ratio: " + currentAspectRatio +", previously: " + mAspectRatio);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
IconUtilities.java | 94 final float ratio = (float) sourceWidth / sourceHeight; local 96 height = (int) (width / ratio); 98 width = (int) (height * ratio);
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 98 float ratio = width / height; local 103 glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
TriangleRenderer.java | 100 float ratio = (float) w / h; local 103 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 183 float ratio = 320.0f / 480.0f; local 188 glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
ViewUtil.java | 84 float ratio = width / paint.measureText(textView.getText().toString()); local 85 if (ratio <= 1.0f) { 87 TypedValue.COMPLEX_UNIT_PX, Math.max(minTextSize, originalTextSize * ratio));
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
RotateImageView.java | 128 float ratio = Math.min((float) width / w, (float) height / h); local 129 canvas.scale(ratio, ratio, width / 2.0f, height / 2.0f);
|
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/ |
SimpleGLRenderer.java | 101 float ratio = (float) width / height; local 105 Matrix.frustumM(mProjectionMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
|
/prebuilts/go/darwin-x86/test/ |
locklinear.go | 61 // try to get the right ratio at least once. 64 // If 2n ops run in under a second and the ratio 67 // on the computed ratio.
|
maplinear.go | 47 // If n ops run in under a second and the ratio 50 // on the computed ratio. 56 // try to get the right ratio at least once.
|
/prebuilts/go/linux-x86/test/ |
locklinear.go | 61 // try to get the right ratio at least once. 64 // If 2n ops run in under a second and the ratio 67 // on the computed ratio.
|
maplinear.go | 47 // If n ops run in under a second and the ratio 50 // on the computed ratio. 56 // try to get the right ratio at least once.
|
/sdk/files/ |
devices.xml | 14 <d:screen-ratio>long</d:screen-ratio> 89 <d:screen-ratio>long</d:screen-ratio> 202 <d:screen-ratio>long</d:screen-ratio> 333 <d:screen-ratio>notlong</d:screen-ratio> 412 <d:screen-ratio>notlong</d:screen-ratio> [all...] |