/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 138 touch("file1", HOUR_IN_MILLIS); in testDeleteOlderTypical() 139 touch("file2", 1 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 140 touch("file3", 2 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 141 touch("file4", 3 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 142 touch("file5", 4 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 148 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture() 149 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture() 150 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture() 154 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture() 155 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture() [all …]
|
/frameworks/base/docs/html/training/gestures/ |
D | viewgroup.jd | 31 … <li>Design Guide for <a href="{@docRoot}design/style/touch-feedback.html">Touch Feedback</a></li> 46 <p>Handling touch events in a {@link android.view.ViewGroup} takes special care, 48 are targets for different touch events than the {@link android.view.ViewGroup} 49 itself. To make sure that each view correctly receives the touch events intended 56 method is called whenever a touch event is detected on the surface of a 64 method gives a parent the chance to see any touch event before its children do. 67 the child view that was previously handling touch events 80 a child view horizontally, the child view should no longer get touch events, and 81 {@code MyViewGroup} should handle touch events by scrolling its contents. However, 83 the parent shouldn't intercept those touch events, because the child is the [all …]
|
D | index.jd | 25 … <li>Design Guide for <a href="{@docRoot}design/style/touch-feedback.html">Touch Feedback</a></li> 40 app via touch gestures. Android provides a variety of APIs to 43 <p>Although your app should not depend on touch gestures for basic behaviors (since the gestures 44 may not be available to all users in all contexts), adding touch-based 49 the accepted Android conventions for touch gestures. The <a 53 for <a href="{@docRoot}design/style/touch-feedback.html">Touch Feedback</a>. </p> 63 … Learn how to detect basic touch gestures such as scrolling, flinging, and double-tapping, using 80 touch event. </dd> 92 Learn how to implement touch-based dragging and scaling. 98 <dd>Learn how to manage touch events in a {@link android.view.ViewGroup} to [all …]
|
D | movement.jd | 29 … <li>Design Guide for <a href="{@docRoot}design/style/touch-feedback.html">Touch Feedback</a></li> 43 <p>This lesson describes how to track movement in touch events.</p> 47 android.view.MotionEvent#ACTION_MOVE} event whenever the current touch contact 53 <p>Because finger-based touch isn't always the most precise form of interaction, 54 detecting touch events is often based more on movement than on simple contact. 57 "touch slop." Touch slop refers to the distance in pixels a user's touch can wander 78 such as for touch drawing. See the {@link android.view.MotionEvent} reference for 81 <li>The velocity of the pointer as it moves across the touch screen.</li> 96 android.view.VelocityTracker} helps you track the velocity of touch events. This
|
D | detector.jd | 30 … <li>Design Guide for <a href="{@docRoot}design/style/touch-feedback.html">Touch Feedback</a></li> 44 <p>A "touch gesture" occurs when a user places one or more fingers on the touch 50 <li>Gathering data about touch events.</li> 72 on the View that received the touch events. 73 For each sequence of touch events (position, pressure, size, addition of another finger, etc.) 85 <h3>Capturing touch events for an Activity or View</h3> 87 <p><p>To intercept touch events in an Activity or View, override 134 gestures without processing the individual touch events yourself. This is 137 <h3>Capturing touch events for a single view</h3> 142 setOnTouchListener()} method. This makes it possible to to listen for touch [all …]
|
D | multi.jd | 30 … <li>Design Guide for <a href="{@docRoot}design/style/touch-feedback.html">Touch Feedback</a></li> 44 <p>A multi-touch gesture is when multiple pointers (fingers) touch the screen 50 <p>When multiple pointers touch the screen at the same time, the system generates the 51 following touch events:</p> 77 persistent across touch events to allow tracking an individual pointer across 100 // ... Many touch events later... 149 // Single touch event 150 Log.d(DEBUG_TAG,"Single touch event"); 174 <p>For more discussion of multi-touch and some examples, see the lesson <a href="scale.html">Draggi…
|
D | scroll.jd | 30 … <li>Design Guide for <a href="{@docRoot}design/style/touch-feedback.html">Touch Feedback</a></li> 50 a scrolling effect in response to touch gestures using <em>scrollers</em>. 55 scrolling animation in response to a touch event. They are similar, but 95 finger across the touch screen. Simple dragging is often implemented by overriding 113 scrolling in response to a touch event. For example, you could override 114 {@link android.view.View#onTouchEvent onTouchEvent()} to process touch 116 in response to those touch events.</p> 149 // user manipulates via touch gestures. 317 // touch), performs the zoom.
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 181 public int touch; field in DisplayDeviceInfo 254 && touch == other.touch in equals() 281 touch = other.touch; in copyFrom() 303 sb.append(", touch ").append(touchToString(touch)); in toString() 319 private static String touchToString(int touch) { in touchToString() argument 320 switch (touch) { in touchToString() 328 return Integer.toString(touch); in touchToString()
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | uses-configuration-element.jd | 9 keyboard / navigation control / touch screen." Dianne says that that's what they mean and 11 keyboard / navigation control / touch screen to work." But then what does "undefined" mean? 24 …android:<a href="#touch">reqTouchScreen</a>=["undefined" | "notouch" | "stylus" | "finger"] /><… 37 users and support devices that provide d-pad input in addition to or instead of touch. For 43 touch-style events to more advanced touch types such as {@code 137 <dt><a name="touch"></a>{@code android:reqTouchScreen}</dt> 138 <dd>The type of touch screen the application requires, if any at all. 147 <td>The application doesn't require a touch screen. 148 (The touch screen requirement is undefined.) 152 <td>The application doesn't require a touch screen.</td> [all …]
|
D | uses-feature-element.jd | 762 input is something like a d-pad, and generally not through touch or a 769 <td>The application uses basic touch interaction events, such as "click down", "click 772 only if it offers an emulated touchscreen ("fake touch" interface), or better. A device that offers 773 a fake touch interface provides a user input system that emulates a subset of touchscreen 775 touch interface. If your application requires basic point and click interaction (in other 777 Because this is the minimum level of touch interaction, your app will also be compatible with 778 devices that offer more complex touch interfaces.</p> 781 devices that provide a fake touch interface, you must also explicitly declare that a touch screen is 789 <td>The application performs distinct tracking of two or more "fingers" on a fake touch 792 only if it supports touch emulation for events that supports distinct tracking of two or more [all …]
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | touch.jd | 37 The key to making your OpenGL ES application touch interactive is expanding your implementation of 39 android.opengl.GLSurfaceView#onTouchEvent onTouchEvent()} to listen for touch events.</p> 41 <p>This lesson shows you how to listen for touch events to let users rotate an OpenGL ES object.</p> 46 <p>In order to make your OpenGL ES application respond to touch events, you must implement the 59 // MotionEvent reports input details from the touch screen 61 // interested in events where the touch position changed. 136 <p>To apply the rotation generated by touch input, comment out the code that generates an angle and 137 add {@code mAngle}, which contains the touch input generated angle:</p> 162 <img src="{@docRoot}images/opengl/ogl-triangle-touch.png"> 164 <strong>Figure 1.</strong> Triangle being rotated with touch input (circle shows touch
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | FileRotatorTest.java | 212 touch("another_rotator.1024"); in testOtherFilesAndMalformed() 213 touch("another_rotator.1024-2048"); in testOtherFilesAndMalformed() 217 touch("rotator"); in testOtherFilesAndMalformed() 218 touch("rotator..."); in testOtherFilesAndMalformed() 219 touch("rotator.-"); in testOtherFilesAndMalformed() 220 touch("rotator.---"); in testOtherFilesAndMalformed() 221 touch("rotator.a-b"); in testOtherFilesAndMalformed() 222 touch("rotator_but_not_actually"); in testOtherFilesAndMalformed() 382 private void touch(String... names) throws IOException { in touch() method in FileRotatorTest
|
/frameworks/base/data/keyboards/ |
D | qwerty.idc | 19 touch.deviceType = touchScreen 20 touch.orientationAware = 1
|
D | qwerty2.idc | 19 touch.deviceType = touchScreen 20 touch.orientationAware = 1
|
D | Android.mk | 32 $(hide) mkdir -p $(dir $@) && touch $@
|
/frameworks/base/docs/html/design/patterns/ |
D | gestures.jd | 2 page.tags=gesture,input,touch 67 <h4>Double touch </h4> 81 <h4>Double touch drag</h4> 86 <p>A single touch followed in quick succession by a drag up or down:</p>
|
D | new.jd | 60 Before Android KitKat, Android's default touch feedback color was a vibrant 61 blue. Every touch resulted in a jolt of high-contrast color, in a shade that 67 In Android KitKat and beyond, touch feedback is subtle: when something is 72 branding is much easier because the default touch feedback works with 74 "/design/style/touch-feedback.html">Touch Feedback</a> page for more 100 <strong>double touch drag</strong> and <strong>double touch</strong>. These 173 <li>Using recommended touch target sizes</li>
|
D | accessibility.jd | 23 …ch</strong> is a system feature that works with TalkBack, allowing you to touch your device's scre… 30 …d haptic feedback during their navigation (such as labels, colors, icons, touch feedback) Low visi… 36 <h4>Use recommended touch target sizes</h4> 37 …touch target size for on screen elements. Read about <a href="{@docRoot}design/style/metrics-grids… 85 <li>Use recommended touch target sizes</li>
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | ui-events.jd | 51 (when in touch mode), or focuses upon the item with the navigation-keys or trackball and 55 This is called when the user either touches and holds the item (when in touch mode), or 66 …This is called when the user performs an action qualified as a touch event, including a press, a r… 176 …<li><code>{@link android.view.View#onTouchEvent}</code> - Called when a touch screen motion event… 185 … android.app.Activity} to intercept all touch events before they are dispatched to the window.</li> 191 upon a parent View to indicate that it should not intercept touch events with <code>{@link 199 what will accept input. If the device has touch capabilities, however, and the user 202 for interaction named "touch mode." 205 For a touch-capable device, once the user touches the screen, the device 206 will enter touch mode. From this point onward, only Views for which [all …]
|
/frameworks/base/docs/html/training/ |
D | best-user-input.jd | 9 touch screen gestures and text input through on-screen input methods and hardware keyboards.</p>
|
/frameworks/base/docs/html/tools/help/ |
D | MonkeyDevice.jd | 42 <code><a href="#press">press()</a></code> or <code><a href="#touch">touch()</a> 52 <code><a href="#press">press()</a></code> or <code><a href="#touch">touch()</a> 62 <code><a href="#press">press()</a></code> or <code><a href="#touch">touch()</a> 115 Simulates a drag gesture (touch, hold, and move) on this device's screen. 333 <a href="#touch">touch</a> 340 Sends a touch event specified by type to the screen location specified 354 <a href="#touch">type</a> 375 <a href="#touch">wake</a> 399 <code><a href="#press">touch()</a></code> value. 418 <code><a href="#press">touch()</a></code> value. [all …]
|
/frameworks/base/packages/InputDevices/ |
D | Android.mk | 42 $(hide) mkdir -p $(dir $@) && touch $@
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListGetSelectedViewTest.java | 17 package android.widget.listview.touch;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelBar.java | 87 public PanelView selectPanelForTouch(MotionEvent touch) { in selectPanelForTouch() argument 89 return mPanels.get((int)(N * touch.getX() / getMeasuredWidth())); in selectPanelForTouch()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchSetSelectionTest.java | 17 package android.widget.gridview.touch;
|