/external/chromium_org/content/renderer/ |
webscrollbarbehavior_impl_gtkoraura.cc | 28 // Constants used to figure the drag rect outside which we should snap the 42 // narrower scrollbar doesn't necessarily imply that users will drag
|
/external/chromium_org/native_client_sdk/src/resources/ |
index.css | 29 -webkit-app-region: drag; 43 -webkit-app-region: no-drag;
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
drag-image-no-crash.html | 56 <p>1. Drag this text 10 times: 76 " -webkit-user-drag: element;" +
|
/external/chromium_org/ui/views/controls/menu/ |
menu_controller.h | 57 // showing, selecting and drag/drop for menus. All relevant events are 97 // Whether or not drag operation is in progress. 100 // Whether the MenuController initiated the drag in progress. False if there 101 // is no drag in progress. 154 // Called by the Widget when a drag is about to start on a child view. This 159 // Called by the Widget when the drag has completed. |should_close| 408 // Starts/stops the timer cancel the menu. This is used during drag and 482 // that they react to click-drag-release as if the user clicked on the view 521 // drag and drop. Note that the semantics for drag and drop are slightl [all...] |
/external/chromium_org/ui/views/controls/scrollbar/ |
base_scroll_bar_thumb.h | 26 // drag to scroll the associated contents view within the viewport. 72 // View when the drag started.
|
/external/chromium_org/ui/views/touchui/ |
touch_selection_controller_impl_unittest.cc | 151 // Offset the drag position by the selection handle radius since it is 346 // Drag selection handle 2 to right by 3 chars. 353 // Drag selection handle 1 to the left by a large amount (selection should 359 // Drag selection handle 1 across selection handle 2. 365 // Drag selection handle 2 across selection handle 1. 386 // Drag selection handle 2 to right by 1 char. 393 // Drag selection handle 1 to left by 1 char. 404 // Drag selection handle 1 to right by 1 char. 410 // Drag selection handle 2 to left by 1 char. 429 // Drag selection handle 2 to left by 1 char [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
ListPopupWindowCompat.java | 74 * implement drag-to-open behavior. Generally, the source view should be the 93 * @return a touch listener that controls drag-to-open behavior, or null on
|
PopupMenuCompat.java | 73 * implement drag-to-open behavior. 86 * @return a touch listener that controls drag-to-open behavior, or null on
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
color1-expected-completion46b.txt | 17 android:state_drag_can_accept : State for StateListDrawable indicating that the Drawable is in a view that is capable of accepting a drop of the content currently being manipulated in a drag-and-drop operation. [boolean] 18 android:state_drag_hovered : State for StateListDrawable indicating that a drag operation (for which the Drawable's view is a valid recipient) is currently positioned over the Drawable. [boolean]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
FrameLayoutRuleTest.java | 47 // Drag point 58 // Without drag bounds we should just draw guide lines instead
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GestureManager.java | 59 * listens to the drag, mouse and keyboard systems to find out when to start 72 /** A listener for drag source events. */ 103 * scenarios (such as on a drag gesture) we don't get access to it. 113 * When we the drag leaves, we don't know if that's the last we'll see of 114 * this drag or if it's just temporarily outside the canvas and it will 190 * @param dragSource The drag source in the {@link LayoutCanvas} to listen 214 * @param dragSource The drag source in the {@link LayoutCanvas} to stop 483 // Mouse Up shouldn't be delivered in the middle of a drag & drop - 487 // the drag & drop operation, so ignore this event! 600 /** Listener for Drag & Drop events. * [all...] |
MoveGesture.java | 52 /** Overlay which paints the drag & drop feedback. */ 58 * The top view right under the drag'n'drop cursor. 59 * This can only be null during a drag'n'drop when there is no view under the cursor 66 * drag'n'drop that happens within the same instance of Eclipse. 68 * In the event that the drag and drop happens between different instances of Eclipse 76 * accept drag'n'drop so its parent layout became the target drag'n'drop receiver. 79 * This can be null if no view under the cursor accepted the drag'n'drop or if the node 109 /** Singleton used to keep track of drag selection in the same Eclipse instance. */ 132 // Hide selection overlays during a move drag [all...] |
/external/chromium_org/ash/wm/dock/ |
docked_window_resizer_unittest.cc | 152 resizer_->Drag(initial_location_in_parent_ + gfx::Vector2d(dx, dy), 0); 205 // Detach if our window is a panel, then drag it vertically by |dy| and 220 // Drag the window left or right to the edge (or almost to it). 254 // Location at start of the drag in |window->parent()|'s coordinates. 400 // Dock on the right side, try to undock, then drag more to really undock 564 // Drag up as well to avoid attaching panels to launcher shelf. 646 // Tests that reverting a drag restores docked state if a window was docked. 659 // Drag the window out but revert the drag 672 // Tests that reverting drag restores undocked state if a window was not docked [all...] |
dock_types.h | 27 DOCKED_ACTION_NONE, // Regular drag of undocked window. Not recorded.
|
/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...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
Session.java | 260 /* Drag/drop */ 271 Slog.d(WindowManagerService.TAG, "perform drag: win=" + window + " data=" + data); 276 Slog.w(WindowManagerService.TAG, "No drag prepared"); 281 Slog.w(WindowManagerService.TAG, "Performing mismatched drag"); 292 // the drag initiation (e.g. an alarm window popped up just as the application 301 // the actual drag event dispatch stuff in the dragstate 360 // Most likely the drop recipient ANRed and we ended the drag 362 Slog.w(WindowManagerService.TAG, "Drop result given but no drag in progress"); 367 // We're in a drag, but the wrong window has responded. 392 Slog.d(WindowManagerService.TAG, "Drag into new candidate view @ " + window.asBinder()) [all...] |
/external/chromium_org/ash/display/ |
shared_display_edge_indicator.h | 44 // |src_widget_| is for the display where drag starts and |dst_widget_| is
|
/external/chromium_org/ash/wm/ |
default_window_resizer.cc | 29 void DefaultWindowResizer::Drag(const gfx::Point& location, int event_flags) {
|
drag_window_resizer.cc | 29 // The maximum opacity of the drag phantom window. 72 void DragWindowResizer::Drag(const gfx::Point& location, int event_flags) { 74 next_window_resizer_->Drag(location, event_flags); 186 // Always show the drag phantom on the |another_root| window.
|
/external/chromium_org/ash/wm/panels/ |
panel_window_resizer_unittest.cc | 80 resizer_->Drag(CalculateDragPoint(*resizer_, dx, dy), 0); 103 // Drag the panel slightly. The window should still be snapped to the 109 // Drag further out and the window should now move to the cursor. 114 // The panel should be detached when the drag completes. 122 // Drag the panel down. 159 // Drag window #2 to the beginning of the shelf. 168 // Drag window #2 back to the end. 276 // Tests that a drag continues when the shelf is hidden. This occurs as part of 301 // When the drag ends the window should be detached and placed where it was 387 // Drag the window just above the other display's launcher [all...] |
/external/chromium_org/athena/wm/ |
title_drag_controller.cc | 19 // The minimum amount to drag to confirm a window switch at the end of the 76 // a previous drag. 82 // drag is already in progress (e.g. the user starts interacting with the 83 // window that is being revealed by the title-drag). Ignore these gesture
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_drag_drop_cocoa.mm | 33 // Make a drag image from the drop data. 43 // and a single drag image. 117 // Render the drag image. 139 // Allow nested message loop so we get DnD events as we drag this around.
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
clickhold_button_cell.h | 36 // Activate (click-hold) immediately on a sufficiently-large drag (if not,
|
draggable_button_mixin.mm | 12 // TODO(viettrungluu): Do we want common, standard code for drag hysteresis? 71 // There are non-drag cases where a |-mouseUp:| may happen (e.g. mouse-down, 172 // Determine whether a mouse down should turn into a drag; started as copy of 220 // It makes sense to put the first and last drag events and the mouse
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
ev_bubble_decoration.h | 15 // is used to fulfill drag-related calls.
|