HomeSort by relevance Sort by last modified time
    Searched refs:ratio (Results 1 - 25 of 137) sorted by null

1 2 3 4 5 6

  /packages/apps/Camera/src/com/android/camera/
PreviewFrameLayout.java 28 * A layout which handles the preview aspect ratio.
43 public void setAspectRatio(double ratio) {
44 if (ratio <= 0.0) throw new IllegalArgumentException();
48 ratio = 1 / ratio;
51 if (mAspectRatio != ratio) {
52 mAspectRatio = ratio;
71 // Resize the preview frame with correct aspect ratio.
  /external/qemu-pc-bios/bochs/bios/
usage.cc 45 double elements, ratio; local
94 ratio = elements / (double(org) - double(last_org));
95 ratio *= 100.0;
96 printf("%6.2lf\n", ratio);
  /frameworks/base/core/java/android/gesture/
OrientedBoundingBox.java 42 float ratio = w / h; local
43 if (ratio > 1) {
44 squareness = 1 / ratio;
46 squareness = ratio;
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
GLCanvasMock.java 64 float ratio, int x, int y, int w, int h) {
66 mDrawMixedRatio = ratio;
GLCanvasStub.java 60 float ratio, int x, int y, int w, int h) {}
62 float ratio, int x, int y, int w, int h) {}
64 float ratio, int x, int y, int width, int height, float alpha) {}
  /system/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);
  /cts/tests/tests/media/src/android/media/cts/
EnvReverbTest.java 155 //Test case 1.1: test decay time and ratio
188 short ratio = mReverb.getDecayHFRatio(); local
189 ratio = (short)((ratio == 500) ? 1000 : 500);
190 mReverb.setDecayHFRatio(ratio);
192 assertTrue("got incorrect decay HF ratio",
193 ((float)ratio2 > (float)(ratio / RATIO_TOLERANCE)) &&
194 ((float)ratio2 < (float)(ratio * RATIO_TOLERANCE)));
349 short ratio = mReverb.getDiffusion(); local
350 ratio = (short)((ratio == 500) ? 1000 : 500)
    [all...]
  /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);
TouchRotateActivity.java 145 float ratio = (float) width / height; local
148 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/BrowserPlugin/src/com/android/sampleplugin/graphics/
CubeRenderer.java 76 float ratio = (float) width / height; local
79 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
  /external/oprofile/gui/
oprof_start_util.h 27 inline double ratio(double x1, double x2) function
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/binary_heap_/
resize_policy.hpp 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon19950
194 m_next_shrink_size = m_next_grow_size / ratio;
219 m_next_shrink_size = m_next_grow_size / ratio;
230 m_next_shrink_size* ratio == m_next_grow_size);
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/binary_heap_/
resize_policy.hpp 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon24335
194 m_next_shrink_size = m_next_grow_size / ratio;
219 m_next_shrink_size = m_next_grow_size / ratio;
230 m_next_shrink_size* ratio == m_next_grow_size);
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/binary_heap_/
resize_policy.hpp 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon25433
194 m_next_shrink_size = m_next_grow_size / ratio;
219 m_next_shrink_size = m_next_grow_size / ratio;
230 m_next_shrink_size* ratio == m_next_grow_size);
  /frameworks/base/media/libstagefright/codecs/aacenc/inc/
psy_configuration.h 45 Word16 ratio; member in struct:__anon15067
75 Word16 ratio; member in struct:__anon15068
  /system/media/mca/filterpacks/base/native/
geometry.cpp 71 bool Rect::ExpandToAspectRatio(float ratio) {
72 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
77 if (current_ratio < ratio) {
78 const float dx = width * (ratio / current_ratio - 1.0f);
82 const float dy = height * (current_ratio / ratio - 1.0f);
  /frameworks/base/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);
  /cts/apps/CtsVerifier/jni/audioquality/
MeasureRms.cpp 134 float ratio = 10.0 * log10(sumSampleSquares / calMedian); local
135 if (ratio > onsetThresh) {
152 float ratio = 10.0 * log10(sumSampleSquares / calMedian); local
154 if (ratio < (-onsetThresh)) { // found signal end
  /frameworks/base/core/java/android/widget/
RatingBar.java 267 final float ratio = getProgressPerStar(); local
268 if (ratio > 0) {
269 final float progressInStars = progress / ratio;
270 final int secondaryProgress = (int) (Math.ceil(progressInStars) * ratio);
  /external/icu4c/test/perf/perldriver/
Output.pm 114 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_op_$i\">ratio $i<br>/op</a></th>\n";
115 printLeg("<a name=\"mean_op_$i\">ratio $i /op</a> - ratio and error of per $operationIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value");
127 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_ev_$i\">ratio $i<br>/ev</a></th>\n";
128 printLeg("<a name=\"mean_ev_$i\">ratio $i /ev</a> - ratio and error of per $eventIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value");
362 my $ratio = $baseLinePO->subtract($perOperation);
363 $ratio = $ratio->divide($perOperation);
364 outputDist($ratio, "%")
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLCanvas.java 110 // from * (1 - ratio) + to * ratio
113 float ratio, int x, int y, int w, int h);
116 float ratio, int x, int y, int w, int h);
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/i686-linux/bits/
stdc++.h 103 #include <ratio>
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/
stdc++.h 103 #include <ratio>
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/
stdc++.h 103 #include <ratio>

Completed in 898 milliseconds

1 2 3 4 5 6