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

1 2 3 4 5 6 7 891011>>

  /external/libcxx/test/utilities/time/time.duration/time.duration.cast/
duration_cast.pass.cpp 43 std::chrono::duration<double, std::ratio<3600> >(7265./3600));
44 test(std::chrono::duration<int, std::ratio<2, 3> >(9),
45 std::chrono::duration<int, std::ratio<3, 5> >(10));
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
CubeRenderer.java 94 float ratio = (float) width / height; local
97 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
  /frameworks/volley/tests/src/com/android/volley/toolbox/
ImageRequestTest.java 45 verifyResize(jpeg, 500, 500, 500, 244); // keep same ratio
47 // Specify only width, preserve aspect ratio
52 // Specify only height, preserve aspect ratio
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cast/
duration_cast.pass.cpp 43 std::chrono::duration<double, std::ratio<3600> >(7265./3600));
44 test(std::chrono::duration<int, std::ratio<2, 3> >(9),
45 std::chrono::duration<int, std::ratio<3, 5> >(10));
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
IconFactory.java 33 * otherwise, the source image is cropped to the proper aspect ratio.
63 * source image is cropped to the proper aspect ratio.
91 // crop image to aspect ratio iconWidth:iconHeight
  /packages/apps/InCallUI/src/com/android/incallui/
InCallCameraManager.java 50 * Aspect ratio of the front facing camera.
55 * Aspect ratio of the rear facing camera.
101 * Get the camera ID and aspect ratio for the front and rear cameras.
  /packages/apps/PhoneCommon/src/com/android/phone/common/util/
ViewUtil.java 100 float ratio = width / paint.measureText(textView.getText().toString()); local
101 if (ratio <= 1.0f) {
103 Math.max(minTextSize, originalTextSize * ratio));
  /external/chromium_org/cc/layers/
scrollbar_layer_impl_base.cc 132 bool ScrollbarLayerImplBase::SetVisibleToTotalLengthRatio(float ratio) {
136 if (visible_to_total_length_ratio_ == ratio)
138 visible_to_total_length_ratio_ = ratio;
170 // have to compute it. The ratio of the thumb's length to the track's length
223 float ratio = clamped_current_pos / maximum_; local
225 thumb_offset += static_cast<int>(ratio * max_offset);
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
GLCanvas.java 107 // from * (1 - ratio) + to * ratio
110 float ratio, int x, int y, int w, int h);
113 // rectangle. The actual color used is from * (1 - ratio) + to * ratio.
117 float ratio, RectF src, RectF target);
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLCanvas.java 109 // from * (1 - ratio) + to * ratio
112 float ratio, int x, int y, int w, int h);
115 // rectangle. The actual color used is from * (1 - ratio) + to * ratio.
119 float ratio, RectF src, RectF target);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
GLCanvas.java 107 // from * (1 - ratio) + to * ratio
110 float ratio, int x, int y, int w, int h);
113 // rectangle. The actual color used is from * (1 - ratio) + to * ratio.
117 float ratio, RectF src, RectF target);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/
ConfigMatchTest.java 100 null, // screen ratio
124 null, // screen ratio
148 null, // screen ratio
172 null, // screen ratio
196 "notlong", // screen ratio
228 "notlong", // screen ratio
  /external/chromium_org/ash/magnifier/
partial_magnification_controller.h 34 // Sets the magnification ratio. 1.0f means no magnification.
37 // Returns the current magnification ratio.
  /external/chromium_org/chrome/browser/resources/chromeos/first_run/
preload.css 13 @media all and (-webkit-max-device-pixel-ratio: 1.5) {
34 @media all and (-webkit-min-device-pixel-ratio: 1.5) {
  /external/chromium_org/media/base/
multi_channel_resampler.h 30 // ratio of input / output sample rates. |request_frames| is the size in
45 // Update ratio for all SincResamplers. SetRatio() will cause reconstruction
  /external/chromium_org/third_party/skia/experimental/Intersection/
Extrema.cpp 10 static int validUnitDivide(double numer, double denom, double* ratio)
22 *ratio = r;
  /external/skia/experimental/Intersection/
Extrema.cpp 10 static int validUnitDivide(double numer, double denom, double* ratio)
22 *ratio = r;
  /frameworks/base/location/java/android/location/
GpsSatellite.java 62 * Returns the signal to noise ratio for the satellite.
64 * @return the signal to noise ratio
  /packages/apps/Camera2/src/com/android/camera/ui/
PreviewStatusListener.java 63 * on the current aspect ratio, width and height of the TextureView.
84 * This listener gets notified when the preview aspect ratio is changed.
  /packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetProvider.java 96 float ratio = WidgetUtils.getScaleRatio(context, null, appWidgetId); local
98 WidgetUtils.setClockSize(context, widget, ratio);
140 float ratio = WidgetUtils.getScaleRatio(context, null, appWidgetId); local
141 updateClock(context, appWidgetManager, appWidgetId, ratio);
151 float ratio = WidgetUtils.getScaleRatio(context, newOptions, appWidgetId); local
153 updateClock(context, widgetManager, appWidgetId, ratio);
157 Context context, AppWidgetManager appWidgetManager, int appWidgetId, float ratio) {
172 WidgetUtils.setClockSize(context, widget, ratio);
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoSource.java 180 float ratio = (outsideRatio / insideRatio < mMaxCropRatio ? local
183 while (ratio < 0.5) {
185 ratio *= 2;
203 ratio = Math.max((float) longSide / (float) rawLongSide,
206 if (Math.abs(ratio - 1.0f) > 0.001) {
207 log(TAG, "still too big, scaling down by " + ratio);
208 options.outWidth = (int) (ratio * options.outWidth);
209 options.outHeight = (int) (ratio * options.outHeight);
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
DynamicsCompressorKernel.cpp 110 // Full compression curve with constant ratio after knee.
118 // Constant ratio after knee.
129 // This slope is equal to the inverse of the compression "ratio".
130 // In other words, a compression ratio of 20 would be a slope of 1/20.
178 float DynamicsCompressorKernel::updateStaticCurveParameters(float dbThreshold, float dbKnee, float ratio)
180 if (dbThreshold != m_dbThreshold || dbKnee != m_dbKnee || ratio != m_ratio) {
187 m_ratio = ratio;
209 float ratio,
229 float k = updateStaticCurveParameters(dbThreshold, dbKnee, ratio);
390 // This is linear up to the threshold, then enters a "knee" portion followed by the "ratio" portion
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
CaptureLayoutHelper.java 31 * and preview transform are: window size and preview aspect ratio. Once these two
48 /** Aspect ratio of preview. It could be 0, meaning match the screen aspect ratio,
102 * preview aspect ratio changes or main activity layout size changes.
130 * Returns the rect that preview should occupy based on aspect ratio. If not
233 * activity layout width, height and aspect ratio.
239 * @param previewAspectRatio aspect ratio of the preview
248 // If the aspect ratio is defined as fill the screen, then preview should
275 // Preview aspect ratio > screen aspect ratio: fit longer edge
    [all...]
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
HybridNonLinearSolver.h 108 Scalar ratio; member in class:Eigen::HybridNonLinearSolver
266 /* compute the ratio of the actual to the predicted reduction. */
267 ratio = 0.;
269 ratio = actred / prered;
272 if (ratio < Scalar(.1)) {
279 if (ratio >= Scalar(.5) || ncsuc > 1)
281 if (abs(ratio - 1.) <= Scalar(.1)) {
287 if (ratio >= Scalar(1e-4)) {
328 if (ratio >= Scalar(1e-4))
509 /* compute the ratio of the actual to the predicted reduction. *
    [all...]
  /cts/suite/audio_quality/test_description/processing/
check_spectrum.py 26 # check if amplitude ratio of DUT / Host signal
37 # calculated amplittude ratio in magnitude (DUT / Host)
62 print "Normialized ratio", amplitudeRatio
63 print "ratio mean for normalization", ratioMean

Completed in 1416 milliseconds

1 2 3 4 5 6 7 891011>>