HomeSort by relevance Sort by last modified time
    Searched full:ratio (Results 426 - 450 of 2022) sorted by null

<<11121314151617181920>>

  /frameworks/native/opengl/tests/gl_jni/jni/
gl_code.cpp 93 float ratio = width / height; local
98 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 187 float ratio = 320.0f / 480.0f; local
192 glFrustumf(-ratio, ratio, -1, 1, 1, 10);
  /packages/apps/Camera/src/com/android/camera/ui/
RotateImageView.java 130 float ratio = Math.min((float) width / w, (float) height / h); local
131 canvas.scale(ratio, ratio, width / 2.0f, height / 2.0f);
  /packages/apps/Camera2/src/com/android/camera/ui/
RotateImageView.java 132 float ratio = Math.min((float) width / w, (float) height / h); local
133 canvas.scale(ratio, ratio, width / 2.0f, height / 2.0f);
  /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);
  /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...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java 159 * support preview sizes at the same aspect ratio as the device's display.
277 // Try to find an size match aspect ratio and size
279 double ratio = (double) size.width / size.height; local
280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
287 // Cannot find the one match the aspect ratio, ignore the requirement
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java 168 * aspect ratio as the device's display.
297 // Try to find an size match aspect ratio and size
299 double ratio = (double) size.width / size.height; local
300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
308 // Cannot find the one match the aspect ratio, ignore the requirement
  /external/valgrind/main/drd/tests/
matinv.c 319 double ratio; local
351 ratio = error / (eps * matrix_size);
355 error, eps, ratio);
357 if (isfinite(ratio) && ratio < 100)
omp_matinv.c 295 double ratio; local
331 ratio = error / (eps * matrix_size);
335 error, eps, ratio);
337 if (isfinite(ratio) && ratio < 100)
  /frameworks/av/services/camera/libcameraservice/api1/client2/
Parameters.h 182 // This is set to a 1:1 value to allow for any aspect ratio that has
189 // Aspect ratio tolerance
361 // preview aspect ratio.
368 // Get max size (from the size array) that matches the given aspect ratio.
369 Size getMaxSizeForRatio(float ratio, const int32_t* sizeArray, size_t count);
  /frameworks/base/docs/html/guide/webapps/
targeting.jd 126 screen densities&mdash;the <code>-webkit-device-pixel-ratio</code> CSS media feature. The
134 &lt;link rel="stylesheet" media="screen and (-webkit-device-pixel-ratio: 1.5)" href="hdpi.css" /&gt;
135 &lt;link rel="stylesheet" media="screen and (-webkit-device-pixel-ratio: 1.0)" href="mdpi.css" /&gt;
146 &#64;media screen and (-webkit-device-pixel-ratio: 1.5) {
153 &#64;media screen and (-webkit-device-pixel-ratio: 0.75) {
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
extensions.py 87 # Print inf when ratio is not available.
88 ratio = float('inf')
90 ratio = float(filtered_bytes) / original_bytes
92 logger.debug('Outgoing compression ratio: %f (average: %f)' %
93 (ratio, average_ratio))
98 # Print inf when ratio is not available.
99 ratio = float('inf')
101 ratio = float(received_bytes) / filtered_bytes
103 logger.debug('Incoming compression ratio: %f (average: %f)' %
104 (ratio, average_ratio)
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Util.java 453 // Try to find an size match aspect ratio and size
455 double ratio = (double) size.width / size.height; local
456 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
462 // Cannot find the one match the aspect ratio. This should not happen.
465 Log.w(TAG, "No preview size match the aspect ratio");
477 // Returns the largest picture size which matches the given aspect ratio.
486 // Try to find a size matches aspect ratio and has the largest width
488 double ratio = (double) size.width / size.height; local
489 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
495 // Cannot find one that matches the aspect ratio. This should not happen
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
Util.java 397 // Try to find an size match aspect ratio and size
399 double ratio = (double) size.width / size.height; local
400 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
407 // Cannot find the one match the aspect ratio. This should not happen.
410 Log.w(TAG, "No preview size match the aspect ratio");
422 // Returns the largest picture size which matches the given aspect ratio.
431 // Try to find a size matches aspect ratio and has the largest width
433 double ratio = (double) size.width / size.height; local
434 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
440 // Cannot find one that matches the aspect ratio. This should not happen
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/
chrono 38 #include <ratio>
63 template<typename _Rep, typename _Period = ratio<1>>
83 typedef ratio<__gcd_num::value,
235 struct __is_ratio<ratio<_Num, _Den>>
248 "period must be a specialization of ratio");
539 typedef duration<int64_t, ratio< 60>> minutes;
542 typedef duration<int64_t, ratio<3600>> hours;
812 constexpr chrono::duration<long double, ratio<3600,1>>
814 { return chrono::duration<long double, ratio<3600,1>>{__hours}; }
827 constexpr chrono::duration<long double, ratio<60,1>
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/
chrono 42 #include <ratio>
64 template<typename _Rep, typename _Period = ratio<1>>
77 ratio<__static_gcd<_Period1::num, _Period2::num>::value,
194 struct __is_ratio<ratio<_Num, _Den>>
204 "period must be a specialization of ratio");
458 typedef duration<int, ratio< 60>> minutes;
461 typedef duration<int, ratio<3600>> hours;
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/
chrono 42 #include <ratio>
64 template<typename _Rep, typename _Period = ratio<1>>
77 ratio<__static_gcd<_Period1::num, _Period2::num>::value,
194 struct __is_ratio<ratio<_Num, _Den>>
204 "period must be a specialization of ratio");
458 typedef duration<int, ratio< 60>> minutes;
461 typedef duration<int, ratio<3600>> hours;
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/
chrono 42 #include <ratio>
64 template<typename _Rep, typename _Period = ratio<1>>
77 ratio<__static_gcd<_Period1::num, _Period2::num>::value,
194 struct __is_ratio<ratio<_Num, _Den>>
204 "period must be a specialization of ratio");
458 typedef duration<int, ratio< 60>> minutes;
461 typedef duration<int, ratio<3600>> hours;
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/
chrono 42 #include <ratio>
64 template<typename _Rep, typename _Period = ratio<1>>
77 ratio<__static_gcd<_Period1::num, _Period2::num>::value,
194 struct __is_ratio<ratio<_Num, _Den>>
204 "period must be a specialization of ratio");
458 typedef duration<int, ratio< 60>> minutes;
461 typedef duration<int, ratio<3600>> hours;
  /external/linux-tools-perf/perf-3.12.0/tools/perf/
builtin-diff.c 81 [COMPUTE_RATIO] = "ratio",
115 .name = "Ratio",
216 "(use 'delta','ratio' or 'wdiff')\n", str);
706 "delta,ratio,wdiff:w1,w2 (default delta)",
788 double ratio; local
803 /* No point for ratio number if we are dummy.. */
808 ratio = pair->diff.period_ratio;
810 ratio = compute_ratio(he, pair);
812 if (ratio > 0.0)
813 scnprintf(buf, size, "%14.6F", ratio);
    [all...]
  /external/lzma/
lzma.txt 9 compression ratio and very fast decompression.
12 It was improved in way of maximum increasing of compression ratio,
197 Usually big number gives a little bit better compression ratio
215 ratio, but they often works pretty fast in combination with
255 Compression ratio hints
261 To increase the compression ratio for LZMA compressing it's desirable
270 You can increase the compression ratio for some data types, using
272 increase the compression ratio on 5-10% for code for those CPU ISAs:
277 You can check the compression ratio gain of these filters with such
292 since compression ratio with filtering is higher.
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java 375 // find a supported size with ratio less than tolerance threshold, and
395 double ratio = (double) size.width / size.height; local
396 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) {
411 // ignore aspect ratio requirement
454 // adjust camera preview to match output image's aspect ratio
463 // then calculate height using output image's height/width ratio
  /external/chromium_org/third_party/WebKit/PerformanceTests/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 994 milliseconds

<<11121314151617181920>>