/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackViewFilterAlgorithm.java | 103 int movement = 0; in getEnterTransformsForFilterAnimation() local 123 movement = Math.max(movement, in getEnterTransformsForFilterAnimation() 145 int movement = 0; in getExitTransformsForFilterAnimation() local 167 movement = Math.max(movement, Math.abs(toTransform.translationY - in getExitTransformsForFilterAnimation()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 382 Movement& movement = mMovements[mIndex]; in addMovement() local 383 movement.eventTime = eventTime; in addMovement() 384 movement.idBits = idBits; in addMovement() 387 movement.positions[i] = positions[i]; in addMovement() 570 const Movement& movement = mMovements[index]; in getEstimator() local 571 if (!movement.idBits.hasBit(id)) { in getEstimator() 575 nsecs_t age = newestMovement.eventTime - movement.eventTime; in getEstimator() 580 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator() 838 Movement& movement = mMovements[mIndex]; in addMovement() local 839 movement.eventTime = eventTime; in addMovement() [all …]
|
/frameworks/base/docs/html/training/gestures/ |
D | movement.jd | 43 <p>This lesson describes how to track movement in touch events.</p> 54 detecting touch events is often based more on movement than on simple contact. 55 To help apps distinguish between movement-based gestures (such as a swipe) and 56 non-movement gestures (such as a single tap), Android includes the notion of 58 before the gesture is interpreted as a movement-based gesture. For more discussion of this 63 <p>There are several different ways to track movement in a gesture, depending on 89 <p> You could have a movement-based gesture that is simply based on the distance and/or direction t… 124 // Add a user's movement to the tracker.
|
D | index.jd | 68 <strong><a href="movement.html">Tracking Movement</a></strong> 71 Learn how to track movement.
|
D | detector.jd | 7 next.link=movement.html
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 2627 final int movement = getMovement(direction); in onAddFocusables() local 2628 if (movement != PREV_ITEM && movement != NEXT_ITEM) { in onAddFocusables() 2648 int index = movement == NEXT_ITEM ? i : count - 1 - i; in onAddFocusables() 2657 (movement == NEXT_ITEM && position > focusedPos) in onAddFocusables() 2658 || (movement == PREV_ITEM && position < focusedPos)) { in onAddFocusables() 2724 int movement = getMovement(direction); in onFocusSearchFailed() local 2727 if (movement == NEXT_ITEM) { in onFocusSearchFailed() 2735 } else if (movement == PREV_ITEM) { in onFocusSearchFailed() 2813 int movement = View.FOCUS_LEFT; in getMovement() local 2818 movement = (!mReverseFlowPrimary) ? PREV_ITEM : NEXT_ITEM; in getMovement() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 1981 MovementMethod movement = eet.getMovementMethod(); in doMovementKey() local 1983 if (movement != null && layout != null) { in doMovementKey() 1987 if (movement.onKeyDown(eet, in doMovementKey() 1993 if (movement.onKeyUp(eet, in doMovementKey() 1998 if (movement.onKeyOther(eet, (Spannable)eet.getText(), event)) { in doMovementKey() 2002 if (movement.onKeyDown(eet, in doMovementKey() 2005 movement.onKeyUp(eet, in doMovementKey() 2008 movement.onKeyDown(eet, in doMovementKey() 2010 movement.onKeyUp(eet, in doMovementKey()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 4376 int movement = 0; in process() local 4379 movement = mX.generate(); in process() 4380 if (movement != 0) { in process() 4381 keycode = movement > 0 ? KeyEvent.KEYCODE_DPAD_RIGHT in process() 4387 movement = mY.generate(); in process() 4388 if (movement != 0) { in process() 4389 keycode = movement > 0 ? KeyEvent.KEYCODE_DPAD_DOWN in process() 4397 if (movement < 0) movement = -movement; in process() 4398 int accelMovement = (int)(movement * accel); in process() 4399 if (DEBUG_TRACKBALL) Log.v(TAG, "Move: movement=" + movement in process() [all …]
|
/frameworks/base/docs/html/design/tv/ |
D | principles.jd | 25 content as possible on each screen. Use visual imagery, movement, and sound to inform and delight
|
D | patterns.jd | 12 limits movement to up, down, left, and right. As you design your app for TV, make sure your
|
/frameworks/base/docs/html/training/game-controllers/ |
D | controller-input.jd | 95 movement properties for a specific physical control, such as 478 // Check if this event is from a joystick movement and process accordingly. 488 the {@link android.view.MotionEvent} to determine if a joystick movement it 491 <p>Note that joystick motion events may batch multiple movement samples together 500 object's movement based on the joystick input. To 523 // Process all historical movement samples in the batch 533 // Process the current movement sample in the batch (position -1) 547 <p>The snippet below shows a helper method that calculates the movement along
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | index.jd | 70 <dd>Learn how to do basic movement and animation of drawn objects with OpenGL.</dd>
|
/frameworks/base/docs/html/guide/topics/location/ |
D | strategies.jd | 39 providers, user movement, and location accuracy. It also handles 71 <li><b>User movement</b> 72 <p>Because the user location changes, you must account for movement by re-estimating user 169 accuracy, user movement, the multitude of methods to obtain the location, and the desire to conserve
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | drag-drop.jd | 13 Supports operations besides data movement. 120 Although the framework is primarily designed for data movement, you can use 123 framework in terms of data movement. 463 For data movement, this image represents the data being dragged. For other operations, the 568 movement, you may want to use <code>null</code> instead of an actual object. 706 If the drag and drop operation does not represent data movement, this may not be 800 and store it. If the drag and drop operation does not represent data movement,
|
D | ui-events.jd | 67 or any movement gesture on the screen (within the bounds of the item).</dd> 225 <p>The framework will handle routine focus movement in response to user input. 234 <p>Focus movement is based on an algorithm which finds the nearest neighbor in a
|
/frameworks/base/docs/html/training/tv/start/ |
D | navigation.jd | 37 directional pad (D-pad) or arrow keys. This type of control limits movement to up, down, left,
|
/frameworks/base/docs/html/training/transitions/ |
D | custom-transitions.jd | 66 values. For example, a color animation needs color property values, while a movement
|
D | overview.jd | 32 <dd>Includes predefined animations for common effects such as fade out or movement.</dd>
|
D | transitions.jd | 177 choice would be to animate the movement so that users notice the new location of the views.</p>
|
/frameworks/base/docs/html/ndk/samples/ |
D | sample_na.jd | 27 then changes the color partly in response to movement that it detects.</p>
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_position.jd | 63 Position sensors are not typically used to monitor device movement or motion, such as shake, tilt, 348 sensor to determine raw rotational movement or you can use the accelerometer and geomagnetic field
|
D | sensors_motion.jd | 57 <p>Motion sensors are useful for monitoring device movement, such as tilt, shake, rotation, or 58 swing. The movement is usually a reflection of direct user input (for example, a user steering a
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | uses-feature-element.jd | 797 being transformed to cursor movement on the screen. That is, single finger gestures on such a device 800 distinct multi-touch with a fake touch interface is one that provides a trackpad for cursor movement 814 transformed to cursor movement on the screen. That is, single finger gestures on such a device move 817 distinct multi-touch with a fake touch interface is one that provides a trackpad for cursor movement
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.1.jd | 36 <li><a href="#AutoFocus">Auto focus movement</a></li> 420 <h3 id="AutoFocus">Auto focus movement</h3> 423 for changes to the auto focus movement. You can register your interface with {@link
|
/frameworks/base/docs/html/training/articles/ |
D | wear-location-detection.jd | 33 understanding of their geographic position, movement and what's around them. With the small form
|