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

<<11121314151617181920>>

  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
CubeRenderer.java 94 float ratio = (float) width / height; local
97 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
  /packages/apps/Camera2/src/com/android/camera/widget/
AspectRatioDialogLayout.java 29 * Displays a dialog that allows people to choose aspect ratio. Please
47 * @param defaultAspectRatio The default aspect ratio to choose.
81 // Set aspect ratio after references to views are established.
  /packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
ColorChecker.java 24 * A class that checks to make sure that given colors are within the acceptable contract ratio for
54 * @param minAllowedContrastRatio The minimum contrast ratio
87 * Returns the contrast ratio between the two luminances. Luminances maps to colors and is the
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
IconFactory.java 33 * otherwise, the source image is cropped to the proper aspect ratio.
63 * source image is cropped to the proper aspect ratio.
91 // crop image to aspect ratio iconWidth:iconHeight
  /packages/apps/PhoneCommon/src/com/android/phone/common/util/
ViewUtil.java 100 float ratio = width / paint.measureText(textView.getText().toString()); local
101 if (ratio <= 1.0f) {
103 Math.max(minTextSize, originalTextSize * ratio));
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/
CubeRenderer.java 97 float ratio = (float) width / height; local
100 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.cast/
duration_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));
  /external/autotest/client/site_tests/hardware_TrimIntegrity/
hardware_TrimIntegrity.py 105 @param trim_ratio: list of ratio of file size to trim data
182 for ratio in trim_ratio:
186 end_trim_chunk = int(ratio * chunk_count)
192 last_ratio = ratio
196 trim_verify_count += int(ratio * chunk_count)
197 data_verify_count += chunk_count - int(ratio * chunk_count)
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
GLCanvas.java 107 // from * (1 - ratio) + to * ratio
110 float ratio, int x, int y, int w, int h);
113 // rectangle. The actual color used is from * (1 - ratio) + to * ratio.
117 float ratio, RectF src, RectF target);
  /frameworks/support/leanback/src/main/java/androidx/leanback/widget/
PlaybackControlsPresenter.java 166 // Use ratio to represent current progres
167 double ratio = (double) mCurrentTimeInMs / mTotalTimeInMs; // Range: [0, 1] local
168 double progressRatio = ratio * Integer.MAX_VALUE; // Could safely cast to int
178 // Solve the progress bar by using ratio
179 double ratio = (double) progressMs / mTotalTimeInMs; // Range: [0, 1] local
180 double progressRatio = ratio * Integer.MAX_VALUE; // Could safely cast to int
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLCanvas.java 109 // from * (1 - ratio) + to * ratio
112 float ratio, int x, int y, int w, int h);
115 // rectangle. The actual color used is from * (1 - ratio) + to * ratio.
119 float ratio, RectF src, RectF target);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/
ConfigMatchTest.java 100 null, // screen ratio
124 null, // screen ratio
148 null, // screen ratio
172 null, // screen ratio
196 "notlong", // screen ratio
228 "notlong", // screen ratio
  /external/compiler-rt/lib/esan/
cache_frag.cpp 50 u64 Ratio; // Difference ratio for the struct layout access.
70 // difference ratio: V1/V2.
101 Report(" size = %u, count = %llu, ratio = %llu, array access = %llu\n",
102 Struct->Size, Handle->Count, Handle->Ratio, *Struct->ArrayCounter);
118 Handle->Ratio = 0;
122 Handle->Ratio += computeDifferenceRatio(
126 if (Handle->Ratio >= (u64)getFlags()->report_threshold ||
  /external/compiler-rt/test/esan/TestCases/
struct-simple.cpp 153 // CHECK-NEXT: {{.*}} size = 32, count = 5, ratio = 3, array access = 5
159 // CHECK-NEXT: {{.*}} size = 8, count = 2, ratio = 1, array access = 0
165 // CHECK-NEXT: {{.*}} size = 8, count = 2, ratio = 2, array access = 0
170 // CHECK-NEXT: {{.*}} size = 12, count = 2, ratio = 2, array access = 0
180 // CHECK-NEXT: {{.*}} size = 8, count = 2049, ratio = 2048, array access = 0
185 // CHECK-NEXT: {{.*}} size = 16, count = 2097153, ratio = 2097152, array access = 0
192 // CHECK-NEXT: {{.*}} size = 128, count = 2097153, ratio = 2097153, array access = 0
198 // CHECK-NEXT: {{.*}} size = 12, count = 2097152, ratio = 4194304, array access = 2097152
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
CounterComparator.java 47 * Compares the ratio of covered items.
53 * Compares the ratio of missed items.
  /external/libavc/encoder/
irc_est_sad.h 30 * - it uses the ratio of P frame sads of the previous two GOPS and
31 * scales the I Frame sad with this ratio to estimate the current
  /external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/
op_+.pass.cpp 38 typedef std::chrono::duration<int, std::ratio<10,10> > D10;
39 typedef std::chrono::duration<int, std::ratio< 1, 1> > D1;
op_-.pass.cpp 38 typedef std::chrono::duration<int, std::ratio<10,10> > D10;
39 typedef std::chrono::duration<int, std::ratio< 1, 1> > D1;
  /external/ltp/testcases/realtime/profiles/
default 40 # Pass if ratio * average concurrent time < average sequential time
41 # Default ratio=0.75
  /external/pdfium/fxbarcode/
cbc_codabar.cpp 46 bool CBC_Codabar::SetWideNarrowRatio(int8_t ratio) {
47 return GetOnedCodaBarWriter()->SetWideNarrowRatio(ratio);
cbc_code39.cpp 71 bool CBC_Code39::SetWideNarrowRatio(int8_t ratio) {
72 return GetOnedCode39Writer()->SetWideNarrowRatio(ratio);
  /external/skia/src/core/
SkScaleToSides.h 19 // Scale must be less than or equal to the ratio limit / (*a + *b).
38 // is 1/2 the ratio of minRadius : (minRadius + maxRadius), therefore in the resulting
  /external/skqp/src/core/
SkScaleToSides.h 19 // Scale must be less than or equal to the ratio limit / (*a + *b).
38 // is 1/2 the ratio of minRadius : (minRadius + maxRadius), therefore in the resulting
  /external/tensorflow/tensorflow/core/kernels/
decode_image_op.cc 117 OP_REQUIRES_OK(context, context->GetAttr("ratio", &flags_.ratio));
119 flags_.ratio == 1 || flags_.ratio == 2 || flags_.ratio == 4 ||
120 flags_.ratio == 8,
121 errors::InvalidArgument("ratio must be 1, 2, 4, or 8, got ",
122 flags_.ratio));
  /external/tensorflow/tensorflow/core/kernels/fuzzing/
encode_jpeg_fuzz.cc 28 // Pick random channels and aspect ratio, and then set the
29 // input based upon the aspect ratio and size.

Completed in 874 milliseconds

<<11121314151617181920>>