HomeSort by relevance Sort by last modified time
    Searched refs:ratio (Results 76 - 100 of 583) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/tests/tests/media/src/android/media/cts/
EnvReverbTest.java 110 //Test case 1.1: test decay time and ratio
124 short ratio = mReverb.getDecayHFRatio(); local
125 ratio = (short)((ratio == 500) ? 1000 : 500);
126 mReverb.setDecayHFRatio(ratio);
128 assertTrue("got incorrect decay HF ratio",
129 ((float)ratio2 > (float)(ratio / RATIO_TOLERANCE)) &&
130 ((float)ratio2 < (float)(ratio * RATIO_TOLERANCE)));
228 short ratio = mReverb.getDiffusion(); local
229 ratio = (short)((ratio == 500) ? 1000 : 500)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
DynamicsCompressorKernel.h 55 float ratio,
105 float updateStaticCurveParameters(float dbThreshold, float dbKnee, float ratio);
110 float m_slope; // Inverse ratio.
116 // m_dbKnee is the number of dB above the threshold before we enter the "ratio" portion of the curve.
119 // which transitions smoothly from the linear portion to the ratio portion.
  /packages/apps/DeskClock/src/com/android/alarmclock/
WidgetUtils.java 60 float ratio = (density * minWidth) / res.getDimension(R.dimen.min_digital_widget_width); local
65 ratio = Math.min(ratio, getHeightScaleRatio(context, options, id));
67 return (ratio > 1) ? 1 : ratio;
92 // Ensure divisor for ratio is positive number
94 float ratio = ((density * minHeight) - lblBox) local
96 return (ratio > 1) ? 1 : ratio;
  /external/libcxx/test/utilities/time/
hours.pass.cpp 12 // typedef duration<signed integral type of at least 23 bits, ratio<3600>> hours;
26 static_assert((std::is_same<Period, std::ratio<3600> >::value), "");
minutes.pass.cpp 12 // typedef duration<signed integral type of at least 29 bits, ratio< 60>> minutes;
26 static_assert((std::is_same<Period, std::ratio<60> >::value), "");
seconds.pass.cpp 26 static_assert((std::is_same<Period, std::ratio<1> >::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/
hours.pass.cpp 12 // typedef duration<signed integral type of at least 23 bits, ratio<3600>> hours;
26 static_assert((std::is_same<Period, std::ratio<3600> >::value), "");
minutes.pass.cpp 12 // typedef duration<signed integral type of at least 29 bits, ratio< 60>> minutes;
26 static_assert((std::is_same<Period, std::ratio<60> >::value), "");
seconds.pass.cpp 26 static_assert((std::is_same<Period, std::ratio<1> >::value), "");
  /packages/apps/Camera2/src/com/android/camera/
VideoController.java 31 public void onZoomChanged(float ratio);
  /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/libcxx/test/utilities/time/time.duration/time.duration.cast/
duration_cast.pass.cpp 43 std::chrono::duration<double, std::ratio<3600> >(7265./3600));
44 test(std::chrono::duration<int, std::ratio<2, 3> >(9),
45 std::chrono::duration<int, std::ratio<3, 5> >(10));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cast/
duration_cast.pass.cpp 43 std::chrono::duration<double, std::ratio<3600> >(7265./3600));
44 test(std::chrono::duration<int, std::ratio<2, 3> >(9),
45 std::chrono::duration<int, std::ratio<3, 5> >(10));
  /external/libcxx/test/utilities/time/time.point/time.point.cast/
time_point_cast.pass.cpp 65 std::chrono::duration<double, std::ratio<3600> >(7265./3600));
66 test(std::chrono::duration<int, std::ratio<2, 3> >(9),
67 std::chrono::duration<int, std::ratio<3, 5> >(10));
76 typedef std::chrono::duration<int, std::ratio<3, 5>> T1;
77 test_constexpr<std::chrono::duration<int, std::ratio<2, 3>>, 9, T1, 10> ();
  /frameworks/base/media/mca/filterfw/native/core/
geometry.cpp 72 bool Rect::ExpandToAspectRatio(float ratio) {
73 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
78 if (current_ratio < ratio) {
79 const float dx = width * (ratio / current_ratio - 1.0f);
83 const float dy = height * (current_ratio / ratio - 1.0f);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/
time_point_cast.pass.cpp 65 std::chrono::duration<double, std::ratio<3600> >(7265./3600));
66 test(std::chrono::duration<int, std::ratio<2, 3> >(9),
67 std::chrono::duration<int, std::ratio<3, 5> >(10));
76 typedef std::chrono::duration<int, std::ratio<3, 5>> T1;
77 test_constexpr<std::chrono::duration<int, std::ratio<2, 3>>, 9, T1, 10> ();
  /frameworks/volley/src/com/android/volley/toolbox/
ImageRequest.java 57 * ratio. If both width and height are nonzero, the image will be decoded to
59 * aspect ratio.
86 * Scales one side of a rectangle to fit aspect ratio.
89 * max width), or zero to maintain aspect ratio with secondary
92 * maintain aspect ratio with primary dimension
103 // If primary is unspecified, scale primary to match secondary's scaling ratio.
105 double ratio = (double) maxSecondary / (double) actualSecondary; local
106 return (int) (actualPrimary * ratio);
113 double ratio = (double) actualSecondary / (double) actualPrimary; local
115 if (resized * ratio > maxSecondary)
203 double ratio = Math.min(wr, hr); local
    [all...]
  /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/linux-tools-perf/perf-3.12.0/tools/perf/
builtin-stat.c 666 static const char *get_ratio_color(enum grc_type type, double ratio)
675 if (ratio > grc_table[type][0])
677 else if (ratio > grc_table[type][1])
679 else if (ratio > grc_table[type][2])
689 double total, ratio = 0.0; local
695 ratio = avg / total * 100.0;
697 color = get_ratio_color(GRC_STALLED_CYCLES_FE, ratio);
700 color_fprintf(output, color, "%6.2f%%", ratio);
708 double total, ratio = 0.0; local
714 ratio = avg / total * 100.0
727 double total, ratio = 0.0; local
746 double total, ratio = 0.0; local
765 double total, ratio = 0.0; local
784 double total, ratio = 0.0; local
803 double total, ratio = 0.0; local
822 double total, ratio = 0.0; local
839 double total, ratio = 0.0; local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyDrawParams.java 131 final int dimens, final float ratio, final int defaultDimens) {
135 if (ResourceUtils.isValidFraction(ratio)) {
136 return (int)(keyHeight * ratio);
141 private static int selectTextSize(final int keyHeight, final float ratio,
143 if (ResourceUtils.isValidFraction(ratio)) {
144 return (int)(keyHeight * ratio);
  /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);
  /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/ApiDemos/src/com/example/android/apis/graphics/kube/
KubeRenderer.java 85 float ratio = (float)width / height; local
88 gl.glFrustumf(-ratio, ratio, -1, 1, 2, 12);
  /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);
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
CubeRenderer.java 94 float ratio = (float) width / height; local
97 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);

Completed in 505 milliseconds

1 2 34 5 6 7 8 91011>>