/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.traits/time.traits.specializations/ |
time_point.pass.cpp | 34 test<std::chrono::duration<int, std::ratio<1, 100> >, 35 std::chrono::duration<long, std::ratio<1, 1000> >, 36 std::chrono::duration<long, std::ratio<1, 1000> > >(); 37 test<std::chrono::duration<long, std::ratio<1, 100> >, 38 std::chrono::duration<int, std::ratio<1, 1000> >, 39 std::chrono::duration<long, std::ratio<1, 1000> > >(); 40 test<std::chrono::duration<char, std::ratio<1, 30> >, 41 std::chrono::duration<short, std::ratio<1, 1000> >, 42 std::chrono::duration<int, std::ratio<1, 3000> > >(); 43 test<std::chrono::duration<double, std::ratio<21, 1> > [all...] |
/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.
|
/external/chromium_org/third_party/polymer/components-chromium/core-range/ |
core-range-extracted.js | 42 * Returns the ratio of the value. 44 * @attribute ratio 48 ratio: 0, 74 this.ratio = this.calcRatio(this.value) * 100;
|
core-range.html | 17 <core-range min="0" max="200" value="100" ratio="{{ratio}}"></core-range> 18 <div class="progress-bar" style="width: {{ratio}}%;"></div> 28 <polymer-element name="core-range" attributes="value min max step ratio" assetpath="">
|
/external/chromium_org/ui/gfx/image/ |
image_family.h | 30 // An <aspect ratio, DIP width> pair. 31 // A 0x0 image has aspect ratio 1.0. 0xN and Nx0 images are treated as 0x0. 123 // Gets an image at the same aspect ratio as |width|:|height|, if possible, or 124 // if not, the closest aspect ratio. Among images of that aspect ratio, 127 // aspect ratio. If there are no images in the family, returns NULL. 131 // Gets an image at the same aspect ratio as |size.width()|:|size.height()|, 132 // if possible, or if not, the closest aspect ratio. Among images of that 133 // aspect ratio, returns the smallest image with both its width and height 135 // image of that aspect ratio. If there are no images in the family, return [all...] |
/packages/apps/Camera2/src/com/android/camera/settings/ |
ResolutionUtil.java | 61 * ratio. 102 * aspect ratio. The aspect ratios returned include the ones in 103 * sDesiredAspectRatios, and the largest full sensor ratio. T his guarantees 109 * @return The list of sizes to display grouped first by aspect ratio 110 * (sorted by maximum area), and sorted within aspect ratio by area) 116 // We want to make sure we support the maximum pixel aspect ratio, even 117 // if it doesn't match a desired aspect ratio 156 * Given a list of sizes of a similar aspect ratio, it tries to pick evenly 160 * @param sizes A list of Sizes that are all of a similar aspect ratio 196 * Take an aspect ratio and squish it into a nearby desired aspect ratio, i [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
MediaQueryTokenizerTest.cpp | 51 { "(max-aspect-ratio: 5)", "(max-aspect-ratio: 5)" }, 52 { "(max-aspect-ratio: +5)", "(max-aspect-ratio: 5)" }, 53 { "(max-aspect-ratio: -5)", "(max-aspect-ratio: -5)" }, 54 { "(max-aspect-ratio: -+5)", "(max-aspect-ratio: '-'5)" }, 55 { "(max-aspect-ratio: +-5)", "(max-aspect-ratio: '+'-5)" } [all...] |
/external/chromium_org/third_party/polymer/components/core-range/ |
core-range.html | 17 <core-range min="0" max="200" value="100" ratio="{{ratio}}"></core-range> 18 <div class="progress-bar" style="width: {{ratio}}%;"></div> 28 <polymer-element name="core-range" attributes="value min max step ratio"> 70 * Returns the ratio of the value. 72 * @attribute ratio 76 ratio: 0, 102 this.ratio = this.calcRatio(this.value) * 100;
|
/external/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
op_divide_duration.pass.cpp | 35 std::chrono::duration<int, std::ratio<2, 3> > s1(30); 36 std::chrono::duration<int, std::ratio<3, 5> > s2(5); 40 std::chrono::duration<int, std::ratio<2, 3> > s1(30); 41 std::chrono::duration<double, std::ratio<3, 5> > s2(5); 56 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30); 57 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); 61 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30); 62 constexpr std::chrono::duration<double, std::ratio<3, 5> > s2(5);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
op_divide_duration.pass.cpp | 35 std::chrono::duration<int, std::ratio<2, 3> > s1(30); 36 std::chrono::duration<int, std::ratio<3, 5> > s2(5); 40 std::chrono::duration<int, std::ratio<2, 3> > s1(30); 41 std::chrono::duration<double, std::ratio<3, 5> > s2(5); 56 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30); 57 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5); 61 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(30); 62 constexpr std::chrono::duration<double, std::ratio<3, 5> > s2(5);
|
/packages/screensavers/PhotoTable/res/values-sw600dp/ |
config.xml | 17 <!-- Parts per million ratio between image size and screen size. --> 20 <!-- Parts per million ratio between image size on the table and screen size. -->
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
drawable2-expected-completion51.txt | 5 android:innerRadiusRatio : Inner radius of the ring expressed as a ratio of the ring's width. [float] 6 android:thicknessRatio : Thickness of the ring expressed as a ratio of the ring's width. [float]
|
/docs/source.android.com/src/devices/camera/ |
camera3_crop_reprocess.jd | 84 pixels and its aspect ratio by minimally further cropping the defined crop 85 region. If the stream's aspect ratio is wider than the crop region, the stream 86 should be further cropped vertically, and if the stream's aspect ratio is 97 Crop region: (500, 375, 1000, 750) (4:3 aspect ratio)<br/> 100 <img src="images/crop-region-43-ratio.png" alt="crop-region-43-ratio"/> 102 <p>Crop region: (500, 375, 1333, 750) (16:9 aspect ratio)<br/> 105 <img src="images/crop-region-169-ratio.png" alt="crop-region-169-ratio"/> 108 <p>Crop region: (500, 375, 750, 750) (1:1 aspect ratio)<br/ [all...] |
/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/libcxx/test/utilities/ratio/ |
Android.mk | 17 test_makefile := external/libcxx/test/utilities/ratio/Android.mk 19 test_name := utilities/ratio/typedefs 23 test_name := utilities/ratio/version
|
/external/libcxx/test/utilities/ratio/ratio.arithmetic/ |
ratio_add.fail.cpp | 12 #include <ratio> 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 17 typedef std::ratio<1, 1> R2;
|
ratio_divide.fail.cpp | 12 #include <ratio> 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 17 typedef std::ratio<1, 2> R2;
|
ratio_multiply.fail.cpp | 12 #include <ratio> 16 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 17 typedef std::ratio<2, 1> R2;
|
ratio_subtract.fail.cpp | 12 #include <ratio> 16 typedef std::ratio<-0x7FFFFFFFFFFFFFFFLL, 1> R1; 17 typedef std::ratio<1, 1> R2;
|
/external/libcxx/test/utilities/ratio/ratio.ratio/ |
ratio1.fail.cpp | 10 // test ratio: The template argument D shall not be zero 12 #include <ratio> 17 const std::intmax_t t1 = std::ratio<1, 0>::num;
|
ratio2.fail.cpp | 10 // test ratio: the absolute values of the template arguments N and D 13 #include <ratio> 18 const std::intmax_t t1 = std::ratio<0x8000000000000000ULL, 1>::num;
|
ratio3.fail.cpp | 10 // test ratio: the absolute values of the template arguments N and D 13 #include <ratio> 18 const std::intmax_t t1 = std::ratio<1, 0x8000000000000000ULL>::num;
|
/external/libcxx/test/utilities/time/time.duration/ |
ratio.fail.cpp | 14 // Period shall be a specialization of ratio, diagnostic required. 19 class Ratio 28 typedef std::chrono::duration<int, Ratio<1> > D;
|
/external/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...] |