HomeSort by relevance Sort by last modified time
    Searched full:ratio (Results 726 - 750 of 2022) sorted by null

<<21222324252627282930>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
difflib.py 79 .ratio() returns a float in [0, 1], measuring the "similarity" of the
80 sequences. As a rule of thumb, a .ratio() value over 0.6 means the
83 >>> print round(s.ratio(), 3)
144 ratio()
148 Return an upper bound on .ratio() relatively quickly.
151 Return an upper bound on ratio() very quickly.
228 >>> s.ratio()
241 >>> s.ratio()
244 >>> s.ratio()
267 >>> s.ratio()
636 def ratio(self): member in class:SequenceMatcher
    [all...]
  /external/chromium_org/third_party/speex/libspeex/
sb_celp.c 428 float ratio; local
449 ratio = 2*log((1.f+e_high)/(1.f+e_low));
452 if (ratio<-4)
453 ratio=-4;
454 if (ratio>2)
455 ratio=2;
456 /*if (ratio>-2)*/
461 st->relative_quality+=1.0*(ratio+2);
499 /*fprintf (stderr, "%f %f\n", ratio, low_qual);*/
1007 /* Calculate reponse ratio between the low and high filter in the middl
    [all...]
  /external/speex/libspeex/
sb_celp.c 428 float ratio; local
449 ratio = 2*log((1.f+e_high)/(1.f+e_low));
452 if (ratio<-4)
453 ratio=-4;
454 if (ratio>2)
455 ratio=2;
456 /*if (ratio>-2)*/
461 st->relative_quality+=1.0*(ratio+2);
499 /*fprintf (stderr, "%f %f\n", ratio, low_qual);*/
1007 /* Calculate reponse ratio between the low and high filter in the middl
    [all...]
  /external/blktrace/btt/
output.c 171 double ratio, q2c_n, d2c_n; local
182 ratio = 1.0;
184 ratio = q2c_n / d2c_n;
191 ratio,
203 ratio,
227 fprintf(ofp, "%10s | %8s %8s %7s | %8s %8s %8s %8s\n", "DEV", "#Q", "#D", "Ratio", "BLKmin", "BLKavg", "BLKmax", "Total");
232 fprintf(ofp, "%10s | %8s %8s %7s | %8s %8s %8s %8s\n", "DEV", "#Q", "#D", "Ratio", "BLKmin", "BLKavg", "BLKmax", "Total");
  /external/linux-tools-perf/perf-3.12.0/tools/perf/
builtin-trace.c 1118 printed += fprintf(fp," [ task - pid ] [ events ] [ ratio ] [ runtime ]\n");
1133 double ratio; local
1138 ratio = (double)ttrace->nr_events / trace->nr_events * 100.0;
1141 if (ratio > 50.0)
1143 else if (ratio > 25.0)
1145 else if (ratio > 5.0)
1150 printed += color_fprintf(fp, color, "%5.1f%%", ratio);
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsHelper.java 437 // Then compute the ratio of time spent at each speed
440 double ratio = (double) cpuSpeedStepTimes[step] / totalTimeAtSpeeds; local
441 if (DEBUG && ratio != 0) Log.d(TAG, "UID " + u.getUid() + ": CPU step #"
442 + step + " ratio=" + makemAh(ratio) + " power="
443 + makemAh(ratio*tmpCpuTime*powerCpuNormal[step] / (60*60*1000)));
444 processPower += ratio * tmpCpuTime * powerCpuNormal[step];
    [all...]
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
AndroidCameraAgentImpl.java 730 * @param ratio Desired zoom ratio, in [1.0f,+Inf).
732 * @return Index of the closest corresponding ratio, rounded up toward
733 * that of the maximum available ratio.
735 private int zoomRatioToIndex(float ratio, List<Integer> percentages) {
736 int percent = (int) (ratio * AndroidCameraCapabilities.ZOOM_MULTIPLIER);
739 // Found the desired ratio in the supported list
    [all...]
  /frameworks/base/docs/html/guide/topics/graphics/
opengl.jd 291 implementation to create a projection matrix based on the screen's aspect ratio and apply it to the
298 // make adjustments for screen ratio
299 float ratio = (float) width / height;
302 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7); // apply the projection matrix
388 projection matrix based on the screen aspect ratio of the device.
400 float ratio = (float) width / height;
403 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
    [all...]
  /frameworks/base/libs/hwui/
SpotShadow.cpp 385 * @return float The ratio of (polygon.z / light.z - polygon.z)
438 // Ratio = (Poly - Outline) / (Light - Poly)
439 // Outline.x = Poly.x - Ratio * (Light.x - Poly.x)
440 // Outline's radius / Light's radius = Ratio
559 // The ratio can be simulated by using the inverse of maximum of ratioVI for
575 // maximum ratio.
762 // That distance ratio b/t Ui to U1 and Ui to U5 decides its paired penumbra
774 // and its ratio against the total length.
787 // Then for each unpaired umbra vertex, create a new penumbra by the ratio,
    [all...]
  /external/chromium_org/media/video/capture/mac/
video_capture_device_mac.mm 66 // Rescaling the image to fix the pixel aspect ratio runs the risk of making
67 // the aspect ratio worse, if QTKit selects a new source mode with a different
69 // aspect ratio is tolerable.
378 // to undesired aspect ratio changes. Try to open the camera with a known
503 "aspect ratio " << aspect_numerator << ":" << aspect_denominator;
  /external/chromium_org/ui/file_manager/gallery/js/image_editor/
image_transform.js 300 * Fixed aspect ratio.
301 * The aspect ratio is not fixed when null.
560 // Update aspect ratio.
586 * Forces the aspect ratio.
588 * @param {number} aspectRatio Aspect ratio.
  /external/e2fsprogs/misc/
mke2fs.8.in 345 Specify the bytes/inode ratio.
351 ratio, the fewer inodes will be created. This value generally shouldn't
354 possible to change this ratio on a filesystem after it is created, so be
356 a filesystem changes the numer of inodes to maintain this ratio.
502 ratio). This allows the user to specify the number
  /frameworks/av/media/libstagefright/
MediaCodecList.cpp 678 // size, blocks, bitrate, frame-rate, blocks-per-second, aspect-ratio: range
683 if (name == "aspect-ratio" || name == "bitrate" || name == "block-count"
719 if ((name == "aspect-ratio") ^ (found = msg->findString("in", &in_))) {
723 if (name == "aspect-ratio") {
727 in_.erase(5, 1); // (pixel|block)-aspect-ratio
  /frameworks/base/core/java/android/gesture/
GestureUtils.java 65 * The scaling does not necessarily keep the aspect ratio of the gesture.
84 * aspect ratio
298 float ratio = (increment - distanceSoFar) / distance; local
299 float nx = lstPointX + ratio * deltaX;
300 float ny = lstPointY + ratio * deltaY;
  /frameworks/base/core/java/android/widget/
VideoView.java 159 // for compatibility, we adjust size based on aspect ratio
168 // only the width is fixed, adjust the height to match aspect ratio if possible
172 // couldn't match aspect ratio within the constraints
176 // only the height is fixed, adjust the width to match aspect ratio if possible
180 // couldn't match aspect ratio within the constraints
    [all...]
  /frameworks/base/media/java/android/media/audiofx/
EnvironmentalReverb.java 72 * Decay HF ratio. Parameter ID for
225 * Sets the ratio of high frequency decay time (at 5 kHz) relative to the decay time at low
227 * @param decayHFRatio high frequency decay ratio using a permille scale. The valid range is
228 * [100, 2000]. A ratio of 1000 indicates that all frequencies decay at the same rate.
240 * Gets the ratio of high frequency decay time (at 5 kHz) relative to low frequencies.
  /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/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
WallpaperCropActivity.java 208 // As a ratio of screen height, the total distance we want the parallax effect to span
213 // At an aspect ratio of 16/10, the wallpaper parallax effect should span 1.5 * screen width
214 // At an aspect ratio of 10/16, the wallpaper parallax effect should span 1.2 * screen width
216 // to span (ie travel) at any aspect ratio:
224 // formulas, where the coefficient on x is the aspect ratio (width/height):
    [all...]
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/inc/
OMX_JpegEnc_Utils.h 526 OMX_U32 ulFrameZoomFactor[2]; /**< Zooming ratio value, where ulZoomFactor = (Desired Zoom Ratio * 1024). Set to 1024 if no zooming is desired. Set above 1024 to enable zooming. */
527 OMX_U32 ulFrameZoomLimit[2]; /**< Zooming ratio limit, where ulZoomLimit=(Desired Zoom Limit * 1024).*/
528 OMX_U32 ulFrameZoomSpeed[2]; /**< Speed of ratio change. Set to 0 to disable zoom variation. The variation speed is proportional to the value while the direction (in/out) is given by the sign.*/
530 OMX_U32 ulFrameEnableAspectRatioLock[2]; /**< Locked H/V ratio */
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
WallpaperCropActivity.java 208 // As a ratio of screen height, the total distance we want the parallax effect to span
213 // At an aspect ratio of 16/10, the wallpaper parallax effect should span 1.5 * screen width
214 // At an aspect ratio of 10/16, the wallpaper parallax effect should span 1.2 * screen width
216 // to span (ie travel) at any aspect ratio:
224 // formulas, where the coefficient on x is the aspect ratio (width/height):
    [all...]
  /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);
  /developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java 207 * In this sample, we choose a video size with 3x4 aspect ratio. Also, we don't use sizes larger
226 * ratio matches with the specified value.
231 * @param aspectRatio The aspect ratio
  /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java 207 * In this sample, we choose a video size with 3x4 aspect ratio. Also, we don't use sizes larger
226 * ratio matches with the specified value.
231 * @param aspectRatio The aspect ratio
  /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);
  /development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
Camera2VideoFragment.java 207 * In this sample, we choose a video size with 3x4 aspect ratio. Also, we don't use sizes larger
226 * ratio matches with the specified value.
231 * @param aspectRatio The aspect ratio

Completed in 2164 milliseconds

<<21222324252627282930>>