HomeSort by relevance Sort by last modified time
    Searched full:touches (Results 1 - 25 of 504) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tests/RenderScriptTests/HelloWorld/
_index.html 1 <p>A Renderscript graphics application that draws the text "Hello, World!" where the user touches.</p
  /external/chromium_org/content/common/input/
web_input_event_traits_unittest.cc 60 // Touches of different types won't coalesce.
69 touch0.touches[0].id = 7;
73 touch0.touches[0].id = 1;
74 touch1.touches[0].id = 0;
85 touch0.touches[0] = touch1.touches[1] =
87 touch0.touches[1] = touch1.touches[0] =
94 touch0.touches[0] = touch1.touches[1]
    [all...]
web_touch_event_traits.h 17 // Returns whether all touches in the event have the specified state.
22 // touches to some active touches (the start of a new "touch sequence").
26 // touches to no active touches (the end of a "touch sequence").
35 // Like ResetType but also resets the state of all active touches
37 // in sending a touchcancel for all active touches.
synthetic_web_input_event_builders.cc 157 if (touches[i].state == WebTouchPoint::StateReleased)
160 touches[point] = touches[i];
161 touches[point].state = WebTouchPoint::StateStationary;
171 WebTouchPoint& point = touches[touchesLength];
185 WebTouchPoint& point = touches[index];
188 touches[index].state = WebTouchPoint::StateMoved;
195 touches[index].state = WebTouchPoint::StateReleased;
202 touches[index].state = WebTouchPoint::StateCancelled;
web_touch_event_traits.cc 21 if (event.touches[i].state != state)
41 if (event.touches[i].state != blink::WebTouchPoint::StateReleased &&
42 event.touches[i].state != blink::WebTouchPoint::StateCancelled)
81 event->touches[i].state = newState;
touch_event_stream_validator.cc 19 if (event.touches[i].id == id)
20 return &event.touches[i];
57 const WebTouchPoint& previous_point = previous_event.touches[i];
69 const WebTouchPoint& point = event.touches[i];
  /external/chromium_org/content/renderer/pepper/
event_conversion_unittest.cc 23 if (actual.touches[j].id == expected.touches[i].id)
27 EXPECT_EQ(expected.touches[i].id, actual.touches[j].id);
28 EXPECT_EQ(expected.touches[i].state, actual.touches[j].state);
29 EXPECT_EQ(expected.touches[i].position.x, actual.touches[j].position.x);
30 EXPECT_EQ(expected.touches[i].position.y, actual.touches[j].position.y)
    [all...]
  /external/chromium_org/content/browser/renderer_host/input/
input_router_impl_perftest.cc 136 typedef std::vector<WebTouchEvent> Touches;
137 Touches BuildTouchSequence(size_t steps,
140 Touches touches; local
146 touch.touches[0].id = 0;
147 touch.touches[0].state = WebTouchPoint::StatePressed;
148 touch.touches[0].position.x = origin.x();
149 touch.touches[0].position.y = origin.y();
150 touch.touches[0].screenPosition.x = origin.x();
151 touch.touches[0].screenPosition.y = origin.y()
309 Touches touches = BuildTouchSequence(steps, origin, distance); local
    [all...]
motion_event_web.cc 54 if (event.touches[i].state != WebTouchPoint::StateUndefined &&
55 event.touches[i].state != WebTouchPoint::StateStationary)
86 return event_.touches[pointer_index].id;
91 return event_.touches[pointer_index].position.x;
96 return event_.touches[pointer_index].position.y;
101 return event_.touches[pointer_index].screenPosition.x;
106 return event_.touches[pointer_index].screenPosition.y;
111 return 2.f * std::max(event_.touches[pointer_index].radiusX,
112 event_.touches[pointer_index].radiusY);
117 return 2.f * std::min(event_.touches[pointer_index].radiusX
    [all...]
  /external/chromium_org/third_party/skia/experimental/iOSSampleApp/Shared/
SkUIView.mm 56 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
57 for (UITouch *touch in touches) {
63 - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
64 for (UITouch *touch in touches) {
70 - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
71 for (UITouch *touch in touches) {
77 - (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event {
78 for (UITouch *touch in touches) {
  /external/chromium_org/tools/gyp/test/mac/postbuild-static-library/
test.gyp 12 'postbuild_name': 'Postbuild that touches a file',
26 'postbuild_name': 'Postbuild that touches a file',
  /external/skia/experimental/iOSSampleApp/Shared/
SkUIView.mm 56 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
57 for (UITouch *touch in touches) {
63 - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
64 for (UITouch *touch in touches) {
70 - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
71 for (UITouch *touch in touches) {
77 - (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event {
78 for (UITouch *touch in touches) {
  /development/samples/browseable/BasicMultitouch/
_index.jd 7 This samples demonstrates the use of MotionEvent properties to keep track of individual touches
  /external/chromium_org/tools/gyp/test/mac/rebuild/
test.gyp 31 'postbuild_name': 'Postbuild that touches the app binary',
48 'postbuild_name': 'Postbuild that touches the framework binary',
  /external/chromium_org/third_party/WebKit/Source/core/dom/
TouchList.h 45 static PassRefPtrWillBeRawPtr<TouchList> adopt(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches)
47 return adoptRefWillBeNoop(new TouchList(touches));
62 TouchList(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches)
64 m_values.swap(touches);
  /external/chromium_org/third_party/WebKit/Source/core/events/
TouchEvent.h 45 static PassRefPtrWillBeRawPtr<TouchEvent> create(TouchList* touches,
50 return adoptRefWillBeNoop(new TouchEvent(touches, targetTouches, changedTouches, type, view,
54 void initTouchEvent(TouchList* touches, TouchList* targetTouches,
60 TouchList* touches() const { return m_touches.get(); } function in class:blink::FINAL
64 void setTouches(PassRefPtrWillBeRawPtr<TouchList> touches) { m_touches = touches; }
78 TouchEvent(TouchList* touches, TouchList* targetTouches,
TouchEvent.cpp 42 TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches,
48 , m_touches(touches)
58 void TouchEvent::initTouchEvent(TouchList* touches, TouchList* targetTouches,
73 m_touches = touches;
TouchEvent.idl 26 readonly attribute TouchList touches;
34 void initTouchEvent([Default=Undefined] optional TouchList touches,
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebInputEventConversionTest.cpp 137 EXPECT_EQ(WebTouchPoint::StatePressed, webTouchBuilder.touches[0].state);
138 EXPECT_FLOAT_EQ(p0.screenPosition.x, webTouchBuilder.touches[0].screenPosition.x);
139 EXPECT_FLOAT_EQ(p0.screenPosition.y, webTouchBuilder.touches[0].screenPosition.y);
140 EXPECT_FLOAT_EQ(p0.position.x, webTouchBuilder.touches[0].position.x);
141 EXPECT_FLOAT_EQ(p0.position.y, webTouchBuilder.touches[0].position.y);
142 EXPECT_FLOAT_EQ(p0.radiusX, webTouchBuilder.touches[0].radiusX);
143 EXPECT_FLOAT_EQ(p0.radiusY, webTouchBuilder.touches[0].radiusY);
144 EXPECT_FLOAT_EQ(p0.rotationAngle, webTouchBuilder.touches[0].rotationAngle);
145 EXPECT_FLOAT_EQ(p0.force, webTouchBuilder.touches[0].force);
160 EXPECT_EQ(WebTouchPoint::StateMoved, webTouchBuilder.touches[0].state)
    [all...]
  /developers/samples/android/input/multitouch/BasicMultitouch/
template-params.xml 31 This sample demonstrates the use of MotionEvent properties to keep track of individual touches
51 <img>screenshots/touches.png</img>
59 individual touches across multiple touch events.
67 This is an example of keeping track of individual touches across multiple
  /frameworks/base/core/tests/coretests/src/android/util/
TouchModeFlexibleAsserts.java 27 * are more flexible (allowing up to MAX_ATTEMPTS touches to enter touch mode via touch or
45 //Assert.assertEquals("number of touches to enter touch mode", 1, numAttemptsAtTouchMode);
57 //Assert.assertEquals("number of touches to enter touch mode", 1, numAttemptsAtTouchMode);
  /development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
CardFlipListener.java 21 * These callback methods are used to disable and re-enable touches when a card
  /external/chromium_org/third_party/skia/tests/
PathOpsBoundsTest.cpp 55 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); local
56 REPORTER_ASSERT(reporter, touches);
63 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); local
64 REPORTER_ASSERT(reporter, !touches);
  /external/compiler-rt/test/tsan/
aligned_vs_unaligned_race.cc 3 // touches the same memory region.
  /external/skia/tests/
PathOpsBoundsTest.cpp 55 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); local
56 REPORTER_ASSERT(reporter, touches);
63 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); local
64 REPORTER_ASSERT(reporter, !touches);

Completed in 1287 milliseconds

1 2 3 4 5 6 7 8 91011>>