/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
GraggBulirschStoerIntegrator.java | 393 final double ratio = ((double) sequence[k]) / sequence[k-l-1]; local 394 coeff[k][l] = 1.0 / (ratio * ratio - 1.0); 498 final double ratio = f[0][l] / scale[l]; local 499 initialNorm += ratio * ratio; 503 final double ratio = (f[j+1][l] - f[0][l]) / scale[l]; local 504 deltaNorm += ratio * ratio; 738 final double ratio = ((double) sequence [targetIter] * sequence[targetIter + 1]) local 765 final double ratio = ((double) sequence[k+1]) \/ sequence[0]; local [all...] |
/external/pdfium/third_party/lcms/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...] |
/cts/tests/framework/base/activitymanager/app/src/android/server/am/ |
PipActivity.java | 124 // Enter picture in picture with the given aspect ratio if provided 136 // This call can fail intentionally if the aspect ratio is too extreme 144 // to be called before setting the aspect ratio 154 // This call can fail intentionally if the aspect ratio is too extreme 292 * @return a {@link Rational} aspect ratio from the given intent and extras.
|
Components.java | 251 // ratio after a short delay. 265 // Used with EXTRA_AUTO_ENTER_PIP, value specifies the aspect ratio to enter PIP with 268 // Used with EXTRA_AUTO_ENTER_PIP, value specifies the aspect ratio to enter PIP with 282 // Calls setPictureInPictureAspectRatio with the aspect ratio specified in the value 285 // Calls setPictureInPictureAspectRatio with the aspect ratio specified in the value 287 // Calls setPictureInPictureAspectRatio with the aspect ratio specified in the value with a 291 // Calls setPictureInPictureAspectRatio with the aspect ratio specified in the value with a
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CameraPreview.java | 159 * support preview sizes at the same aspect ratio as the device's display. 277 // Try to find an size match aspect ratio and size 279 double ratio = (double) size.width / size.height; local 280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; 287 // Cannot find the one match the aspect ratio, ignore the requirement
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
CameraFragment.java | 168 * aspect ratio as the device's display. 297 // Try to find an size match aspect ratio and size 299 double ratio = (double) size.width / size.height; local 300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) 308 // Cannot find the one match the aspect ratio, ignore the requirement
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
cpuctl_testplan.txt | 47 So until and unless this ratio(group A' shares/ Total shares of all groups) 53 group should get the cpu time in the same(above) ratio irrespective of the 54 shares absolute values provided the ratio is not changed i.e. the cpu time per 75 1. A group should get cpu time in the same ratio as it's shares. 76 2. This time should not change with the changes in share values while the ratio in those
|
/external/valgrind/drd/tests/ |
matinv.c | 319 double ratio; local 351 ratio = error / (eps * matrix_size); 355 error, eps, ratio); 357 if (isfinite(ratio) && ratio < 100)
|
omp_matinv.c | 295 double ratio; local 331 ratio = error / (eps * matrix_size); 335 error, eps, ratio); 337 if (isfinite(ratio) && ratio < 100)
|
/external/webrtc/talk/media/base/ |
videoframe.h | 95 // For retrieving the aspect ratio of each pixel. Usually this is 1x1, but 135 // frame to the aspect ratio of the given dimensions before stretching. 169 // frame to the aspect ratio of the given dimensions before stretching. 184 // frame to the aspect ratio of the target frame before stretching. 191 // this frame to the aspect ratio of the given dimensions before stretching.
|
/packages/apps/Camera2/src/com/android/camera/ |
PhotoUI.java | 260 Log.e(TAG, "Invalid aspect ratio: " + aspectRatio); 269 // Update transform matrix with the new aspect ratio. 376 public void onZoomValueChanged(float ratio) { 377 mController.onZoomChanged(ratio); 400 // recalculate aspect ratio when restarting.
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
InvariantDeviceProfile.java | 336 * As a ratio of screen height, the total distance we want the parallax effect to span 342 // At an aspect ratio of 16/10, the wallpaper parallax effect should span 1.5 * screen width 343 // At an aspect ratio of 10/16, the wallpaper parallax effect should span 1.2 * screen width 345 // to span (ie travel) at any aspect ratio: 353 // formulas, where the coefficient on x is the aspect ratio (width/height):
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/libs/armeabi/ |
libc++_static.a | [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/ |
libc++_static.a | [all...] |
/compatibility/cdd/7_hardware-compatibility/ |
7_1_display-and-graphics.md | 16 * **aspect ratio**. The ratio of the pixels of the longer dimension to the 52 #### 7.1.1.2\. Screen Aspect Ratio 54 While there is no restriction to the screen aspect ratio value of the physical 55 screen display, the screen aspect ratio of the logical display that third-party 64 `UI_MODE_TYPE_NORMAL` MUST have an aspect ratio value between 1.3333 (4:3) 68 * The app has declared that it supports a larger screen aspect ratio 78 that would restrict the allowed aspect ratio. 82 `UI_MODE_TYPE_WATCH` MUST have an aspect ratio value set as 1.0 (1:1). 357 * [C-0-3] MUST use the display technology that have a pixel aspect ratio (PAR [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
PlaybackTransportRowPresenter.java | 163 double ratio = (double) newPos / mTotalTimeInMs; // Range: [0, 1] local 164 mProgressBar.setProgress((int) (ratio * Integer.MAX_VALUE)); // Could safely cast to int 500 // Use ratio to represent current progres 501 double ratio = (double) mCurrentTimeInMs / mTotalTimeInMs; // Range: [0, 1] local 502 progressRatio = (int) (ratio * Integer.MAX_VALUE); // Could safely cast to int 510 // Solve the progress bar by using ratio 511 double ratio = (double) progressMs / mTotalTimeInMs; // Range: [0, 1] local 512 double progressRatio = ratio * Integer.MAX_VALUE; // Could safely cast to int 762 * @param ratio float value between 0(inclusive) and 1(inclusive). 764 public void setDefaultSeekIncrement(float ratio) { [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 397 // Try to find an size match aspect ratio and size 399 double ratio = (double) size.width / size.height; local 400 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; 407 // Cannot find the one match the aspect ratio. This should not happen. 410 Log.w(TAG, "No preview size match the aspect ratio"); 422 // Returns the largest picture size which matches the given aspect ratio. 431 // Try to find a size matches aspect ratio and has the largest width 433 double ratio = (double) size.width / size.height; local 434 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; 440 // Cannot find one that matches the aspect ratio. This should not happen [all...] |
/external/dng_sdk/source/ |
dng_lens_correction.h | 139 /// Evaluate the 1D radial warp ratio function for the specified plane. 258 // ratio = kr0 + (kr1 * r^2) + (kr2 * r^4) + (kr3 * r^6) 260 // dxRad = dx * ratio 261 // dyRad = dy * ratio 382 // ratio = rWarp / r 384 // dxRad = dx * ratio 385 // dyRad = dy * ratio
|
/external/tensorflow/tensorflow/python/ops/ |
clip_ops.py | 112 # Calculate L2-norm, clip elements by ratio of clip_norm to L2-norm 175 """Clips values of multiple tensors by the ratio of the sum of their norms. 177 Given a tuple or list of tensors `t_list`, and a clipping ratio `clip_norm`, 192 otherwise they're all shrunk by the global ratio. 205 clip_norm: A 0-D (scalar) `Tensor` > 0. The clipping ratio. 226 # Calculate L2-norm, clip elements by ratio of clip_norm to L2-norm 285 # Calculate L2-norm per element, clip elements by ratio of clip_norm to
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
SwipeDismissLayout.java | 162 * Sets the minimum ratio of the screen after which the swipe gesture is treated as swipe-to- 165 * @param ratio the ratio of the screen at which the swipe gesture is treated as 168 public void setDismissMinDragWidthRatio(float ratio) { 169 mDismissMinDragWidthRatio = ratio; 173 * Returns the current ratio of te screen at which the swipe gesture is treated as 176 * @return the current ratio of te screen at which the swipe gesture is treated as
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/Msr/ |
SilvermontMsr.h | 58 /// [Bits 12:8] Maximum Qualified Ratio (R) The maximum allowed bus ratio.
848 Package. Maximum Ratio Limit of Turbo Mode (RW).
876 /// [Bits 7:0] Package. Maximum Ratio Limit for 1C Maximum turbo ratio
881 /// [Bits 15:8] Package. Maximum Ratio Limit for 2C Maximum turbo ratio
886 /// [Bits 23:16] Package. Maximum Ratio Limit for 3C Maximum turbo ratio
891 /// [Bits 31:24] Package. Maximum Ratio Limit for 4C Maximum turbo ratio [all...] |
IvyBridgeMsr.h | 59 /// [Bits 15:8] Package. Maximum Non-Turbo Ratio (R/O) The is the ratio
60 /// of the frequency that invariant TSC runs at. Frequency = ratio * 100
66 /// [Bit 28] Package. Programmable Ratio Limit for Turbo Mode (R/O) When
67 /// set to 1, indicates that Programmable Ratio Limits for Turbo mode is
68 /// enabled, and when set to 0, indicates Programmable Ratio Limits for
94 /// [Bits 47:40] Package. Maximum Efficiency Ratio (R/O) The is the
95 /// minimum ratio (maximum efficiency) that the processor can operates, in
100 /// [Bits 55:48] Package. Minimum Operating Ratio (R/O) Contains the
101 /// minimum supported operating ratio in units of 100 MHz. [all...] |
GoldmontMsr.h | 127 /// [Bits 15:8] Package. Maximum Non-Turbo Ratio (R/O) The is the ratio
128 /// of the frequency that invariant TSC runs at. Frequency = ratio * 100
134 /// [Bit 28] Package. Programmable Ratio Limit for Turbo Mode (R/O) When
135 /// set to 1, indicates that Programmable Ratio Limits for Turbo mode is
136 /// enabled, and when set to 0, indicates Programmable Ratio Limits for
156 /// [Bits 47:40] Package. Maximum Efficiency Ratio (R/O) The is the
157 /// minimum ratio (maximum efficiency) that the processor can operates, in
503 Package. Maximum Ratio Limit of Turbo Mode by Core Groups (RW) Specifies
504 Maximum Ratio Limit for each Core Group. Max ratio for groups with more [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
mtb.py | [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 375 // find a supported size with ratio less than tolerance threshold, and 396 double ratio = (double) size.width / size.height; local 397 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) { 417 // ignore aspect ratio requirement 462 // adjust camera preview to match output image's aspect ratio 471 // then calculate height using output image's height/width ratio
|