/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTile.java | 177 // ratio of the image 178 final float ratio = Math.min((float) width / height, (float) height / width); local 184 ratio < skinnyThresholdRatio &&
|
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
ShadowUtil.java | 108 float ratio = fright / ftop;
local 117 near_width = near_height * ratio;
119 far_width = far_height * ratio;
122 near_width = near_height * ratio;
124 far_width = far_height * ratio;
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 1755 int16_t ratio; local [all...] |
/external/chromium/chrome/browser/resources/keyboard/ |
main.js | 62 * The aspect ratio of this key. 74 * @return {number} The aspect ratio of this key. 156 this.aspect_ = 1; // ratio width:height 186 * @param {number} aspect The aspect ratio of the key. 225 * @param {number} aspect The aspect ratio of the key. 258 * @param {number} aspect The aspect ratio of the key. 434 * Get the total aspect ratio of the row. 435 * @return {number} The aspect ratio relative to a height of 1 unit. 595 * The keyboard's aspect ratio.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeTestActivity.java | 225 float ratio = (float) width / height; local 226 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 15);
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.java | 259 float ratio = (float) width / height; local 260 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CubeMapActivity.java | 110 float ratio = (float) width / height; local 113 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
MatrixPaletteRenderer.java | 377 float ratio = (float) w / h; local 380 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
|
/external/aac/libSBRenc/src/ |
nf_est.cpp | 535 FIXP_DBL tmp, ratio, lg2; 538 ratio = fDivNorm(k2, kx, &ratio_e); 539 lg2 = fLog2(ratio, ratio_e, &qlg2);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
SliderThumbElement.cpp | 288 const Decimal ratio = Decimal::fromDouble(static_cast<double>(position) / trackSize); local 289 const Decimal fraction = isVertical || !isLeftToRightDirection ? Decimal(1) - ratio : ratio;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
thread_cache.cc | 480 double ratio = space / max<double>(1, per_thread_cache_size_); local 485 if (ratio < 1.0) { 486 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
thread_cache.cc | 469 double ratio = space / max<double>(1, per_thread_cache_size_); local 474 if (ratio < 1.0) { 475 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio);
|
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 292 final float ratio = (float) iconWidth / iconHeight; local 295 height = (int) (width / ratio); 297 width = (int) (height * ratio);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaEnvReverbTest.java | 167 //Test case 1.1: test decay time and ratio 181 short ratio = mReverb.getDecayHFRatio(); local 182 assertTrue(msg +": got incorrect decay HF ratio", 183 ((float)ratio > (float)(1000 / RATIO_TOLERANCE)) && 184 ((float)ratio < (float)(1000 * RATIO_TOLERANCE)));
|
/frameworks/wilhelm/src/itf/ |
IEqualizer.c | 298 // search for band whose center frequency has the closest ratio to 1.0 311 float ratio = frequency <= band->mCenter ? local 313 if (ratio > bestRatio) { 314 bestRatio = ratio;
|
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 379 final float ratio = (float) iconWidth / iconHeight; local 382 height = (int) (width / ratio); 384 width = (int) (height * ratio);
|
/external/chromium_org/chrome/browser/resources/ntp_android/ |
opentabs.css | 193 @media screen and (-webkit-min-device-pixel-ratio: 1.5) { 216 @media screen and (-webkit-min-device-pixel-ratio: 2.0) {
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
Frame.cpp | 263 float ratio = originalSize.height() / originalSize.width(); local 265 resultSize.setHeight(floorf(resultSize.width() * ratio)); 268 float ratio = originalSize.width() / originalSize.height(); local 270 resultSize.setWidth(floorf(resultSize.height() * ratio));
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
auditsPanel.css | 153 @media (-webkit-min-device-pixel-ratio: 1.5) { 189 @media (-webkit-min-device-pixel-ratio: 1.5) {
|
/external/chromium_org/third_party/freetype/src/truetype/ |
ttobjs.h | 224 /* - When performing a read or write in the CVT, a ratio factor is used */ 236 /* We compute the current ratio like: */ 239 /* ratio = x_ratio = 1.0 */ 242 /* ratio = y_ratio */ 245 /* ratio = sqrt( (proj.x * x_ratio) ^ 2 + (proj.y * y_ratio) ^ 2 ) */ 248 /* ratio * cvt[index] */ 251 /* cvt[index] / ratio */ 254 /* ratio * ppem */ 270 FT_Long ratio; /* current ratio */ member in struct:TT_Size_Metrics_ [all...] |
/external/eigen/bench/btl/data/ |
gnuplot_common_settings.hh | 44 set size ratio 0 1,1 variable
|
/external/freetype/src/truetype/ |
ttobjs.h | 227 /* - When performing a read or write in the CVT, a ratio factor is used */ 239 /* We compute the current ratio like: */ 242 /* ratio = x_ratio = 1.0 */ 245 /* ratio = y_ratio */ 248 /* ratio = sqrt( (proj.x * x_ratio) ^ 2 + (proj.y * y_ratio) ^ 2 ) */ 251 /* ratio * cvt[index] */ 254 /* cvt[index] / ratio */ 257 /* ratio * ppem */ 273 FT_Long ratio; /* current ratio */ member in struct:TT_Size_Metrics_ [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...] |
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 196 float ratio = (float)w/h; local 197 glView.setAspectRatio(ratio);
|
/external/chromium_org/content/browser/loader/ |
async_resource_handler.cc | 62 double ratio = static_cast<double>(bytes_read) / buffer_size; local 63 return static_cast<int>(ratio * 100.0 + 0.5); // Round to nearest integer.
|