/external/opencv/cxcore/src/ |
cxmean.cpp | 161 double scale = pix ? 1./pix : 0 165 mean[0] = scale*(double)tmp##0 169 double t0 = scale*(double)tmp##0; \ 170 double t1 = scale*(double)tmp##1; \ 176 double t0 = scale*(double)tmp##0; \ 177 double t1 = scale*(double)tmp##1; \ 178 double t2 = scale*(double)tmp##2; \ 185 double t0 = scale*(double)tmp##0; \ 186 double t1 = scale*(double)tmp##1; \ 189 t0 = scale*(double)tmp##2; 395 double scale; local [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 249 // Get the scale factor out of the matrix. 271 float scale = Math.min(widthScale, heightScale); local 274 matrix.postScale(scale, scale); 277 (viewWidth - w * scale) / 2F, 278 (viewHeight - h * scale) / 2F); 292 // Sets the maximum zoom, which is a scale relative to the base matrix. It 307 protected void zoomTo(float scale, float centerX, float centerY) { 308 if (scale > mMaxZoom) { 309 scale = mMaxZoom [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Utilities.java | 138 // Scale the icon proportionally to the icon dimensions 214 * this scale factor is assumed to be equal in X and Y, and so if at any point this 215 * assumption fails, we will need to return a pair of scale factors. 230 float scale = 1.0f; local 244 scale *= v0.getScaleX(); 249 return scale; 268 float scale = 1.0f; local 283 scale *= next.getScaleX(); 289 return scale; 315 public static void scaleRect(Rect r, float scale) { [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_extensions.py | 86 def check_positions(scale, scale_pos, label, label_pos): 87 self.assertEqual(scale.pack_info()['side'], scale_pos) 90 check_positions(x.scale, 'bottom', x.label, 'n') 93 check_positions(x.scale, 'top', x.label, 's') 96 check_positions(x.scale, 'top', x.label, 's') 99 check_positions(x.scale, 'bottom', x.label, 'n') 113 prev_xcoord = lscale.scale.coords()[0] 116 # the scale widget, since 0 is at the middle of the new 118 lscale.scale.configure(from_=-5, to=5) 122 curr_xcoord = lscale.scale.coords()[0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_extensions.py | 86 def check_positions(scale, scale_pos, label, label_pos): 87 self.assertEqual(scale.pack_info()['side'], scale_pos) 90 check_positions(x.scale, 'bottom', x.label, 'n') 93 check_positions(x.scale, 'top', x.label, 's') 96 check_positions(x.scale, 'top', x.label, 's') 99 check_positions(x.scale, 'bottom', x.label, 'n') 113 prev_xcoord = lscale.scale.coords()[0] 116 # the scale widget, since 0 is at the middle of the new 118 lscale.scale.configure(from_=-5, to=5) 122 curr_xcoord = lscale.scale.coords()[0 [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageShow.java | 115 SCALE, 425 canvas.scale(maskScale, maskScale); 439 canvas.scale(finalScale, finalScale, centerX, centerY); 455 canvas.scale(1, master.getAnimRotationValue(), centerX, centerY); 457 canvas.scale(1, master.getAnimRotationValue(), centerX, centerY); 459 canvas.scale(master.getAnimRotationValue(), 1, centerX, centerY); 461 canvas.scale(master.getAnimRotationValue(), 1, centerX, centerY); 465 canvas.scale(master.getAnimRotationValue(), 1, centerX, centerY); 467 canvas.scale(master.getAnimRotationValue(), 1, centerX, centerY); 469 canvas.scale(1, master.getAnimRotationValue(), centerX, centerY) 492 float scale = GeometryMathUtils.scale(imageWidth, imageHeight, local 743 float scale = 1.0f; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
FaceView.java | 78 float scale = Math.min((float) getWidth() / mPicWidth, (float) getHeight() / mPicHeight); local 80 scaledRect.scale(scale); 85 float centerX = eyesMP.x * scale; 86 float centerY = eyesMP.y * scale; 87 float eyesDistance = face.eyesDistance() * scale;
|
/external/chromium_org/ash/wm/ |
image_cursors.cc | 122 void ImageCursors::SetScale(float scale) { 123 if (scale < FLT_EPSILON) { 124 NOTREACHED() << "Scale must be bigger than 0."; 125 scale = 1.0f; 128 scale_ = scale; 131 cursor_loader_->set_scale(scale);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_texture.c | 52 /* Compute sc = +/-scale and tc = +/-scale. 54 * though that can still sometimes happen with this scale factor... 56 const float scale = 0.9999f; local 57 const float sc = (2 * in_st[0] - 1) * scale; 58 const float tc = (2 * in_st[1] - 1) * scale;
|
/external/chromium_org/ui/webui/resources/css/ |
dialogs.css | 41 -webkit-transform: scale(1); 44 -webkit-transform: scale(1.02); 47 -webkit-transform: scale(1.02); 50 -webkit-transform: scale(1); 62 -webkit-transform: perspective(500px) scale(1) 68 -webkit-transform: perspective(500px) scale(0.99)
|
/external/libvpx/libvpx/vpx_scale/generic/ |
vpx_scale.c | 14 * Module Title : scale.c 47 * unsigned int source_scale : Scale for source (UNUSED). 51 * unsigned int dest_scale : Scale for destination (UNUSED). 101 * unsigned int source_scale : Scale for source (UNUSED). 105 * unsigned int dest_scale : Scale for destination (UNUSED). 147 * unsigned int source_scale : Scale for source. 151 * unsigned int dest_scale : Scale for destination. 218 * unsigned int hscale : Horizontal scale factor numerator. 219 * unsigned int hratio : Horizontal scale factor denominator. 220 * unsigned int vscale : Vertical scale factor numerator [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_texture.c | 52 /* Compute sc = +/-scale and tc = +/-scale. 54 * though that can still sometimes happen with this scale factor... 56 const float scale = 0.9999f; local 57 const float sc = (2 * in_st[0] - 1) * scale; 58 const float tc = (2 * in_st[1] - 1) * scale;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ScaledTextActivity.java | 75 public void setTextScale(float scale) { 76 mScale = scale; 105 canvas.scale(3.0f, 3.0f); 120 canvas.scale(mScale, mScale); 126 canvas.scale(3.0f, 3.0f); 136 canvas.scale(3.0f, 3.0f);
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Vector2D.cpp | 41 void Vector2D::scale(float s) { function in class:Vector2D 55 scale(1 / m); 62 scale(max);
|
/external/chromium_org/chrome/browser/chromeos/accessibility/ |
magnification_manager.h | 48 // Saves the magnifier scale to the pref. 49 virtual void SaveScreenMagnifierScale(double scale) = 0; 51 // Loads the magnifier scale from the pref.
|
/external/chromium_org/chrome/browser/favicon/ |
favicon_util.h | 23 // Returns the scale factors at which favicons should be fetched. This is 27 // receive a favicon (potentially of the wrong scale factor) and do not show 37 // a favicon of size favicon_size (in DIPs) at the desired ui scale factors.
|
/external/chromium_org/ppapi/api/dev/ |
ppb_view_dev.idl | 17 * GetDeviceScale returns the scale factor between device pixels and DIPs 23 * one DIP might not equal one CSS pixel - when page scale/zoom is in effect. 34 * GetCSSScale returns the scale factor between DIPs and CSS pixels. This
|
/external/chromium_org/ppapi/c/dev/ |
ppb_view_dev.h | 30 * GetDeviceScale returns the scale factor between device pixels and DIPs 36 * one DIP might not equal one CSS pixel - when page scale/zoom is in effect. 46 * GetCSSScale returns the scale factor between DIPs and CSS pixels. This
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
SVGImageForContainer.cpp | 34 scaledContainerSize.scale(m_zoom); 44 void SVGImageForContainer::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, 47 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode);
|
/external/chromium_org/tools/trace/ |
trace.html | 102 var scale = 100000; 149 scale = Math.floor(trace_total_time / (outer.offsetWidth - (row_height * 2))); 172 var step_ms = Math.floor(scale / 10); // ms per 100px 177 var x = Math.floor(i * 1000 / scale); 192 var left = row_height + Math.floor(start_time / scale); 193 var width = Math.floor(e.duration / scale); 243 scale = Math.floor(scale * factor); 245 scale = Math.floor(scale / factor) [all...] |
/external/chromium_org/ui/base/win/ |
dpi.h | 17 // Gets the scale factor of the display. For example, if the display DPI is 18 // 96 then the scale factor is 1.0. 49 // Returns the scale factor of the display, where 96 DPI is 1.0.
|
/external/chromium_org/ui/gfx/ |
display_unittest.cc | 32 TEST(DisplayTest, Scale) { 38 // Scale it back to 2x 43 // Scale it back to 1x
|
/external/chromium_org/ui/gfx/image/ |
image_skia_rep.h | 15 // An ImageSkiaRep represents a bitmap and the scale factor it is intended for. 26 // Creates a bitmap with given scale factor. 44 // Retrieves the scale that the bitmap will be painted at.
|
/external/jpeg/ |
djpeg.1 | 58 Force gray-scale output even if JPEG file is color. Useful for viewing on 63 .BI \-scale " M/N" 64 Scale the output image by a factor M/N. Currently the scale factor must be 76 is specified, or if the JPEG file is gray-scale; otherwise, 24-bit full-color 90 is specified, or if the JPEG file is gray-scale; otherwise, 24-bit full-color 95 PGM is emitted if the JPEG file is gray-scale or if 103 Select Targa output format. Gray-scale format is emitted if the JPEG file is 104 gray-scale or if 162 Also, the one-pass method is always used for gray-scale output (the two-pas [all...] |
/external/pixman/demos/ |
Makefile.am | 29 scale 31 EXTRA_DIST = parrot.c parrot.jpg scale.ui 48 scale_SOURCES = scale.c $(GTK_UTILS)
|