/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ |
chrono | 38 #include <ratio> 62 template<typename _Rep, typename _Period = ratio<1>> 82 typedef ratio<__gcd_num::value, 234 struct __is_ratio<ratio<_Num, _Den>> 247 "period must be a specialization of ratio"); 538 typedef duration<int, ratio< 60>> minutes; 541 typedef duration<int, ratio<3600>> hours;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ |
chrono | 38 #include <ratio> 62 template<typename _Rep, typename _Period = ratio<1>> 82 typedef ratio<__gcd_num::value, 234 struct __is_ratio<ratio<_Num, _Den>> 247 "period must be a specialization of ratio"); 538 typedef duration<int, ratio< 60>> minutes; 541 typedef duration<int, ratio<3600>> hours;
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/graph/ |
dotgraph.go | 386 var ratio float64 388 ratio = math.Abs(float64(value)/float64(total)) * 100 391 case math.Abs(ratio) >= 99.95 && math.Abs(ratio) <= 100.05: 393 case math.Abs(ratio) >= 1.0: 394 return fmt.Sprintf("%5.2f%%", ratio) 396 return fmt.Sprintf("%5.2g%%", ratio)
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/graph/ |
dotgraph.go | 386 var ratio float64 388 ratio = math.Abs(float64(value)/float64(total)) * 100 391 case math.Abs(ratio) >= 99.95 && math.Abs(ratio) <= 100.05: 393 case math.Abs(ratio) >= 1.0: 394 return fmt.Sprintf("%5.2f%%", ratio) 396 return fmt.Sprintf("%5.2g%%", ratio)
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/ |
LevenbergMarquardtEstimator.java | 341 for (double ratio = 0; ratio < 1.0e-4;) { 404 // ratio of the actual to the predicted reduction 405 ratio = (preRed == 0) ? 0 : (actRed / preRed); 408 if (ratio <= 0.25) { 416 } else if ((lmPar == 0) || (ratio >= 0.75)) { 422 if (ratio >= 1.0e-4) { 446 (ratio <= 2.0)) || 453 if ((FastMath.abs(actRed) <= 2.2204e-16) && (preRed <= 2.2204e-16) && (ratio <= 2.0)) {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/ |
LevenbergMarquardtOptimizer.java | 342 for (double ratio = 0; ratio < 1.0e-4;) { 405 // ratio of the actual to the predicted reduction 406 ratio = (preRed == 0) ? 0 : (actRed / preRed); 409 if (ratio <= 0.25) { 417 } else if ((lmPar == 0) || (ratio >= 0.75)) { 423 if (ratio >= 1.0e-4) { 458 (ratio <= 2.0)) || 465 if ((FastMath.abs(actRed) <= 2.2204e-16) && (preRed <= 2.2204e-16) && (ratio <= 2.0)) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MatrixPaletteRenderer.java | 377 float ratio = (float) w / h; local 380 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 252 float ratio = (float) w / h; local 255 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/external/autotest/server/brillo/ |
audio_utils.py | 168 ratio = float(freq_rec) / freq_reference 169 if ratio > 1 + _FREQUENCY_THRESHOLD or ratio < 1 - _FREQUENCY_THRESHOLD:
|
/external/guava/guava/src/com/google/common/cache/ |
CacheStats.java | 111 * Returns the ratio of cache requests which were hits. This is defined as 131 * Returns the ratio of cache requests which were misses. This is defined as 176 * Returns the ratio of cache loading attempts which threw exceptions. This is defined as
|
/external/lz4/ |
NEWS | 22 Improved: Small compression ratio and speed improvement on small files 24 Fix : better ratio on 64-bits big-endian targets 67 Fixed : Restored lz4hc compression ratio (slightly lower since r124)
|
/external/nos/test/system-test-harness/src/ |
runtests.cc | 319 double ratio = (double) counts.size() / (repeats * request_size); local 322 kl_divergence += count * log2(count * ratio); 324 kl_divergence *= ratio;
|
/external/tensorflow/tensorflow/core/kernels/ |
transpose_functor_gpu.cu.cc | 44 const int32 ratio = t / out_strides[i]; local 45 t -= ratio * out_strides[i]; 46 i_idx += ratio * in_strides[perm[i]];
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
normal.py | 279 ratio = s_a_squared / s_b_squared 281 half * (ratio - one - math_ops.log(ratio)))
|
/external/wayland-protocols/freedesktop.org/unstable/fullscreen-shell/ |
fullscreen-shell-unstable-v1.xml | 101 <entry name="zoom" value="2" summary="scale the surface, preserving aspect ratio, to the largest size that will fit on the output" /> 102 <entry name="zoom_crop" value="3" summary="scale the surface, preserving aspect ratio, to fully fill the output cropping if needed" /> 103 <entry name="stretch" value="4" summary="scale the surface to the size of the output ignoring aspect ratio" />
|
/external/webrtc/talk/media/base/ |
videocommon.h | 155 // Computes a scale less to fit in max_pixels while maintaining aspect ratio. 167 // Compute the frame size that conversion should crop to based on aspect ratio. 175 // Compute the frame size that makes pixels square pixel aspect ratio.
|
/frameworks/base/core/java/android/transition/ |
ArcMotion.java | 270 float ratio = (float) Math.sqrt(ratio2); local 271 ex = dx + (ratio * (ex - dx)); 272 ey = dy + (ratio * (ey - dy));
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
SurfaceTextureTarget.java | 66 * RENDERMODE_FIT: Keep aspect ratio and fit without cropping. May 68 * RENDERMODE_FILL_CROP: Keep aspect ratio and fit without black 219 Log.v(TAG, "Process. New aspect ratio: " + currentAspectRatio +
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLDepthTestActivity.java | 185 float ratio = (float) width / height; local 186 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
|
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/ |
SpringAnimation.java | 24 * the spring's stiffness, damping ratio, as well as the rest position. Once the SpringAnimation is 96 * be created with the given final position and default stiffness and damping ratio. 169 * @throws IllegalStateException if the spring is undamped (i.e. damping ratio = 0)
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
ArcMotion.java | 265 float ratio = (float) Math.sqrt(ratio2); local 266 ex = dx + (ratio * (ex - dx)); 267 ey = dy + (ratio * (ey - dy));
|
/packages/apps/Camera2/src/com/android/camera/app/ |
AppController.java | 209 * Gets called from module when preview aspect ratio has changed. 211 * @param aspectRatio aspect ratio of preview stream 221 * @param aspectRatio the desired aspect ratio of the preview
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
LetterTileDrawable.java | 120 // height ratio. 225 * Scale the drawn letter tile to a ratio of its default size 227 * @param scale The ratio the letter tile should be scaled to as a percentage of its default
|
/packages/apps/Contacts/src/com/android/contacts/lettertiles/ |
LetterTileDrawable.java | 117 // height ratio. 229 * Scale the drawn letter tile to a ratio of its default size 231 * @param scale The ratio the letter tile should be scaled to as a percentage of its default
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
MultiShrinkScroller.java | 79 * In portrait mode, the height:width ratio of the photo's starting height. 85 * to this ratio of its full height. 199 void onTransparentViewHeightChange(float ratio); 684 * Return ratio of non-transparent:viewgroup-height for this viewgroup at the starting position. 1077 final float ratio = (toolbarHeight - mMinimumHeaderHeight) local 1183 final float ratio = calculateHeightRatioToBlendingStartHeight(toolbarHeight); local 1199 final float ratio = calculateHeightRatioToFullyOpen(toolbarHeight); local [all...] |