/packages/apps/UnifiedEmail/res/raw/ |
template_conversation_upper.html | 5 data-zoom-on="maximum-scale=2" data-zoom-off="user-scalable=no" />
|
/external/autotest/frontend/client/src/autotest/public/ |
standard.css | 111 zoom: 1; 129 zoom: 1; 152 zoom: 1; 157 zoom: 1; 162 zoom: 1; 167 zoom: 1;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
CameraStressTest.java | 41 * - camera zoom 173 * Stress test iterating on the range of supported camera zoom levels 182 Log.v(TAG, "Device camera does not support zoom"); 183 fail("Camera zoom stress test failed due to unsupported feature"); 185 Log.v(TAG, "Device camera does support zoom"); 227 fail("Camera zoom stress test Exception");
|
/frameworks/base/docs/html/training/animation/ |
zoom.jd | 16 <a href="#setup">Set up the Zoom Animation</a> 19 <a href="#animate">Zoom the View</a> 35 This lesson demonstrates how to do a touch-to-zoom animation, which is useful for apps such as photo 38 <p>Here's what a touch-to-zoom animation looks like that 50 Zoom animation 58 Zoom example. See the following files for the code implementation: 77 to zoom. The following example creates an {@link android.widget.ImageButton} for clickable image thumbnail 104 screen. To achieve the "zoom" animation, this view's bounds are animated 119 Set up the Zoom Animation 122 Once you apply your layout, set up the event handlers that trigger the zoom animation [all...] |
index.jd | 76 <b><a href="zoom.html">Zooming a View</a></b> 79 Learn how to enlarge views with a touch-to-zoom animation.
|
/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/libexif/libexif/olympus/ |
mnote-olympus-tag.c | 64 {MNOTE_NIKON_TAG_DIGITALZOOM, "DigitalZoom", N_("Digital Zoom"), ""}, 101 {MNOTE_NIKON1_TAG_DIGITALZOOM, "DigitalZoom", N_("Digital Zoom"), ""}, 110 {MNOTE_OLYMPUS_TAG_DIGIZOOM, "DigiZoom", N_("Digital Zoom"), ""}, 136 {MNOTE_OLYMPUS_TAG_ZOOMSTEPCOUNT, "ZoomStepCount", N_("Zoom Step Count"), ""}, 151 {MNOTE_OLYMPUS_TAG_EXTERNALFLASHZOOM, "ExternalFlashZoom", N_("External Flash Zoom"), ""}, 179 {MNOTE_SANYO_TAG_OPTICALZOOM, "OpticalZoom", N_("Optical Zoom"), ""}, 180 {MNOTE_SANYO_TAG_DIGITALZOOM, "DigitalZoom", N_("Digital Zoom"), ""},
|
/external/chromium-trace/catapult/third_party/flot/ |
jquery.flot.navigate.min.js | 7 (function(a){function e(h){var k,j=this,l=h.data||{};if(l.elem)j=h.dragTarget=l.elem,h.dragProxy=d.proxy||j,h.cursorOffsetX=l.pageX-l.left,h.cursorOffsetY=l.pageY-l.top,h.offsetX=h.pageX-h.cursorOffsetX,h.offsetY=h.pageY-h.cursorOffsetY;else if(d.dragging||l.which>0&&h.which!=l.which||a(h.target).is(l.not))return;switch(h.type){case"mousedown":return a.extend(l,a(j).offset(),{elem:j,target:h.target,pageX:h.pageX,pageY:h.pageY}),b.add(document,"mousemove mouseup",e,l),i(j,!1),d.dragging=null,!1;case!d.dragging&&"mousemove":if(g(h.pageX-l.pageX)+g(h.pageY-l.pageY)<l.distance)break;h.target=l.target,k=f(h,"dragstart",j),k!==!1&&(d.dragging=j,d.proxy=h.dragProxy=a(k||j)[0]);case"mousemove":if(d.dragging){if(k=f(h,"drag",j),c.drop&&(c.drop.allowed=k!==!1,c.drop.handler(h)),k!==!1)break;h.type="mouseup"}case"mouseup":b.remove(document,"mousemove mouseup",e),d.dragging&&(c.drop&&c.drop.handler(h),f(h,"dragend",j)),i(j,!0),d.dragging=d.proxy=l.elem=!1}return!0}function f(b,c,d){b.type=c;var e=a.event.dispatch.call(d,b);return e===!1?!1:e||b.result}function g(a){return Math.pow(a,2)}function h(){return d.dragging===!1}function i(a,b){a&&(a.unselectable=b?"off":"on",a.onselectstart=function(){return b},a.style&&(a.style.MozUserSelect=b?"":"none"))}a.fn.drag=function(a,b,c){return b&&this.bind("dragstart",a),c&&this.bind("dragend",c),a?this.bind("drag",b?b:a):this.trigger("drag")};var b=a.event,c=b.special,d=c.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(c){c=a.extend({distance:d.distance,which:d.which,not:d.not},c||{}),c.distance=g(c.distance),b.add(this,"mousedown",e,c),this.attachEvent&&this.attachEvent("ondragstart",h)},teardown:function(){b.remove(this,"mousedown",e),this===d.dragging&&(d.dragging=d.proxy=!1),i(this,!0),this.detachEvent&&this.detachEvent("ondragstart",h)}};c.dragstart=c.dragend={setup:function(){},teardown:function(){}}})(jQuery);(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;void 0!==b.axis&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);void 0!==b.wheelDeltaY&&(g=b.wheelDeltaY/120);void 0!==b.wheelDeltaX&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,!1);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);(function($){var options={xaxis:{zoomRange:null,panRange:null},zoom:{interactive:false,trigger:"dblclick",amount:1.5},pan:{interactive:false,cursor:"move",frameRate:20}};function init(plot){function onZoomClick(e,zoomOut){var c=plot.offset();c.left=e.pageX-c.left;c.top=e.pageY-c.top;if(zoomOut)plot.zoomOut({center:c});else plot.zoom({center:c})}function onMouseWheel(e,delta){e.preventDefault();onZoomClick(e,delta<0);return false}var prevCursor="default",prevPageX=0,prevPageY=0,panTimeout=null;function onDragStart(e){if(e.which!=1)return false;var c=plot.getPlaceholder().css("cursor");if(c)prevCursor=c;plot.getPlaceholder().css("cursor",plot.getOptions().pan.cursor);prevPageX=e.pageX;prevPageY=e.pageY}function onDrag(e){var frameRate=plot.getOptions().pan.frameRate;if(panTimeout||!frameRate)return;panTimeout=setTimeout(function(){plot.pan({left:prevPageX-e.pageX,top:prevPageY-e.pageY});prevPageX=e.pageX;prevPageY=e.pageY;panTimeout=null},1/frameRate*1e3)}function onDragEnd(e){if(panTimeout){clearTimeout(panTimeout);panTimeout=null}plot.getPlaceholder().css("cursor",prevCursor);plot.pan({left:prevPageX-e.pageX,top:prevPageY-e.pageY})}function bindEvents(plot,eventHolder){var o=plot.getOptions();if(o.zoom.interactive){eventHolder[o.zoom.trigger](onZoomClick);eventHolder.mousewheel(onMouseWheel)}if(o.pan.interactive){eventHolder.bind("dragstart",{distance:10},onDragStart);eventHolder.bind("drag",onDrag);eventHolder.bind("dragend",onDragEnd)}}plot.zoomOut=function(args){if(!args)args={};if(!args.amount)args.amount=plot.getOptions().zoom.amount;args.amount=1/args.amount;plot.zoom(args)};plot.zoom=function(args){if(!args)args={};var c=args.center,amount=args.amount||plot.getOptions().zoom.amount,w=plot.width(),h=plot.height();if(!c)c={left:w/2,top:h/2};var xf=c.left/w,yf=c.top/h,minmax={x:{min:c.left-xf*w/amount,max:c.left+(1-xf)*w/amount},y:{min:c.top-yf*h/amount,max:c.top+(1-yf)*h/amount}};$.each(plot.getAxes(),function(_,axis){var opts=axis.options,min=minmax[axis.direction].min,max=minmax[axis.direction].max,zr=opts.zoomRange,pr=opts.panRange;if(zr===false)return;min=axis.c2p(min);max=axis.c2p(max);if(min>max){var tmp=min;min=max;max=tmp}if(pr){if(pr[0]!=null&&min<pr[0]){min=pr[0]}if(pr[1]!=null&&max>pr[1]){max=pr[1]}}var range=max-min;if(zr&&(zr[0]!=null&&range<zr[0]&&amount>1||zr[1]!=null&&range>zr[1]&&amount<1))return;opts.min=min;opts.max=max});plot.setupGrid();plot.draw();if(!args.preventEvent)plot.getPlaceholder().trigger("plotzoom",[plot,args])};plot.pan=function(args){var delta={x:+args.left,y:+args.top};if(isNaN(delta.x))delta.x=0;if(isNaN(delta.y))delta.y=0;$.each(plot.getAxes(),function(_,axis){var opts=axis.options,min,max,d=delta[axis.direction];min=axis.c2p(axis.p2c(axis.min)+d),max=axis.c2p(axis.p2c(axis.max)+d);var pr=opts.panRange;if(pr===false)return;if(pr){if(pr[0]!=null&&pr[0]>min){d=pr[0]-min;min+=d;max+=d}if(pr[1]!=null&&pr[1]<max){d=pr[1]-max;min+=d;max+=d}}opts.min=min;opts.max=max});plot.setupGrid();plot.draw();if(!args.preventEvent)plot.getPlaceholder().trigger("plotpan",[plot,args])};function shutdown(plot,eventHolder){eventHolder.unbind(plot.getOptions().zoom.trigger,onZoomClick);eventHolder.unbind("mousewheel",onMouseWheel);eventHolder.unbind("dragstart", (…)
|
/external/chromium-trace/catapult/tracing/tracing/ui/ |
timeline_display_transform_animations.html | 91 * here called the "focal point" in the same place under the zoom. If one 93 * keep the focal point from moving during the zoom, the pan needs to change 95 * point in addition to the amount by which to zoom. 102 * goalFocalPointXWorld should stay centered during the zoom. 103 * @param {Number} goalFocalPointY Where the panY should be when the zoom
|
/packages/apps/Camera2/src/com/android/camera/ |
CaptureModuleUI.java | 60 /** Maximum zoom; intialize to 1.0 (disabled) */ 63 /** Set up listener to receive zoom changes from View and send to module. */ 169 * Enables zoom UI, setting maximum zoom. 172 * @param maxZoom maximum zoom value.
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
BasicCameraFactory.java | 54 * <li>Zoom</li> 86 Observable<Float> zoom, 113 cameraCharacteristics.getSensorInfoActiveArraySize(), zoom); 124 // Resend the repeating preview request when the zoom or flash state 128 SafeCloseable zoomCallback = zoom.addCallback(mPreviewUpdater, MoreExecutors
|
/frameworks/base/core/java/android/widget/ |
ZoomControls.java | 65 * Sets how fast you get zoom events when the user holds down the 66 * zoom in/out buttons.
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
AndroidCameraSettings.java | 51 // Capture: Focus, flash, zoom, exposure, scene mode. 52 if (capabilities.supports(CameraCapabilities.Feature.ZOOM)) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
SpeechOrbView.java | 89 float zoom = 1f + (mSoundLevelMaxZoom - getFocusedZoom()) * mCurrentLevel / 100; local 91 scaleOrbViewOnly(zoom);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterTinyPlanetRepresentation.java | 73 public void setZoom(int zoom) { 74 setValue(zoom);
|
/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/skia/samplecode/ |
SampleFatBits.cpp | 84 void setWHZ(int width, int height, int zoom) { 87 fZoom = zoom; 88 fBounds.set(0, 0, SkIntToScalar(width * zoom), SkIntToScalar(height * zoom)); 89 fMatrix.setScale(SkIntToScalar(zoom), SkIntToScalar(zoom)); 90 fInverse.setScale(SK_Scalar1 / zoom, SK_Scalar1 / zoom); 92 0xFFCCCCCC, 0xFFFFFFFF, zoom)); 96 info = info.makeWH(width * zoom, height * zoom) [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
VPPTest.c | 497 int feature; /*Feature selected, only scaling, zoom, contrast, frosted glass effect, cropping, mirror and rotation*/ 612 case 1: /*On Demand Zoom */ 613 case 2: /*Dynamic Zoom */ 618 <Feature 1= On Demand/2=Dynamic> <On Demand Zoom/Dynamic Zoom> <Zoom Factor/Zoom Speed> <Zoom Limit>\n",argv[0]); 621 <Feature 1= On Demand/2=Dynamic> <On Demand Zoom/Dynamic Zoom> <Zoom Factor/Zoom Speed> <Zoom Limit>\n",argv[0]) [all...] |
/cts/apps/CameraITS/tests/scene1/ |
test_crop_region_raw.py | 51 zoom = min(3.0, its.objects.get_max_digital_zoom(props)) 52 assert(zoom >= 1) 53 cropw = aw / zoom 54 croph = ah / zoom
|
/development/samples/ApiDemos/res/anim/ |
zoom_enter.xml | 20 <!-- Special window zoom animation: this is the element that enters the screen,
|
zoom_exit.xml | 20 <!-- Special window zoom animation: this is the element that exits the
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
ImsStreamMediaSession.java | 23 * controlling the camera (front/rear selection, zoom, brightness, ...) for a video calling.
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
GenericOneCameraImpl.java | 72 Listenable<Boolean> readyStateListenable, float maxZoom, Updatable<Float> zoom, 86 mZoom = zoom; 181 public void setZoom(float zoom) { 182 mZoom.update(zoom);
|
/packages/apps/Camera2/src/com/android/camera/stats/ |
CaptureSessionStatsCollector.java | 96 * @param zoom value of the zoom on the camera request 110 final float zoom, 122 mZoom = zoom;
|
/packages/apps/Settings/res/values-land/ |
dimens.xml | 35 <!-- Display, Screen zoom -->
|