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

1 2 3 4 5

  /packages/apps/Camera/src/com/android/camera/ui/
ZoomControllerListener.java 20 public void onZoomChanged(int index, float ratio, boolean isMoving);
  /packages/apps/Gallery3D/src/com/cooliris/media/
FloatAnim.java 69 float ratio = (float) (currentTime - mStartTime) * 0.001f / mDuration; local
70 if (ratio >= 1f) { // CR: 1.0f
74 ratio = 0.5f - 0.5f * FloatMath.cos(ratio * 3.14159265f); // CR:
76 return mValue + (1f - ratio) * mDelta;
ImageButton.java 84 final float ratio = mFade.getValue(view.getFrameTime()); local
94 if (ratio >= 0.99f) {
97 view.drawMixed2D(previousImage, currentImage, ratio, mX, mY, 0f, currentImage.getWidth(), currentImage.getHeight());
GridQuadFrame.java 50 final float ratio = 1.0f / (float) itemHeight; local
51 final float frameXThickness = 0.5f * textureSize * ratio;
52 final float frameYThickness = 0.5f * textureSize * ratio;
53 final float frameX = width * 0.5f + frameXThickness * 0.5f - inset * ratio;
54 float frameY = height * 0.5f + frameYThickness * 0.5f + (inset - 1) * ratio;
56 final float originY = numPixelsYOriginShift * ratio;
GridQuad.java 178 // given the u,v; we know the aspect ratio of the image
180 // viewport aspect ratio
191 float ratio = height / maxHeight; local
192 height /= ratio;
193 width /= ratio;
199 float ratio = width / maxWidth; local
200 width /= ratio;
201 height /= 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/Camera/src/com/android/camera/
PreviewFrameLayout.java 27 * A layout which handles the preview aspect ratio and the position of
62 public void setAspectRatio(double ratio) {
63 if (ratio <= 0.0) throw new IllegalArgumentException();
65 if (mAspectRatio != ratio) {
66 mAspectRatio = ratio;
82 // resize frame and preview for aspect ratio
  /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 76 float ratio = (float) width / height; local
79 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
TouchRotateActivity.java 146 float ratio = (float) width / height; local
149 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
FrameBufferObjectActivity.java 100 float ratio = (float) width / height; local
103 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
138 float ratio = (float) width / height; local
141 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);
  /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::__anon13352
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:__anon9137
75 Word16 ratio; member in struct:__anon9138
  /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/chromium/third_party/icu/source/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...]
  /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...]
  /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>
  /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);
  /external/webkit/WebCore/page/wince/
FrameWince.cpp 86 float ratio = (float)printRect.height() / (float)printRect.width(); local
89 float pageHeight = pageWidth * ratio;
  /external/chromium/net/disk_cache/
stats.cc 282 int64 ratio = GetCounter(hit) * 100; local
283 if (!ratio)
286 ratio /= (GetCounter(hit) + GetCounter(miss));
287 return static_cast<int>(ratio);
  /external/webkit/SunSpider/resources/
sunspider-compare-results.js 308 var ratio = isFaster ? (mean1 / mean2) : (mean2 / mean1);
309 var fixedRatio = (ratio < 1.2) ? ratio.toFixed(3).toString() : ((ratio < 10) ? ratio.toFixed(2).toString() : ratio.toFixed(1).toString());

Completed in 1822 milliseconds

1 2 3 4 5