/external/chromium_org/third_party/opus/src/celt/tests/ |
test_unit_mathops.c | 85 double ratio; local 88 ratio = val/sqrt(i); 89 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2) 91 fprintf (stderr, "sqrt failed: sqrt(%d)="WORD" (ratio = %f)\n", i, val, ratio);
|
/external/libopus/celt/tests/ |
test_unit_mathops.c | 85 double ratio; local 88 ratio = val/sqrt(i); 89 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2) 91 fprintf (stderr, "sqrt failed: sqrt(%d)="WORD" (ratio = %f)\n", i, val, 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.
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
cmsvirt.c | 350 // Ratio= 1 - (Sum - InkLimit) / (C + M + Y) 351 // if Ratio <0 352 // Ratio=0 355 // Ratio=1 358 // C = Ratio * C 359 // M = Ratio * M 360 // Y = Ratio * Y 367 cmsFloat64Number SumCMY, SumCMYK, Ratio; 376 Ratio = 1 - ((SumCMYK - InkLimit) / SumCMY); 377 if (Ratio < 0 [all...] |
/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 528 * the aspect ratio of {@code shrinkTarget} will change to be the same aspect ratio as 533 * @param reference the rectangle whose aspect ratio will be used as the new aspect ratio 534 * @param shrinkTarget the rectangle which will be scaled down to have a new aspect ratio 537 * whose aspect ratio will match that of {@code reference} 574 * where each crop rectangle corresponds to a zoom ratio (and is centered at the middle).</p> 576 * <p>Each crop rectangle is changed to have the same aspect ratio as {@code streamSize}, 601 * deciding which zoom ratio to apply.</p [all...] |
/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);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videoframe.h | 86 // For retrieving the aspect ratio of each pixel. Usually this is 1x1, but 120 // frame to the aspect ratio of the given dimensions before stretching. 145 // frame to the aspect ratio of the given dimensions before stretching. 156 // the aspect ratio of the given dimensions before stretching. 163 // frame to the aspect ratio of the target frame before stretching. 170 // this frame to the aspect ratio of the given dimensions before stretching.
|
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
m_debug_norm.c | 299 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 302 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 305 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 315 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 318 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 321 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n",
|
/external/mesa3d/src/mesa/math/ |
m_debug_norm.c | 299 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 302 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 305 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 315 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 318 printf( "%f \t %f \t [ratio = %e - %i bit missed]\n", 321 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);
|
/hardware/ti/omap4xxx/domx/omx_core/inc/ |
OMX_TI_Video.h | 89 * @brief Aspect Ratio type selection for the encoded bit stream 92 OMX_Video_AR_Unspecified, //!< Unspecified aspect ratio 93 OMX_Video_AR_Square , //!< 1:1 (square) aspect ratio 94 OMX_Video_AR_12_11 , //!< 12:11 aspect ratio 95 OMX_Video_AR_10_11 , //!< 10:11 aspect ratio 96 OMX_Video_AR_16_11 , //!< 16:11 aspect ratio 97 OMX_Video_AR_40_33 , //!< 40:33 aspect ratio 98 OMX_Video_AR_24_11 , //!< 24:11 aspect ratio 99 OMX_Video_AR_20_11 , //!< 20:11 aspect ratio 100 OMX_Video_AR_32_11 , //!< 32:11 aspect ratio [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
TextureViewHelper.java | 84 * aspect ratio in the new layout. 128 Log.e(TAG, "Invalid aspect ratio: " + aspectRatio); 141 Log.v(TAG, "aspect ratio changed from: " + mAspectRatio); 175 * aspect ratio as the target aspect ratio 236 * and preview stream aspect ratio.
|
/packages/apps/Camera2/src/com/android/camera/one/ |
OneCamera.java | 320 * well as the requested photo/video aspect ratio. 350 * @return The aspect ratio of the full size capture (usually the native 373 * This function sets the current zoom ratio value. 378 * @param zoom Zoom ratio value passed to scaler. 387 * preview size might not match the aspect ratio of the given 390 * @return The preview size that best matches the picture aspect ratio that
|
/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)
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES11Canvas.java | 451 int toColor, float ratio, int x, int y, int w, int h) { 452 drawMixed(from, toColor, ratio, x, y, w, h, mAlpha); 471 private void setMixedColor(int toColor, float ratio, float alpha) { 474 // alpha * ((1 - ratio) * from + ratio * to) 479 // So, we have combo = alpha * (1 - ratio) 480 // and scale = alpha * ratio / (1 - combo) 482 float combo = alpha * (1 - ratio); 483 float scale = alpha * ratio / (1 - combo); 513 public void drawMixed(BasicTexture from, int toColor, float ratio, [all...] |
/build/tools/ |
dump-package-stats | 105 ($4 != "Ratio" && $4 != "Cmpr") || 122 # Only look for lines where the ratio is the fourth column;
|
/developers/samples/android/media/Camera2Video/ |
template-params.xml | 68 to be able to draw itself according to an aspect ratio, which is set via a public method. Additionally, 69 the `onMeasure(int widthMeasureSpec, int heightMeasureSpec)` method is overridden, using the aspect ratio.
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
FitCenterFrameLayout.java | 25 * A simple layout that fits and centers each child view, maintaining aspect ratio. 74 // as part of the child's aspect ratio.
|
/external/chromium_org/athena/home/ |
home_card_gesture_manager.cc | 97 float ratio = (original_state_ == HomeCard::VISIBLE_MINIMIZED) local 100 if (last_estimated_height_ < screen_bounds_.height() * ratio)
|
/external/chromium_org/chrome/browser/chromeos/login/ui/ |
login_web_dialog.cc | 29 // Default width/height ratio of screen size. 33 // Default width/height ratio of minimal dialog size.
|
/external/chromium_org/chrome/browser/thumbnails/ |
content_analysis.h | 48 // is the desired image size (defines aspect ratio and minimal image size) while 59 // to the desired aspect ratio (given by |target_size|) as reasonable.
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
version_independent_window.mm | 126 - (void)setContentAspectRatio:(NSSize)ratio { 128 [super setContentAspectRatio:ratio];
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
avatar_menu_button.cc | 70 // Scale the height and maintain aspect ratio. This means that the 74 // Round here so that we minimize the aspect ratio drift.
|
/external/chromium_org/media/audio/cras/ |
cras_input.h | 68 // Convert from dB * 100 to a volume ratio. 71 // Convert from a volume ratio to dB.
|