/external/chromium_org/ash/touch/ |
touch_uma.cc | 79 // multi-touch gesture on the window, then this is the release-time of the 106 const ui::GestureEvent& gesture = local 108 if (gesture.details().touch_points() >= 4) 110 else if (gesture.details().touch_points() == 3) 112 else if (gesture.details().touch_points() == 2) 117 const ui::GestureEvent& gesture = local 119 int tap_count = gesture.details().tap_count(); 142 const ui::GestureEvent& gesture = local 144 if (gesture.details().touch_points() >= 4) 146 else if (gesture.details().touch_points() == 3 155 const ui::GestureEvent& gesture = local [all...] |
/external/chromium_org/content/renderer/ |
render_widget_fullscreen_pepper.cc | 66 WebMouseEvent WebMouseEventFromGestureEvent(const WebGestureEvent& gesture) { 69 switch (gesture.type) { 79 if (gesture.sourceDevice == WebGestureEvent::Touchscreen) { 80 // A scroll gesture on the touchscreen may end with a GestureScrollEnd 100 mouse.timeStampSeconds = gesture.timeStampSeconds; 101 mouse.modifiers = gesture.modifiers | WebInputEvent::LeftButtonDown; 106 mouse.x = gesture.x; 107 mouse.y = gesture.y; 108 mouse.windowX = gesture.globalX; 109 mouse.windowY = gesture.globalY [all...] |
/external/chromium_org/chrome/browser/resources/ |
gesture_config.js | 11 * A generic WebUI for configuring preference values used by Chrome's gesture 75 $('gesture-form').appendChild(section); 152 /** The title of the section for the gesture preferences. **/ 153 /** @const */ var GESTURE_TITLE = 'Gesture Configuration'; 155 /** Common prefix of gesture preferences. **/ 156 /** @const */ var GESTURE_PREFIX = 'gesture.'; 194 label: 'Maximum Separation for Gesture Touches', 344 label: 'Start overscroll gesture (horizontal; touchpad)', 349 label: 'Start overscroll gesture (horizontal; touchscreen)', 354 label: 'Start overscroll gesture (vertical)' [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
gesture_common.js | 5 // This file provides common functionality for synthetic gesture actions.
|
scroll.js | 38 // The page is scrolled down by a single scroll gesture.
|
/frameworks/base/core/java/android/gesture/ |
GestureLibraries.java | 17 package android.gesture; 20 import static android.gesture.GestureConstants.*; 82 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); 84 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); 98 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e); 100 Log.d(LOG_TAG, "Could not load the gesture library from " + mPath, e); 135 Log.d(LOG_TAG, "Could not load the gesture library from raw resource " +
|
Learner.java | 17 package android.gesture; 22 * The abstract class of a gesture learner
|
OrientedBoundingBox.java | 17 package android.gesture;
|
InstanceLearner.java | 17 package android.gesture;
|
GestureUtils.java | 17 package android.gesture; 27 import static android.gesture.GestureConstants.*; 30 * Utility functions for gesture processing & analysis, including methods for: 33 * boxes and gesture path lengths); 35 * <li>gesture similarity comparison (e.g., calculating Euclidean or Cosine 63 * Samples the gesture spatially by rendering the gesture into a 2D 64 * grayscale bitmap. Scales the gesture to fit the size of the bitmap. 65 * The scaling does not necessarily keep the aspect ratio of the gesture. 67 * @param gesture the gesture to be sample [all...] |
GestureOverlayView.java | 17 package android.gesture; 38 * A transparent overlay for gesture input that can be placed on top of other 104 // current gesture 105 private Gesture mCurrentGesture; 276 public Gesture getGesture() { 280 public void setGesture(Gesture gesture) { 286 mCurrentGesture = gesture; 459 // add the stroke to the current gesture 579 mCurrentGesture = new Gesture(); [all...] |
/external/chromium_org/ash/shelf/ |
shelf_layout_manager.cc | 391 // ShelfLayoutManager, Gesture dragging: 393 void ShelfLayoutManager::StartGestureDrag(const ui::GestureEvent& gesture) { 402 const ui::GestureEvent& gesture) { 404 gesture_drag_amount_ += horizontal ? gesture.details().scroll_y() : 405 gesture.details().scroll_x(); 411 if (horizontal && gesture.details().scroll_y() < 0) { 417 gesture.root_location().x() >= 426 void ShelfLayoutManager::CompleteGestureDrag(const ui::GestureEvent& gesture) { 429 if (gesture.type() == ui::ET_GESTURE_SCROLL_END) { 453 } else if (gesture.type() == ui::ET_SCROLL_FLING_START) [all...] |
shelf_layout_manager.h | 157 // Gesture dragging related functions: 158 void StartGestureDrag(const ui::GestureEvent& gesture); 163 // Returns DRAG_SHELF if the gesture should continue to drag the entire shelf. 164 // Returns DRAG_TRAY if the gesture can start dragging the tray-bubble from 166 DragState UpdateGestureDrag(const ui::GestureEvent& gesture); 167 void CompleteGestureDrag(const ui::GestureEvent& gesture); 289 // Updates the target bounds if a gesture-drag is in progress. This is only 376 // EventFilter used to detect when user issues a gesture on a bezel sensor. 381 // The shelf reacts to gesture-drags, and can be set to auto-hide for certain 384 // the present status of the gesture drag [all...] |
/external/chromium_org/content/browser/renderer_host/ |
render_widget_host_view_guest.cc | 581 ui::GestureEvent* gesture) { 588 if ((gesture->type() == ui::ET_GESTURE_PINCH_BEGIN || 589 gesture->type() == ui::ET_GESTURE_PINCH_UPDATE || 590 gesture->type() == ui::ET_GESTURE_PINCH_END) && 596 MakeWebGestureEventFromUIEvent(*gesture); 597 const gfx::Point& client_point = gesture->location(); 598 const gfx::Point& screen_point = gesture->location(); 609 CreateFlingCancelEvent(gesture->time_stamp().InSecondsF()));
|
/external/kernel-headers/original/linux/ |
kxtf9.h | 116 u8 gesture; member in struct:kxtf9_platform_data
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GestureManager.java | 66 /** The currently executing gesture, or null. */ 67 private Gesture mCurrentGesture; 75 /** Tooltip shown during the gesture, or null */ 103 * scenarios (such as on a drag gesture) we don't get access to it. 120 * current gesture as a {@link #mZombieGesture}, since the gesture is dead 122 * {@link DropTargetListener#dragEnter} before another gesture begins. 156 * Returns the current gesture, if one is in progress, and otherwise returns 159 * @return The current gesture or null. 161 public Gesture getCurrentGesture() 661 Gesture gesture = mCurrentGesture != null ? mCurrentGesture : mZombieGesture; local 675 Gesture gesture = mCurrentGesture != null ? mCurrentGesture : mZombieGesture; local [all...] |
/external/chromium_org/ui/keyboard/resources/ |
main.js | 63 // Prevents all default actions of touch. Keyboard should use its own gesture
|
/frameworks/base/services/java/com/android/server/accessibility/ |
TouchExplorer.java | 20 import android.gesture.Gesture; 21 import android.gesture.GestureLibraries; 22 import android.gesture.GestureLibrary; 23 import android.gesture.GesturePoint; 24 import android.gesture.GestureStore; 25 import android.gesture.GestureStroke; 26 import android.gesture.Prediction; 56 * <li>5. Two fingers moving in different directions are considered a multi-finger gesture.</li> 101 // The timeout after which we are no longer trying to detect a gesture 805 Gesture gesture = new Gesture(); local [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceRandom.java | 258 * @param gesture The gesture to perform. 261 private void generatePointerEvent(Random random, int gesture) { 275 if (gesture == GESTURE_DRAG) { 285 } else if (gesture == GESTURE_PINCH_OR_ZOOM) {
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
tabs_event_router.cc | 303 EventRouter::UserGestureState gesture = local 310 gesture); 314 gesture); 320 DispatchEvent(profile, tabs::OnActivated::kEventName, args.Pass(), gesture);
|
/external/chromium_org/win8/metro_driver/ |
chrome_app_view.h | 86 HRESULT OnEdgeGestureCompleted(winui::Input::IEdgeGesture* gesture,
|
/external/chromium_org/content/test/ |
test_render_view_host.cc | 46 params->gesture = NavigationGestureUser; 349 params.gesture = NavigationGestureUser;
|
/external/chromium_org/ui/aura/gestures/ |
gesture_recognizer_unittest.cc | 67 // A delegate that keeps track of gesture events. 202 virtual void OnGestureEvent(ui::GestureEvent* gesture) OVERRIDE { 203 events_.push_back(gesture->type()); 204 bounding_box_ = gesture->details().bounding_box(); 205 switch (gesture->type()) { 207 tap_location_ = gesture->location(); 208 tap_count_ = gesture->details().tap_count(); 225 scroll_begin_position_ = gesture->location(); 229 scroll_x_ += gesture->details().scroll_x(); 230 scroll_y_ += gesture->details().scroll_y() [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
TestPlugin.cpp | 126 const WebGestureEvent& gesture = static_cast<const WebGestureEvent&>(event); local 128 snprintf(buffer, sizeof(buffer), "* %d, %d\n", gesture.x, gesture.y); 173 static const WebString kAttributePrintUserGestureStatus = WebString::fromUTF8("print-user-gesture-status"); 543 m_delegate->printMessage(std::string("* ") + (WebUserGestureIndicator::isProcessingUserGesture() ? "" : "not ") + "handling user gesture\n");
|
/external/chromium_org/chrome/browser/resources/standalone/ |
standalone_hack.js | 180 // True if a gesture is occuring that should cause clicks to be swallowed 195 // outstanding gesture. Also, any multi-touch is a gesture that should
|