HomeSort by relevance Sort by last modified time
    Searched defs:drag (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/chromium_org/third_party/flot/
jquery.flot.navigate.min.js 6 The default behaviour is double click and scrollwheel up/down to zoom in, drag
30 "interactive" enables the built-in drag/click behaviour. If you enable
80 */// First two dependencies, jquery.event.drag.js and
84 jquery.event.drag.js ~ v1.5 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
86 */(function(e){function t(i){var l,h=this,p=i.data||{};if(p.elem)h=i.dragTarget=p.elem,i.dragProxy=a.proxy||h,i.cursorOffsetX=p.pageX-p.left,i.cursorOffsetY=p.pageY-p.top,i.offsetX=i.pageX-i.cursorOffsetX,i.offsetY=i.pageY-i.cursorOffsetY;else if(a.dragging||p.which>0&&i.which!=p.which||e(i.target).is(p.not))return;switch(i.type){case"mousedown":return e.extend(p,e(h).offset(),{elem:h,target:i.target,pageX:i.pageX,pageY:i.pageY}),o.add(document,"mousemove mouseup",t,p),s(h,!1),a.dragging=null,!1;case!a.dragging&&"mousemove":if(r(i.pageX-p.pageX)+r(i.pageY-p.pageY)<p.distance)break;i.target=p.target,l=n(i,"dragstart",h),l!==!1&&(a.dragging=h,a.proxy=i.dragProxy=e(l||h)[0]);case"mousemove":if(a.dragging){if(l=n(i,"drag",h),u.drop&&(u.drop.allowed=l!==!1,u.drop.handler(i)),l!==!1)break;i.type="mouseup"};case"mouseup":o.remove(document,"mousemove mouseup",t),a.dragging&&(u.drop&&u.drop.handler(i),n(i,"dragend",h)),s(h,!0),a.dragging=a.proxy=p.elem=!1}return!0}function n(t,n,r){t.type=n;var i=e.event.dispatch.call(r,t);return i===!1?!1:i||t.result}function r(e){return Math.pow(e,2)}function i(){return a.dragging===!1}function s(e,t){e&&(e.unselectable=t?"off":"on",e.onselectstart=function(){return t},e.style&&(e.style.MozUserSelect=t?"":"none"))}e.fn.drag=function(e,t,n){return t&&this.bind("dragstart",e),n&&this.bind("dragend",n),e?this.bind("drag",t?t:e):this.trigger("drag")};var o=e.event,u=o.special,a=u.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(n){n=e.extend({distance:a.distance,which:a.which,not:a.not},n||{}),n.distance=r(n.distance),o.add(this,"mousedown",t,n),this.attachEvent&&this.attachEvent("ondragstart",i)},teardown:function(){o.remove(this,"mousedown",t),this===a.dragging&&(a.dragging=a.proxy=!1),s(this,!0),this.detachEvent&&this.detachEvent("ondragstart",i)}};u.dragstart=u.dragend={setup:function(){},teardown:function(){}}})(jQuery),function(e){function t(t){var n=t||window.event,r=[].slice.call(arguments,1),i=0,s=0,o=0,t=e.event.fix(n);return t.type="mousewheel",n.wheelDelta&&(i=n.wheelDelta/120),n.detail&&(i=-n.detail/3),o=i,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(o=0,s=-1*i),void 0!==n.wheelDeltaY&&(o=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(s=-1*n.wheelDeltaX/120),r.unshift(t,i,s,o),(e.event.dispatch||e.event.handle).apply(this,r)}var n=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var r=n.length;r;)e.event.fixHooks[n[--r]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery),function(e){function n(t){function n(e,n){var r=t.offset();r.left=e.pageX-r.left,r.top=e.pageY-r.top,n?t.zoomOut({center:r}):t.zoom({center:r})}function r(e,t){return e.preventDefault(),n(e,t<0),!1}function a(e){if(e.which!=1)return!1;var n=t.getPlaceholder().css("cursor");n&&(i=n),t.getPlaceholder().css("cursor",t.getOptions().pan.cursor),s=e.pageX,o=e.pageY}function f(e){var n=t.getOptions().pan.frameRate;if(u||!n)return;u=setTimeout(function(){t.pan({left:s-e.pageX,top:o-e.pageY}),s=e.pageX,o=e.pageY,u=null},1/n*1e3)}function l(e){u&&(clearTimeout(u),u=null),t.getPlaceholder().css("cursor",i),t.pan({left:s-e.pageX,top:o-e.pageY})}function c(e,t){var i=e.getOptions();i.zoom.interactive&&(t[i.zoom.trigger](n),t.mousewheel(r)),i.pan.interactive&&(t.bind("dragstart",{distance:10},a),t.bind("drag",f),t.bind("dragend",l))}function h(e,t){t.unbind(e.getOptions().zoom.trigger,n),t.unbind("mousewh (…)
    [all...]
  /packages/apps/Music/src/com/android/music/
TouchInterceptor.java 332 mDragListener.drag(mDragPos, itemnum);
465 void drag(int from, int to); method in interface:TouchInterceptor.DragListener
  /external/droiddriver/src/com/google/android/droiddriver/actions/
SwipeAction.java 98 private final boolean drag; field in class:SwipeAction
106 * Defaults timeoutMillis to 1000 and no drag.
115 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis) {
116 this(direction, steps, drag, timeoutMillis, 0.1F, 0.1F, 0.1F, 0.1F);
124 * @param drag whether this is a drag
131 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis,
136 this.drag = drag;
195 if (drag) {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
VelocityTest.java 50 drag(vt, 100, 200, 100, 200, 10, t, 300); method
65 drag(vt, 100, 200, 100, 200, 15, t, 400, new AccelerateInterpolator()); method
76 drag(vt, 100, 200, 100, 200, 15, t, 400, new DecelerateInterpolator()); method
88 drag(vt, 100, 200, 200, 200, 15, t, 400); method
100 drag(vt, 200, 200, 100, 200, 15, t, 400); method
116 drag(vt, 100, 200, 100, 200, 2, t, 100); method
131 drag(vt, 100, 200, 100, 200, 10, t, 400); // 10 steps over 400ms method
136 drag(vt, 100, 200, 100, 200, 20, t, 400); // 20 steps over 400ms method
153 drag(vt, 100, 200, 100, 200, 10, t, 400); method
158 drag(vt, 100, 200, 100, 200, 10, t + 3600*1000, 400); // on hour late method
175 drag(vt, 100, 200, 100, 200, 10, t, 400); method
180 drag(vt, 200, 300, 200, 300, 10, t, 400); \/\/ 100px further method
197 drag(vt, 100, 200, 100, 200, 10, t, 300); method
216 drag(vt, 100, 200, 100, 200, 10, t, 300); method
232 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, method in class:VelocityTest
234 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); method
241 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, method in class:VelocityTest
    [all...]
  /frameworks/base/test-runner/src/android/test/
TouchUtils.java 64 drag(test, x, x, fromY, toY, 4); method
94 drag(test, x, x, fromY, toY, 4); method
197 * @param stepCount How many move steps to include in the drag
215 * @param stepCount How many move steps to include in the drag
231 drag(test, x, x, fromY, toY, stepCount); method
435 * @param stepCount How many move steps to include in the drag
461 * @param stepCount How many move steps to include in the drag
474 drag(test, x, x, fromY, toY, stepCount); method
526 * @param deltaX Amount to drag horizontally in pixels
527 * @param deltaY Amount to drag vertically in pixel
569 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); method
621 drag(test, fromX, toX, fromY, toY, distance); method
668 drag(test, fromX, toX, fromY, fromY, deltaX); method
715 drag(test, fromX, fromX, fromY, toY, deltaY); method
736 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, method in class:TouchUtils
738 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); method
751 public static void drag(InstrumentationTestCase test, float fromX, float toX, float fromY, method in class:TouchUtils
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
popup.js 203 item.drag();
453 DownloadItem.prototype.drag = function() {
454 chrome.downloads.drag(this.id);
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
UiDevice.java 448 public boolean drag(int startX, int startY, int endX, int endY, int steps) { method in class:UiDevice
  /external/chromium_org/third_party/d3/src/
d3.js     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ExpandHelper.java 193 float drag = mSGD.getFocusY() - mInitialTouchFocusY; local
194 drag *= USE_DRAG ? 1f : 0f;
195 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f;
196 float pull = Math.abs(drag) + Math.abs(span) + 1f;
197 float hand = drag * Math.abs(drag) / pull + span * Math.abs(span) / pull;
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
RecyclerViewLayoutTest.java 233 public void scrollInOtherOrientationTest(final boolean horizontal, final boolean drag)
275 if (drag) {
686 drag(mRecyclerView, 0, 0, 0, 500, 5); method
692 public void drag(ViewGroup view, float fromX, float toX, float fromY, float toY, method in class:RecyclerViewLayoutTest
    [all...]
  /prebuilts/sdk/18/
uiautomator.jar 
  /prebuilts/sdk/19/
uiautomator.jar 
  /prebuilts/sdk/20/
uiautomator.jar 
  /prebuilts/sdk/21/
uiautomator.jar 
  /prebuilts/sdk/current/
uiautomator.jar 
  /prebuilts/devtools/tools/lib/
chimpchat.jar 
monkeyrunner.jar 
  /prebuilts/misc/common/power-helper/
PowerTestHelper.jar 
  /prebuilts/misc/common/ub-uiautomator/
ub-uiautomator.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ui.workbench_3.6.1.M20101117-0800.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar 
  /prebuilts/tools/common/m2/repository/com/android/external/eclipse/swt/3.5.0/
swt-3.5.0.jar 
  /prebuilts/tools/darwin-x86/swt/
swt.jar 
  /prebuilts/tools/darwin-x86_64/swt/
swt.jar 
  /prebuilts/tools/linux-x86/swt/
swt.jar 

Completed in 1280 milliseconds

1 2 3