/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
op_+.pass.cpp | 36 std::chrono::duration<int, std::ratio<2, 3> > s1(3); 37 std::chrono::duration<int, std::ratio<3, 5> > s2(5); 38 std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2; 42 std::chrono::duration<int, std::ratio<2, 3> > s1(3); 43 std::chrono::duration<double, std::ratio<3, 5> > s2(5); 44 std::chrono::duration<double, std::ratio<1, 15> > r = s1 + s2; 61 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); 62 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); 63 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2; 67 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3) [all...] |
op_-.pass.cpp | 37 std::chrono::duration<int, std::ratio<2, 3> > s1(3); 38 std::chrono::duration<int, std::ratio<3, 5> > s2(5); 39 std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2; 43 std::chrono::duration<int, std::ratio<2, 3> > s1(3); 44 std::chrono::duration<double, std::ratio<3, 5> > s2(5); 45 std::chrono::duration<double, std::ratio<1, 15> > r = s1 - s2; 62 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3); 63 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); 64 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2; 68 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3) [all...] |
op_mod_duration.pass.cpp | 37 std::chrono::duration<int, std::ratio<3, 5> > s1(6); 38 std::chrono::duration<int, std::ratio<2, 3> > s2(3); 39 std::chrono::duration<int, std::ratio<1, 15> > r = s1 % s2; 56 constexpr std::chrono::duration<int, std::ratio<3, 5> > s1(6); 57 constexpr std::chrono::duration<int, std::ratio<2, 3> > s2(3); 58 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 % s2;
|
/external/chromium_org/chrome/browser/resources/ntp_android/ |
bookmarks_tablet.css | 6 @media only screen and (-webkit-min-device-pixel-ratio: 1.35), 7 only screen and (-webkit-max-device-pixel-ratio: 1.30) {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/ |
default_ratio.pass.cpp | 16 // template <class Rep, class Period = ratio<1>> 24 static_assert((std::is_same<std::chrono::duration<int, std::ratio<1> >,
|
/packages/apps/LegacyCamera/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.
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.comparisons/ |
op_equal.pass.cpp | 54 std::chrono::duration<int, std::ratio<2, 3> > s1(9); 55 std::chrono::duration<int, std::ratio<3, 5> > s2(10); 60 std::chrono::duration<int, std::ratio<2, 3> > s1(10); 61 std::chrono::duration<int, std::ratio<3, 5> > s2(9); 66 std::chrono::duration<int, std::ratio<2, 3> > s1(9); 67 std::chrono::duration<double, std::ratio<3, 5> > s2(10); 97 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(9); 98 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(10); 103 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(10); 104 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(9) [all...] |
op_less.pass.cpp | 72 std::chrono::duration<int, std::ratio<2, 3> > s1(9); 73 std::chrono::duration<int, std::ratio<3, 5> > s2(10); 80 std::chrono::duration<int, std::ratio<2, 3> > s1(10); 81 std::chrono::duration<int, std::ratio<3, 5> > s2(9); 88 std::chrono::duration<int, std::ratio<2, 3> > s1(9); 89 std::chrono::duration<double, std::ratio<3, 5> > s2(10); 129 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(9); 130 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(10); 137 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(10); 138 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(9) [all...] |
/external/aac/libSBRenc/src/ |
resampler.h | 124 int ratio; /*! downsampling ration */ member in struct:__anon2668 135 INT ratio); /*!< downsampler ratio */ 139 * downsampler ratio.
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
DynamicsCompressorNode.idl | 30 readonly attribute AudioParam ratio; // unit-less
|
/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;
|
/external/linux-tools-perf/ |
builtin-stat.c | 559 double total, ratio = 0.0; local 565 ratio = avg / total * 100.0; 568 if (ratio > 50.0) 570 else if (ratio > 30.0) 572 else if (ratio > 10.0) 576 color_fprintf(stderr, color, "%6.2f%%", ratio); 582 double total, ratio = 0.0; local 588 ratio = avg / total * 100.0; 591 if (ratio > 75.0) 593 else if (ratio > 50.0 605 double total, ratio = 0.0; local 628 double total, ratio = 0.0; local 651 double total, ratio = 0.0; local 674 double total, ratio = 0.0; local 697 double total, ratio = 0.0; local 720 double total, ratio = 0.0; local 743 double total, ratio = 0.0; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EnvReverbTest.java | 112 //Test case 1.1: test decay time and ratio 123 short ratio = mReverb.getDecayHFRatio(); local 124 ratio = (short)((ratio == 500) ? 1000 : 500); 125 mReverb.setDecayHFRatio(ratio); 127 assertTrue("got incorrect decay HF ratio", 128 ((float)ratio2 > (float)(ratio / RATIO_TOLERANCE)) && 129 ((float)ratio2 < (float)(ratio * RATIO_TOLERANCE))); 218 short ratio = mReverb.getDiffusion(); local 219 ratio = (short)((ratio == 500) ? 1000 : 500) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ |
DynamicsCompressorKernel.h | 53 float ratio, 103 float updateStaticCurveParameters(float dbThreshold, float dbKnee, float ratio); 108 float m_slope; // Inverse ratio. 114 // m_dbKnee is the number of dB above the threshold before we enter the "ratio" portion of the curve. 117 // 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;
|
/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), "");
|
/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));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
time_point_cast.pass.cpp | 45 std::chrono::duration<double, std::ratio<3600> >(7265./3600)); 46 test(std::chrono::duration<int, std::ratio<2, 3> >(9), 47 std::chrono::duration<int, std::ratio<3, 5> >(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);
|
/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...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyDrawParams.java | 117 final int dimens, final float ratio, final int defaultDimens) { 121 if (ResourceUtils.isValidFraction(ratio)) { 122 return (int)(keyHeight * ratio); 127 private static final int selectTextSize(final int keyHeight, final float ratio, 129 if (ResourceUtils.isValidFraction(ratio)) { 130 return (int)(keyHeight * 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);
|