/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
psy_configuration.h | 45 Word16 ratio; member in struct:__anon38758 75 Word16 ratio; member in struct:__anon38759
|
/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), "");
|
/packages/apps/Camera2/src/com/android/camera/ |
VideoUI.java | 171 public void setAspectRatio(float ratio) { 172 if (ratio <= 0) { 175 float aspectRatio = ratio > 1 ? ratio : 1 / ratio; 278 public void onZoomValueChanged(float ratio) { 279 mController.onZoomChanged(ratio); 313 // recalculate aspect ratio when restarting.
|
/external/chromium_org/remoting/host/ |
resizing_host_observer.cc | 48 // The aspect ratio "goodness" is defined as being the ratio of the smaller 50 // best aspect ratio is the one that most closely matches the preferred 51 // aspect ratio (in other words, the ideal aspect ratio "goodness" is 1.0). 95 // If the areas are equal, pick the resolution with the "best" aspect ratio.
|
/external/chromium_org/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/icu/icu4c/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/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
LevenbergMarquardt.h | 120 Scalar ratio; member in class:Eigen::LevenbergMarquardt 298 /* compute the ratio of the actual to the predicted */ 300 ratio = 0.; 302 ratio = actred / prered; 305 if (ratio <= Scalar(.25)) { 315 } else if (!(par != 0. && ratio < Scalar(.75))) { 321 if (ratio >= Scalar(1e-4)) { 332 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm) 334 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.) 342 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1. [all...] |
/external/chromium_org/third_party/speex/include/speex/ |
speex_resampler.h | 130 * rate ratio is an arbitrary rational number with both the numerator and 133 * @param ratio_num Numerator of the sampling rate ratio 134 * @param ratio_den Denominator of the sampling rate ratio 237 /** Set (change) the input/output sampling rates and resampling ratio 240 * @param ratio_num Numerator of the sampling rate ratio 241 * @param ratio_den Denominator of the sampling rate ratio 251 /** Get the current resampling ratio. This will be reduced to the least 254 * @param ratio_num Numerator of the sampling rate ratio copied 255 * @param ratio_den Denominator of the sampling rate ratio copied
|
/external/speex/include/speex/ |
speex_resampler.h | 130 * rate ratio is an arbitrary rational number with both the numerator and 133 * @param ratio_num Numerator of the sampling rate ratio 134 * @param ratio_den Denominator of the sampling rate ratio 237 /** Set (change) the input/output sampling rates and resampling ratio 240 * @param ratio_num Numerator of the sampling rate ratio 241 * @param ratio_den Denominator of the sampling rate ratio 251 /** Get the current resampling ratio. This will be reduced to the least 254 * @param ratio_num Numerator of the sampling rate ratio copied 255 * @param ratio_den Denominator of the sampling rate ratio copied
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
PreviewOverlay.java | 82 * @param ratio zoom ratio, [1.0f,maximum] 84 void onZoomValueChanged(float ratio); // only for immediate zoom 103 * @param zoomMaxRatio max zoom ratio, [1.0f,+Inf) 104 * @param zoom current zoom ratio, [1.0f,zoomMaxRatio] 251 // Set maximum zoom ratio from Module. 256 // Set current zoom ratio from Module. 257 public void setZoom(float ratio) { 258 mCurrentRatio = ratio;
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
action_runner.py | 227 coordinate and the scale factor. The scale factor is the ratio of 232 gesture, as a ratio of the visible bounding rectangle for 235 gesture, as a ratio of the visible bounding rectangle for 237 scale_factor: The ratio of the final span to the initial span. 253 coordinate and the scale factor. The scale factor is the ratio of 263 gesture, as a ratio of the visible bounding rectangle for 266 gesture, as a ratio of the visible bounding rectangle for 268 scale_factor: The ratio of the final span to the initial span. 290 gesture, as a ratio of the visible bounding rectangle for 293 gesture, as a ratio of the visible bounding rectangle fo [all...] |
/external/chromium_org/ui/gfx/image/ |
image_family.cc | 66 // Get the best-sized image with the aspect ratio. 81 // aspect ratio >= |desired_aspect|, and |less_than| will point to the last 82 // image with aspect ratio < |desired_aspect|. 98 // No aspect ratio is less than or equal to |desired_aspect|. 112 // Find the two images of given aspect ratio on either side of |width|.
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceCase.cpp | 77 float ratio = (float)numFrag / (float)numVert; local 79 if (de::abs(ratio - fragmentsPerVertices) < eps) 81 else if (ratio < fragmentsPerVertices) 110 m_testCtx.getLog() << TestLog::Message << "Requested fragment/vertex-ratio: " << de::floatToString(fragmentsPerVertices, 2) << "\n" 111 << "Computed fragment/vertex-ratio: " << de::floatToString(finalRatio, 2)
|
/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/core/java/android/net/ |
MobileLinkQualityInfo.java | 153 * returns signal to noise ratio for CDMA networks 154 * @return signal to noise ratio in db or {@link android.net.LinkQualityInfo#UNKNOWN_INT} 183 * returns signal to noise ratio for EVDO spectrum 198 * returns end-to-end signal to noise ratio for EVDO networks 258 * returns signal to noise ratio for LTE networks
|
/frameworks/base/media/mca/filterpacks/native/base/ |
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);
|
/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> ();
|
/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);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
GLRotationGuideRenderer.java | 81 float ratio = (float) width / height; local 82 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 15);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
Camera_SizeTest.java | 63 * Check that the largest available preview and jpeg outputs have the same aspect ratio. This 64 * aspect ratio must be the same as the physical camera sensor, and the FOV for these outputs 97 largestPreviewDimen.height + ") should have the same aspect ratio " +
|
/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);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/ |
info.js | 108 var ratio = src_w / src_h; 110 new_h /= ratio; 112 new_w *= ratio;
|
/external/chromium_org/media/base/ |
video_util.h | 17 // Computes the size of |visible_size| for a given aspect ratio. 81 // Return the largest centered rectangle with the same aspect ratio of |content| 83 // ratio would be undefined; and in this case an empty Rect would be returned.
|