HomeSort by relevance Sort by last modified time
    Searched full:ratio (Results 51 - 75 of 3086) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/libcxx/test/std/utilities/ratio/ratio.arithmetic/
ratio_divide.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
23 typedef std::ratio<1, 2> R1;
24 typedef std::ratio<1, 1> R2;
29 typedef std::ratio<-1, 2> R1;
30 typedef std::ratio<1, 1> R2;
35 typedef std::ratio<1, -2> R1;
36 typedef std::ratio<1, 1> R2;
41 typedef std::ratio<1, 2> R1
    [all...]
ratio_multiply.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
23 typedef std::ratio<1, 2> R1;
24 typedef std::ratio<1, 1> R2;
29 typedef std::ratio<-1, 2> R1;
30 typedef std::ratio<1, 1> R2;
35 typedef std::ratio<1, -2> R1;
36 typedef std::ratio<1, 1> R2;
41 typedef std::ratio<1, 2> R1
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/ratio/ratio.arithmetic/
ratio_divide.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
23 typedef std::ratio<1, 2> R1;
24 typedef std::ratio<1, 1> R2;
29 typedef std::ratio<-1, 2> R1;
30 typedef std::ratio<1, 1> R2;
35 typedef std::ratio<1, -2> R1;
36 typedef std::ratio<1, 1> R2;
41 typedef std::ratio<1, 2> R1
    [all...]
ratio_multiply.pass.cpp 12 #include <ratio>
17 typedef std::ratio<1, 1> R1;
18 typedef std::ratio<1, 1> R2;
23 typedef std::ratio<1, 2> R1;
24 typedef std::ratio<1, 1> R2;
29 typedef std::ratio<-1, 2> R1;
30 typedef std::ratio<1, 1> R2;
35 typedef std::ratio<1, -2> R1;
36 typedef std::ratio<1, 1> R2;
41 typedef std::ratio<1, 2> R1
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
Row.java 21 private double ratio; field in class:Row
39 return ratio;
42 public void setRatio(double ratio) {
43 this.ratio = ratio;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
EndPointRatioClassifier.java 20 * A classifier which looks at the ratio between the total length covered by the stroke and the
35 float ratio; local
37 ratio = 1.0f;
39 ratio = stroke.getEndPointLength() / stroke.getTotalLength();
41 return EndPointRatioEvaluator.evaluate(ratio);
  /packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
EndPointRatioClassifier.java 20 * A classifier which looks at the ratio between the total length covered by the stroke and the
35 float ratio; local
37 ratio = 1.0f;
39 ratio = stroke.getEndPointLength() / stroke.getTotalLength();
41 return EndPointRatioEvaluator.evaluate(ratio);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/utilities/ratio/header.ratio.synop/
includes.pass.cpp 11 // <experimental/ratio>
13 // Test that <ratio> is included.
15 #include <experimental/ratio>
18 # error " <experimental/ratio> must include <ratio>"
  /external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
op_+.pass.cpp 38 std::chrono::duration<int, std::ratio<2, 3> > s1(3);
39 std::chrono::duration<int, std::ratio<3, 5> > s2(5);
40 std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2;
44 std::chrono::duration<int, std::ratio<2, 3> > s1(3);
45 std::chrono::duration<double, std::ratio<3, 5> > s2(5);
46 std::chrono::duration<double, std::ratio<1, 15> > r = s1 + s2;
63 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3);
64 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5);
65 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2;
69 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3)
    [all...]
op_-.pass.cpp 39 std::chrono::duration<int, std::ratio<2, 3> > s1(3);
40 std::chrono::duration<int, std::ratio<3, 5> > s2(5);
41 std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2;
45 std::chrono::duration<int, std::ratio<2, 3> > s1(3);
46 std::chrono::duration<double, std::ratio<3, 5> > s2(5);
47 std::chrono::duration<double, std::ratio<1, 15> > r = s1 - s2;
64 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3);
65 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5);
66 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2;
70 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3)
    [all...]
  /external/libcxx/test/std/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...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.nonmember/
op_+.pass.cpp 38 std::chrono::duration<int, std::ratio<2, 3> > s1(3);
39 std::chrono::duration<int, std::ratio<3, 5> > s2(5);
40 std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2;
44 std::chrono::duration<int, std::ratio<2, 3> > s1(3);
45 std::chrono::duration<double, std::ratio<3, 5> > s2(5);
46 std::chrono::duration<double, std::ratio<1, 15> > r = s1 + s2;
63 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3);
64 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5);
65 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2;
69 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3)
    [all...]
op_-.pass.cpp 39 std::chrono::duration<int, std::ratio<2, 3> > s1(3);
40 std::chrono::duration<int, std::ratio<3, 5> > s2(5);
41 std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2;
45 std::chrono::duration<int, std::ratio<2, 3> > s1(3);
46 std::chrono::duration<double, std::ratio<3, 5> > s2(5);
47 std::chrono::duration<double, std::ratio<1, 15> > r = s1 - s2;
64 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3);
65 constexpr std::chrono::duration<int, std::ratio<3, 5> > s2(5);
66 constexpr std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2;
70 constexpr std::chrono::duration<int, std::ratio<2, 3> > s1(3)
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/ratio/header.ratio.synop/
ratio_equal_v.pass.cpp 12 // <experimental/ratio>
16 #include <experimental/ratio>
24 typedef std::ratio<1, 1> R1;
25 typedef std::ratio<1, 1> R2;
38 typedef std::ratio<1, 1> R1;
39 typedef std::ratio<1, -1> R2;
ratio_not_equal_v.pass.cpp 12 // <experimental/ratio>
16 #include <experimental/ratio>
24 typedef std::ratio<1, 1> R1;
25 typedef std::ratio<1, -1> R2;
38 typedef std::ratio<1, 1> R1;
39 typedef std::ratio<1, 1> R2;
ratio_greater_equal_v.pass.cpp 12 // <experimental/ratio>
16 #include <experimental/ratio>
24 typedef std::ratio<1, 2> R1;
25 typedef std::ratio<1, 1> R2;
40 typedef std::ratio<1, 1> R1;
41 typedef std::ratio<1, 1> R2;
51 typedef std::ratio<2, 1> R1;
52 typedef std::ratio<1, 1> R2;
ratio_greater_v.pass.cpp 12 // <experimental/ratio>
16 #include <experimental/ratio>
24 typedef std::ratio<1, 2> R1;
25 typedef std::ratio<1, 1> R2;
38 typedef std::ratio<1, 1> R1;
39 typedef std::ratio<1, 1> R2;
48 typedef std::ratio<2, 1> R1;
49 typedef std::ratio<1, 1> R2;
ratio_less_equal_v.pass.cpp 12 // <experimental/ratio>
16 #include <experimental/ratio>
24 typedef std::ratio<1, 2> R1;
25 typedef std::ratio<1, 1> R2;
38 typedef std::ratio<1, 1> R1;
39 typedef std::ratio<1, 1> R2;
48 typedef std::ratio<2, 1> R1;
49 typedef std::ratio<1, 1> R2;
ratio_less_v.pass.cpp 12 // <experimental/ratio>
16 #include <experimental/ratio>
24 typedef std::ratio<1, 2> R1;
25 typedef std::ratio<1, 1> R2;
38 typedef std::ratio<1, 1> R1;
39 typedef std::ratio<1, 1> R2;
48 typedef std::ratio<2, 1> R1;
49 typedef std::ratio<1, 1> R2;
  /packages/apps/Dialer/java/com/android/incallui/answer/impl/
FixedAspectSurfaceView.java 27 * A SurfaceView that maintains its aspect ratio to be a desired target value.
29 * <p>The FixedAspectSurfaceView will not be able to maintain the requested aspect ratio if both the
32 * be WRAP_CONTENT for the dimension that is best adjusted to maintain the aspect ratio.
36 /** Desired width/height ratio */
45 // Get initial aspect ratio from custom attributes
56 * Set the desired aspect ratio for this view.
58 * @param aspect the desired width/height ratio in the current UI orientation. Must be a positive
62 Assert.checkArgument(aspect >= 0, "Aspect ratio must be positive");
  /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.
  /prebuilts/go/darwin-x86/src/runtime/
complex.go 23 ratio := imag(m) / real(m)
24 denom := real(m) + ratio*imag(m)
25 e = (real(n) + imag(n)*ratio) / denom
26 f = (imag(n) - real(n)*ratio) / denom
28 ratio := real(m) / imag(m)
29 denom := imag(m) + ratio*real(m)
30 e = (real(n)*ratio + imag(n)) / denom
31 f = (imag(n)*ratio - real(n)) / denom
  /prebuilts/go/linux-x86/src/runtime/
complex.go 23 ratio := imag(m) / real(m)
24 denom := real(m) + ratio*imag(m)
25 e = (real(n) + imag(n)*ratio) / denom
26 f = (imag(n) - real(n)*ratio) / denom
28 ratio := real(m) / imag(m)
29 denom := imag(m) + ratio*real(m)
30 e = (real(n)*ratio + imag(n)) / denom
31 f = (imag(n)*ratio - real(n)) / denom
  /frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
SpringForce.java 25 * By configuring the stiffness and damping ratio, callers can create a spring with the look and
29 * Spring damping ratio describes how oscillations in a system decay after a disturbance.
30 * When damping ratio > 1* (i.e. over-damped), the object will quickly return to the rest position
31 * without overshooting. If damping ratio equals to 1 (i.e. critically damped), the object will
32 * return to equilibrium within the shortest amount of time. When damping ratio is less than 1
34 * damping (i.e. damping ratio = 0), the mass will oscillate forever.
55 * Damping ratio for a very bouncy spring. Note for under-damped springs
56 * (i.e. damping ratio < 1), the lower the damping ratio, the more bouncy the spring.
60 * Damping ratio for a medium bouncy spring. This is also the default damping ratio for sprin
    [all...]

Completed in 332 milliseconds

1 23 4 5 6 7 8 91011>>