/external/webrtc/talk/media/base/ |
videocommon.cc | 104 // Computes a scale less to fit in max_pixels while maintaining aspect ratio. 128 // maintains original captured frame aspect ratio. 141 // and rendering size with the same aspect ratio. 188 // kAspectThresh is the maximum aspect ratio difference that we'll accept 210 // Compute the frame size that makes pixels square pixel aspect ratio.
|
/frameworks/av/media/libaudioprocessing/include/media/ |
AudioResamplerPublic.h | 25 // AUDIO_RESAMPLER_DOWN_RATIO_MAX is the maximum ratio between the original 30 // downsampling ratio. 34 // AUDIO_RESAMPLER_UP_RATIO_MAX is the maximum suggested ratio between the original 137 // +1 for rounding - always do this even if matched ratio (resampler may use phases not ratio)
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/verifier/ |
DatabaseVerifierTest.kt | 63 assertThat(table.columnNames(), `is`(listOf("id", "name", "lastName", "ratio"))) 82 ColumnInfo("ratio", SQLTypeAffinity.REAL) 111 validQueryTest("select MAX(ratio) from User GROUP BY name") { 115 ColumnInfo("MAX(ratio)", SQLTypeAffinity.NULL) 201 field("ratio", primitive(context, TypeKind.FLOAT), SQLTypeAffinity.REAL)))
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
BaseWrapContentWithAspectRatioTest.java | 100 Float ratio; field in class:BaseWrapContentWithAspectRatioTest.AspectRatioMeasureBehavior 107 public AspectRatioMeasureBehavior aspectRatio(int control, float ratio) { 109 this.ratio = ratio; 127 return (int) (controlSize * ratio);
|
/hardware/interfaces/media/omx/1.0/ |
IOmxStore.hal | 41 * ratio: <num>:<num> 89 * key: 'block-aspect-ratio-range', value-type: range<ratio> 95 * key: 'pixel-aspect-ratio-range', value-type: range<ratio>
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
MultiTouchView.java | 48 /** Emulator screen width to this view width ratio. */ 50 /** Emulator screen height to this view height ratio. */ 111 * ratio. 113 * @param dx Emulator screen width to this view width ratio. 114 * @param dy Emulator screen height to this view height ratio.
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
ParameterUtils.java | 397 // Make the user-requested crop region the same aspect ratio as the preview stream size 531 * the aspect ratio of {@code shrinkTarget} will change to be the same aspect ratio as 536 * @param reference the rectangle whose aspect ratio will be used as the new aspect ratio 537 * @param shrinkTarget the rectangle which will be scaled down to have a new aspect ratio 540 * whose aspect ratio will match that of {@code reference} 577 * where each crop rectangle corresponds to a zoom ratio (and is centered at the middle).</p> 579 * <p>Each crop rectangle is changed to have the same aspect ratio as {@code streamSize}, 604 * deciding which zoom ratio to apply.</p [all...] |
/prebuilts/abi-dumps/vndk/28/32/arm_armv7-a-neon/source-based/ |
android.hidl.memory@1.0-impl.so.lsdump.gz | |
/prebuilts/abi-dumps/vndk/28/64/arm_armv8-a/source-based/ |
android.hidl.memory@1.0-impl.so.lsdump.gz | |
/packages/apps/Camera2/src/com/android/camera/util/ |
CameraUtil.java | 424 * @param aspectRatio the target aspect ratio 425 * @return the largest Size with the given aspect ratio that is smaller than 488 * screen and target aspect ratio.. 490 * This is using a default aspect ratio tolerance. If the tolerance is to be 495 * @param targetRatio the target aspect ratio, typically the aspect ratio of 511 * screen, target aspect ratio and tolerance. 514 * @param targetRatio the target aspect ratio, typically the aspect ratio of 517 * preview size's aspect ratio and the target ratio. If this i 547 double ratio = (double) size.getWidth() \/ size.getHeight(); local 616 double ratio = (double) size.width() \/ size.height(); local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fSampleShadingTests.cpp | 308 GLU_EXPECT_NO_ERROR(gl.getError(), "set ratio"); 315 const float ratio = ((float)sampleCount / (float)m_numTargetSamples) - epsilon; 318 gl.minSampleShading(ratio); 319 GLU_EXPECT_NO_ERROR(gl.getError(), "set ratio"); 323 << "Setting MIN_SAMPLE_SHADING_VALUE = " << ratio << "\n" 324 << "Requested sample count: shadingValue * numSamples = " << ratio << " * " << m_numTargetSamples << " = " << (ratio * (float)m_numTargetSamples) << "\n" 325 << "Minimum sample count: ceil(shadingValue * numSamples) = ceil(" << (ratio * (float)m_numTargetSamples) << ") = " << sampleCount 329 DE_ASSERT(deFloatCeil(ratio * (float)m_numTargetSamples) == float(sampleCount));
|
/packages/apps/Camera2/src/com/android/camera/ |
TextureViewHelper.java | 93 * stream aspect ratio in the new layout. 137 Log.e(TAG, "Invalid aspect ratio: " + aspectRatio); 150 Log.v(TAG, "aspect ratio changed from: " + mAspectRatio); 183 * aspect ratio as the target aspect ratio 262 * changing its aspect ratio. 287 // This rotation code assumes that the aspect ratio of the content 288 // (not of necessarily the surface) equals the aspect ratio of view that is receiving 315 * TextureView and preview stream aspect ratio.
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
PreviewOverlay.java | 98 * @param ratio zoom ratio, [1.0f,maximum] 100 void onZoomValueChanged(float ratio); // only for immediate zoom 119 * @param zoomMaxRatio max zoom ratio, [1.0f,+Inf) 120 * @param zoom current zoom ratio, [1.0f,zoomMaxRatio] 316 // Set maximum zoom ratio from Module. 321 // Set current zoom ratio from Module. 322 public void setZoom(float ratio) { 323 mCurrentRatio = ratio;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
FrameBufferObjectActivity.java | 100 float ratio = (float) width / height; local 103 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7); 138 float ratio = (float) width / height; local 141 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_difflib.py | 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3)
16 self.assertAlmostEqual(sm.ratio(), 0.995, places=3)
24 self.assertAlmostEqual(sm.ratio(), 0.994, places=3)
40 self.assertAlmostEqual(sm.ratio(), 0, places=3)
44 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3)
51 self.assertEqual(s.ratio(), 1)
|
/external/mesa3d/src/mesa/math/ |
m_debug_norm.c | 300 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 303 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 306 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 316 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 319 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 322 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n",
|
/external/owasp/sanitizer/empiricism/ |
html-containment.js | 68 var ratio = runIndex / nRuns; 69 progressCounter.style.width = (100 * ratio).toFixed(2) + '%'; 76 // = time_so_far / ratio 78 // = time_so_far / ratio - time_so_far 79 // = time_so_far * (1/ratio - 1) 80 var eta = timeSoFar * (1 / ratio - 1);
|
/external/python/cpython2/Lib/test/ |
test_difflib.py | 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 16 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 24 self.assertAlmostEqual(sm.ratio(), 0.994, places=3) 40 self.assertAlmostEqual(sm.ratio(), 0, places=3) 44 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3) 51 self.assertEqual(s.ratio(), 1)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_difflib.py | 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 16 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 24 self.assertAlmostEqual(sm.ratio(), 0.994, places=3) 40 self.assertAlmostEqual(sm.ratio(), 0, places=3) 44 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3) 51 self.assertEqual(s.ratio(), 1)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_difflib.py | 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 16 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 24 self.assertAlmostEqual(sm.ratio(), 0.994, places=3) 40 self.assertAlmostEqual(sm.ratio(), 0, places=3) 44 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3) 51 self.assertEqual(s.ratio(), 1)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_difflib.py | 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 16 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 24 self.assertAlmostEqual(sm.ratio(), 0.994, places=3) 40 self.assertAlmostEqual(sm.ratio(), 0, places=3) 44 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3) 51 self.assertEqual(s.ratio(), 1)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_difflib.py | 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 16 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 24 self.assertAlmostEqual(sm.ratio(), 0.994, places=3) 40 self.assertAlmostEqual(sm.ratio(), 0, places=3) 44 self.assertAlmostEqual(sm.ratio(), 0.9975, places=3) 51 self.assertEqual(s.ratio(), 1)
|
/external/adhd/cras/src/dsp/ |
drc_kernel.c | 49 dk->ratio = uninitialized_value; 124 * is equal to the inverse of the compression "ratio". In other words, a 125 * compression ratio of 20 would be a slope of 1/20. 178 float db_knee, float ratio) 181 ratio != dk->ratio) { 188 dk->ratio = ratio; 189 dk->slope = 1 / dk->ratio; 191 float k = k_at_slope(dk, 1 / dk->ratio); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES11Canvas.java | 449 int toColor, float ratio, int x, int y, int w, int h) { 450 drawMixed(from, toColor, ratio, x, y, w, h, mAlpha); 469 private void setMixedColor(int toColor, float ratio, float alpha) { 472 // alpha * ((1 - ratio) * from + ratio * to) 477 // So, we have combo = alpha * (1 - ratio) 478 // and scale = alpha * ratio / (1 - combo) 480 float combo = alpha * (1 - ratio); 481 float scale = alpha * ratio / (1 - combo); 511 public void drawMixed(BasicTexture from, int toColor, float ratio, [all...] |
/build/make/tools/ |
dump-package-stats | 95 ($4 != "Ratio" && $4 != "Cmpr") || 112 # Only look for lines where the ratio is the fourth column;
|