/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | UnPressableLinearLayout.java | 27 * Custom LinearLayout that does not propagate the pressed state down to its children. 28 * By default, the pressed state is propagated to all the children that are not clickable 43 protected void dispatchSetPressed(boolean pressed) { argument 44 // Skip dispatching the pressed key state to the children so that they don't trigger any 45 // pressed state animation on their stateful drawables.
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | IconUtilities.java | 170 private Bitmap createSelectedBitmap(Bitmap src, boolean pressed) { argument 181 pressed ? mGlowColorPressedPaint : mGlowColorFocusedPaint);
|
/frameworks/base/core/java/android/text/method/ |
H A D | MetaKeyKeyListener.java | 55 * keyboard already reported as being pressed in {@link KeyEvent#getMetaState()}. 154 * @param text the buffer in which the meta key would have been pressed. 156 * @return an integer in which each bit set to one represents a pressed 175 * @param text the buffer in which the meta key would have been pressed. 177 * @return an integer in which each bit set to one represents a pressed 195 * @param text the buffer in which the meta key would have been pressed. 226 * @param text the buffer in which the meta key would have been pressed. 454 * @return an integer in which each bit set to one represents a pressed 561 long locked, long pressed, long released, long used) { 562 if ((state & pressed) ! 560 press(long state, int what, long mask, long locked, long pressed, long released, long used) argument 598 release(long state, int what, long mask, long pressed, long released, long used, KeyEvent event) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonRipple.java | 171 boolean pressed = false; 174 pressed = true; 178 if (pressed != mPressed) { 179 setPressed(pressed); 180 mPressed = pressed; 202 public void setPressed(boolean pressed) { argument 203 if (mDark != mLastDark && pressed) { 208 setPressedHardware(pressed); 210 setPressedSoftware(pressed); 225 private void setPressedSoftware(boolean pressed) { argument 254 setPressedHardware(boolean pressed) argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 257 /** The current pressed state of this key */ 258 public boolean pressed; field in class:Keyboard.Key 261 /** Text to output when pressed. This can be multiple characters, like ".com" */ 396 * Informs the key that it has been pressed, in case it needs to change its appearance or 401 pressed = !pressed; 405 * Changes the pressed state of the key. 422 pressed = !pressed; 494 if (pressed) { [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Gallery.java | 1148 protected void dispatchSetPressed(boolean pressed) { argument 1150 // Show the pressed state on the selected child 1152 mSelectedChild.setPressed(pressed);
|
H A D | AbsListView.java | 2728 * @return True if the current touch mode requires that we draw the selector in the pressed 2745 * the pressed state for an item. 2812 * Sets the selector state to "pressed" and posts a CheckForKeyLongPress to see if 3367 protected void dispatchSetPressed(boolean pressed) { argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidedActionsStylist.java | 371 void press(boolean pressed) { argument 376 final int themeAttrId = pressed ? R.attr.guidedActionPressedAnimation : 891 * @param pressed True if the action has been pressed, false if it has been unpressed. 893 public void onAnimateItemPressed(ViewHolder vh, boolean pressed) { argument 894 vh.press(pressed);
|
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | CircledImageView.java | 479 /** Gets the circle radius when pressed. */ 491 /** Sets the circle radius when pressed. */ 499 /** Gets the circle radius when pressed as a percent. */ 506 * pressed. 635 public void setPressed(boolean pressed) { argument 636 super.setPressed(pressed); 637 if (pressed != mPressed) { 638 mPressed = pressed;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 4321 protected void dispatchSetPressed(boolean pressed) { argument 4327 // show a pressed state when their parent view does. 4328 // Clearing a pressed state always propagates. 4329 if (!pressed || (!child.isClickable() && !child.isLongClickable())) { 4330 child.setPressed(pressed); 7255 * Return true if the pressed state should be delayed for children or descendants of this 7257 * This prevents the pressed state from appearing when the user is actually trying to scroll
|
H A D | View.java | 1705 * Indicates the view is pressed. States are used with 1809 * Indicates the view is pressed and its window has the focus. 1816 * Indicates the view is pressed and selected. 1823 * Indicates the view is pressed, selected and its window has the focus. 1831 * Indicates the view is pressed and focused. 1838 * Indicates the view is pressed, focused and its window has the focus. 1846 * Indicates the view is pressed, focused and selected. 1854 * Indicates the view is pressed, focused, selected and its window has the focus. 1863 * Indicates the view is pressed and enabled. 1870 * Indicates the view is pressed, enable 9886 setPressed(boolean pressed, float x, float y) argument 9903 setPressed(boolean pressed) argument 9925 dispatchSetPressed(boolean pressed) argument [all...] |