HomeSort by relevance Sort by last modified time
    Searched defs:gesture (Results 26 - 50 of 65) sorted by null

12 3

  /external/chromium_org/ui/events/gesture_detection/
touch_disposition_gesture_filter.cc 14 // A BitSet32 is used for tracking dropped gesture types.
220 const GestureEventData& gesture = packet.gesture(i); local
221 DCHECK_GE(gesture.details.type(), ET_GESTURE_TYPE_START);
222 DCHECK_LE(gesture.details.type(), ET_GESTURE_TYPE_END);
223 if (state_.Filter(gesture.details.type())) {
228 // Sending a timed gesture could delete |this|, so we need to return
230 SendGesture(gesture, packet);
234 SendGesture(gesture, packet);
250 // TODO(jdduke): Factor out gesture stream reparation code into a standalon
    [all...]
gesture_provider_unittest.cc 137 virtual void OnGestureEvent(const GestureEventData& gesture) OVERRIDE {
138 if (gesture.type() == ET_GESTURE_SCROLL_BEGIN)
139 active_scroll_begin_event_.reset(new GestureEventData(gesture));
140 gestures_.push_back(gesture);
735 // Generate a scroll gesture and verify that the resulting scroll motion event
764 // Make sure the reported gesture event has all the expected details.
766 GestureEventData gesture = GetMostRecentGestureEvent(); local
767 EXPECT_EQ(ET_GESTURE_SCROLL_UPDATE, gesture.type());
768 EXPECT_EQ(event_time + kOneMicrosecond * 2, gesture.time);
769 EXPECT_EQ(kFakeCoordX - delta_x, gesture.x)
812 GestureEventData gesture = GetMostRecentGestureEvent(); local
1020 GestureEventData gesture = GetMostRecentGestureEvent(); local
    [all...]
  /frameworks/base/core/java/android/gesture/
Instance.java 17 package android.gesture;
66 * create a learning instance for a single stroke gesture
68 * @param gesture
72 static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String label) {
76 pts = temporalSampler(orientationType, gesture);
77 instance = new Instance(gesture.getID(), pts, label);
80 pts = spatialSampler(gesture);
81 instance = new Instance(gesture.getID(), pts, label);
86 private static float[] spatialSampler(Gesture gesture)
    [all...]
GestureStroke.java 17 package android.gesture;
30 * A gesture stroke started on a touch down and ended on a touch up. A stroke
31 * consists of a sequence of timed points. One or multiple strokes form a gesture.
45 * A constructor that constructs a gesture stroke from a list of gesture points.
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;
281 public Gesture getGesture() {
285 public void setGesture(Gesture gesture) {
291 mCurrentGesture = gesture;
464 // add the stroke to the current gesture
584 mCurrentGesture = new Gesture();
    [all...]
  /development/apps/GestureBuilder/src/com/android/gesture/builder/
GestureBuilderActivity.java 17 package com.android.gesture.builder;
30 import android.gesture.GestureLibrary;
31 import android.gesture.Gesture;
32 import android.gesture.GestureLibraries;
164 outState.putLong(GESTURES_INFO_ID, mCurrentRenameGesture.gesture.getID());
176 for (Gesture gesture : sStore.getGestures(name)) {
177 if (gesture.getID() == id) {
180 mCurrentRenameGesture.gesture = gesture
205 final NamedGesture gesture = (NamedGesture) menuInfo.targetView.getTag(); local
282 final NamedGesture gesture = adapter.getItem(i); local
404 Gesture gesture; field in class:GestureBuilderActivity.NamedGesture
427 final NamedGesture gesture = getItem(position); local
    [all...]
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStoreTest.java 16 package android.gesture.cts;
19 import android.gesture.Gesture;
20 import android.gesture.GestureStore;
21 import android.gesture.Prediction;
46 public void addGesture(String entryName, Gesture gesture) {
47 mGestureStore.addGesture(entryName, gesture);
54 public ArrayList<Gesture> getGestures(String entryName) {
66 public ArrayList<Prediction> recognize(Gesture gesture)
    [all...]
  /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/content/browser/renderer_host/input/
input_router_impl_perftest.cc 108 // TODO(jdduke): Use synthetic gesture pipeline, crbug.com/344598.
116 WebGestureEvent gesture; local
117 gesture.type = WebInputEvent::GestureScrollBegin;
118 gesture.x = origin.x();
119 gesture.y = origin.y();
120 gestures.push_back(gesture);
122 gesture.type = WebInputEvent::GestureScrollUpdate;
123 gesture.data.scrollUpdate.deltaX = delta.x();
124 gesture.data.scrollUpdate.deltaY = delta.y();
126 gesture.x += delta.x()
    [all...]
input_router_impl_unittest.cc 69 static WebGestureEvent gesture; local
70 event = &gesture;
210 void SimulateGestureEvent(const WebGestureEvent& gesture) {
212 GestureEventWithLatencyInfo(gesture, ui::LatencyInfo()));
796 // We test every gesture type, ensuring that the stream of gestures is valid.
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/notifications/
notifications_api.cc 160 EventRouter::UserGestureState gesture = variable
165 SendEvent(notifications::OnClosed::kEventName, gesture, args.Pass());
  /external/chromium_org/ash/touch/
touch_uma.cc 92 // multi-touch gesture on the window, then this is the release-time of the
117 const ui::GestureEvent& gesture = local
119 if (gesture.details().touch_points() == 1)
121 else if (gesture.details().touch_points() == 2)
123 else if (gesture.details().touch_points() == 3)
128 const ui::GestureEvent& gesture = local
130 int tap_count = gesture.details().tap_count();
153 const ui::GestureEvent& gesture = local
155 if (gesture.details().touch_points() >= 4)
157 else if (gesture.details().touch_points() == 3
166 const ui::GestureEvent& gesture = local
    [all...]
  /external/chromium_org/content/shell/renderer/test_runner/
TestPlugin.cpp 115 const WebGestureEvent& gesture = static_cast<const WebGestureEvent&>(event); local
117 snprintf(buffer, sizeof(buffer), "* %d, %d\n", gesture.x, gesture.y);
163 const CR_DEFINE_STATIC_LOCAL(WebString, kAttributePrintUserGestureStatus, ("print-user-gesture-status"));
634 m_delegate->printMessage(std::string("* ") + (WebUserGestureIndicator::isProcessingUserGesture() ? "" : "not ") + "handling user gesture\n");
  /external/chromium_org/ui/views/widget/
widget_interactive_uitest.cc 61 // A view that does a capture on gesture-begin events.
289 View* gesture = new GestureCaptureView; local
290 gesture->SetBounds(0, 0, 30, 30);
291 container->AddChildView(gesture);
300 // Start a gesture on |gesture|.
309 // Now try to click on |mouse|. Since |gesture| will have capture, |mouse|
326 // The end of the gesture should release the capture, and pressing on |mouse|
    [all...]
  /external/chromium_org/ui/views/controls/tree/
tree_view.cc 659 const ui::GestureEvent& gesture = local
661 should_toggle = gesture.details().tap_count() == 2;
  /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...]
  /frameworks/base/services/accessibility/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;
57 * <li>5. Two fingers moving in different directions are considered a multi-finger gesture.</li>
102 // The timeout after which we are no longer trying to detect a gesture
809 Gesture gesture = new Gesture(); local
    [all...]
  /external/chromium_org/content/browser/android/
content_view_core_impl.cc 147 NOTREACHED() << "Invalid source gesture type: "
581 const blink::WebGestureEvent& gesture = local
587 gesture.x * dpi_scale(),
588 gesture.y * dpi_scale());
    [all...]
  /external/chromium_org/content/browser/renderer_host/
render_widget_host_view_aura.cc 326 const ui::GestureEvent& gesture = local
328 return gesture.details().touch_points() == 1;
1989 blink::WebGestureEvent gesture = MakeWebGestureEvent(event); local
    [all...]
  /prebuilts/misc/common/ub-uiautomator/
ub-uiautomator.jar 
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 

Completed in 1681 milliseconds

12 3