/external/skia/debugger/QT/ |
SkCanvasWidget.cpp | 87 zoom(event->delta() > 0 ? ZOOM_FACTOR : (1.0f / ZOOM_FACTOR), event->x(), event->y()); 99 void SkCanvasWidget::zoom(int zoomCommand) { function in class:SkCanvasWidget 100 zoom(kIn_ZoomCommand == zoomCommand ? ZOOM_FACTOR : (1.0f / ZOOM_FACTOR), 139 void SkCanvasWidget::zoom(float scale, int px, int py) { function in class:SkCanvasWidget
|
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
FilmstripController.java | 29 * <li>Zoom view</li> 30 * Zoom in to view the details of one single image. 37 * <li>full-screen --> zoom view</li> 38 * <li>zoom view --> full-screen</li> 246 * The callback when the item enters zoom view. 253 * Called when current item or zoom level has changed. 256 * @param zoom Zoom level. 258 public void onZoomAtIndexChanged(int dataId, float zoom);
|
/development/perftests/panorama/feature_stab/src/dbreg/ |
dbstabsmooth.h | 90 * Set the zoom factor value. 91 * \param zoom the value to set to 93 inline void setZoomFactor(float zoom) { f_zoom = zoom; } 105 * Returns the current zoom factor.
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/zoom/ |
background.js | 7 * listen for zoom change events.
|
popup.js | 9 * 1) Set the zoom for a tab using tabs.setZoom() 10 * 2) Read the current zoom of a tab using tabs.getZoom() 11 * 3) Set the zoom mode of a tab using tabs.setZoomSettings() 12 * 4) Read the current zoom mode of a tab using 15 * It also demonstrates using a zoom change listener to update the
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSValuePool.h | 56 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createValue(const Length& value, float zoom) { return CSSPrimitiveValue::create(value, zoom); }
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
SpeechOrbView.java | 77 float zoom = 1f + (mSoundLevelMaxZoom - getFocusedZoom()) * mCurrentLevel / 100; local 79 scaleOrbViewOnly(zoom);
|
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
dbstabsmooth.h | 90 * Set the zoom factor value. 91 * \param zoom the value to set to 93 inline void setZoomFactor(float zoom) { f_zoom = zoom; } 105 * Returns the current zoom factor.
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterTinyPlanetRepresentation.java | 73 public void setZoom(int zoom) { 74 setValue(zoom);
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
dbstabsmooth.h | 90 * Set the zoom factor value. 91 * \param zoom the value to set to 93 inline void setZoomFactor(float zoom) { f_zoom = zoom; } 105 * Returns the current zoom factor.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
ImageEditorPanel.java | 64 public void zoomChanged(int zoom) { 65 mImageViewer.setZoom(zoom);
|
/external/chromium_org/chrome/browser/resources/pdf/ |
pdf.js | 41 // of the pdf and zoom level. 95 zoom: 1, 105 $('zoom-in-button').addEventListener('click', 107 $('zoom-out-button').addEventListener('click', 115 // Set up the zoom API. 120 // If the zoom level is close enough to the current zoom level, don't 121 // change it. This avoids us getting into an infinite loop of zoom changes 124 var zoomDelta = Math.abs(this.viewport_.zoom - 126 // We should not change zoom level when we are responsible for initiatin [all...] |
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
viewport.js | 27 * Bounds of the image element on screen without zoom and offset. 34 * Bounds of the image with zoom and offset. 49 * not zoom operated by users. 56 * Zoom ratio specified by user operations. 97 * Zoom ratios. 123 * Sets zoom value directly. 124 * @param {number} zoom New zoom value. 126 Viewport.prototype.setZoom = function(zoom) { 129 var adjustedZoom = Math.max(zoomMin, Math.min(zoom, zoomMax)) [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
ScreenViewer.java | 68 private int zoom = 8; field in class:ScreenViewer 157 zoomSlider = buildSlider(panel, "Zoom:", "2x", "24x", 2, 24, 8, 2); 161 zoom = ((JSlider) event.getSource()).getValue(); 286 g2.scale(zoom, zoom); 303 grid = new BufferedImage(width + zoom + 1, height + zoom + 1, 318 width += zoom; 319 height += zoom; 321 for (int x = zoom; x <= width; x += zoom) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_drawpix.c | 265 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; local 284 if (zoom) { 311 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; local 321 && !zoom 341 && !zoom 391 if (zoom) { 416 const GLboolean zoom = ctx->Pixel.ZoomX!=1.0 || ctx->Pixel.ZoomY!=1.0; local 479 if (zoom) { 544 * and pixel zoom. 559 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0 local [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_drawpix.c | 265 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; local 284 if (zoom) { 311 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; local 321 && !zoom 341 && !zoom 391 if (zoom) { 416 const GLboolean zoom = ctx->Pixel.ZoomX!=1.0 || ctx->Pixel.ZoomY!=1.0; local 479 if (zoom) { 544 * and pixel zoom. 559 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0 local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorFrontendHost.cpp | 146 void InspectorFrontendHost::setZoomFactor(float zoom) 151 frame->setPageAndTextZoomFactors(zoom, 1); 221 float zoom = page->deprecatedLocalMainFrame()->pageZoomFactor(); local 222 page->inspectorController().showContextMenu(x * zoom, y * zoom, menuProvider);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGGraphicsElement.cpp | 132 float zoom = style->effectiveZoom(); local 135 // (which applies the zoom factor globally, at the root level) we 138 // * invert the zoom factor (to effectively compute the CSS transform under a 1.0 zoom) 142 if (zoom != 1) { 144 scaledBBox.scale(zoom); 145 transform.scale(1 / zoom); 147 transform.scale(zoom);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
PageScaleConstraintsSet.cpp | 170 if (description.zoom == -1) { 199 if (useWideViewport && (description.maxWidth.isAuto() || description.maxWidth.type() == ExtendToZoom) && description.zoom != 1.0f) { 203 const float nonWideScale = description.zoom < 1 && description.maxWidth.type() != DeviceWidth && description.maxWidth.type() != DeviceHeight ? -1 : oldInitialScale; 206 if (m_userAgentConstraints.initialScale != -1 && (description.maxWidth.type() == DeviceWidth || ((description.maxWidth.isAuto() || description.maxWidth.type() == ExtendToZoom) && description.zoom == -1))) { 211 if (description.zoom < 1) {
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
example.js | 74 // zoom slider 75 var zoom = message_event.data['value']; 76 document.getElementById('zoomRange').value = zoom;
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/ |
example.js | 74 // zoom slider 75 var zoom = message_event.data['value']; 76 document.getElementById('zoomRange').value = zoom;
|
/packages/apps/Camera2/src/com/android/camera/one/ |
OneCamera.java | 242 /** Zoom value. */ 243 public float zoom = 1f; field in class:OneCamera.PhotoCaptureParameters 366 * Get the maximum zoom value. 368 * @return A float number to represent the maximum zoom value(>= 1.0). 373 * This function sets the current zoom ratio value. 375 * The zoom range must be [1.0, maxZoom]. The maxZoom can be queried by 378 * @param zoom Zoom ratio value passed to scaler. 380 public void setZoom(float zoom);
|
AbstractOneCamera.java | 120 public void setZoom(float zoom) {
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
PreviewOverlay.java | 46 * will receive callbacks as the scaling happens, and a zoom UI will be hosted in 56 /** Minimum time between calls to zoom listener. */ 59 /** Next time zoom change should be sent to listener. */ 70 * This gets called when a zoom is detected and started. 75 * This gets called when zoom gesture has ended. 80 * This gets called when scale gesture changes the zoom value. 82 * @param ratio zoom ratio, [1.0f,maximum] 84 void onZoomValueChanged(float ratio); // only for immediate zoom 100 * This sets up the zoom listener and zoom related parameters whe [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkMagnifierImageFilter.cpp | 177 const GrMagnifierEffect& zoom = effect.cast<GrMagnifierEffect>(); local 178 pdman.set2f(fOffsetVar, zoom.x_offset(), zoom.y_offset()); 179 pdman.set2f(fInvZoomVar, zoom.x_inv_zoom(), zoom.y_inv_zoom()); 180 pdman.set2f(fInvInsetVar, zoom.x_inv_inset(), zoom.y_inv_inset());
|