Searched refs:pressed (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java161 boolean pressed = false;
164 pressed = true;
168 if (pressed != mPressed) {
169 setPressed(pressed);
170 mPressed = pressed;
187 public void setPressed(boolean pressed) { argument
189 setPressedHardware(pressed);
191 setPressedSoftware(pressed);
206 private void setPressedSoftware(boolean pressed) { argument
207 if (pressed) {
235 setPressedHardware(boolean pressed) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserAvatar.java225 public void setPressed(boolean pressed) { argument
226 if (mPressLock && !pressed) {
230 if (mPressLock || !pressed || isClickable()) {
231 super.setPressed(pressed);
232 mFramed.setPressed(pressed);
237 public void lockPressed(boolean pressed) { argument
238 mPressLock = pressed;
239 setPressed(pressed);
H A DKeyguardCircleFramedDrawable.java147 public void setPressed(boolean pressed) { argument
148 mPressed = pressed;
/frameworks/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java55 * 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/core/java/android/inputmethodservice/
H A DKeyboard.java256 /** The current pressed state of this key */
257 public boolean pressed; field in class:Keyboard.Key
260 /** Text to output when pressed. This can be multiple characters, like ".com" */
395 * Informs the key that it has been pressed, in case it needs to change its appearance or
400 pressed = !pressed;
404 * Changes the pressed state of the key. If it is a sticky key, it will also change the
410 pressed = !pressed;
482 if (pressed) {
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboard.java244 pressed = !pressed;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java170 private Bitmap createSelectedBitmap(Bitmap src, boolean pressed) { argument
181 pressed ? mGlowColorPressedPaint : mGlowColorFocusedPaint);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java263 boolean pressed = false;
274 pressed = true;
278 setRippleActive(enabled && pressed);
279 setBackgroundActive(focused || (enabled && pressed), focused);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java550 boolean pressed = false;
554 pressed = true;
560 if (pressed && enabled) {
562 } else if (pressed) {
/frameworks/base/core/java/android/widget/
H A DGallery.java1141 protected void dispatchSetPressed(boolean pressed) { argument
1143 // Show the pressed state on the selected child
1145 mSelectedChild.setPressed(pressed);
H A DAbsListView.java2653 * @return True if the current touch mode requires that we draw the selector in the pressed
2670 * the pressed state for an item.
2737 * Sets the selector state to "pressed" and posts a CheckForKeyLongPress to see if
3205 protected void dispatchSetPressed(boolean pressed) { argument
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java845 private DrawableRecipientChip constructChipSpan(RecipientEntry contact, boolean pressed) { argument
851 if (pressed) {
1286 * Dismiss any selected chips when the back key is pressed.
1832 private CharSequence createChip(RecipientEntry entry, boolean pressed) { argument
1842 DrawableRecipientChip chip = constructChipSpan(entry, pressed);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarHeaderView.java542 protected void dispatchSetPressed(boolean pressed) { argument
/frameworks/base/core/java/android/view/
H A DView.java1212 * Indicates the view is pressed. States are used with
1316 * Indicates the view is pressed and its window has the focus.
1323 * Indicates the view is pressed and selected.
1330 * Indicates the view is pressed, selected and its window has the focus.
1338 * Indicates the view is pressed and focused.
1345 * Indicates the view is pressed, focused and its window has the focus.
1353 * Indicates the view is pressed, focused and selected.
1361 * Indicates the view is pressed, focused, selected and its window has the focus.
1370 * Indicates the view is pressed and enabled.
1377 * Indicates the view is pressed, enable
7107 setPressed(boolean pressed, float x, float y) argument
7124 setPressed(boolean pressed) argument
7146 dispatchSetPressed(boolean pressed) argument
[all...]
H A DViewGroup.java3502 protected void dispatchSetPressed(boolean pressed) { argument
3508 // show a pressed state when their parent view does.
3509 // Clearing a pressed state always propagates.
3510 if (!pressed || (!child.isClickable() && !child.isLongClickable())) {
3511 child.setPressed(pressed);
6201 * Return true if the pressed state should be delayed for children or descendants of this
6203 * This prevents the pressed state from appearing when the user is actually trying to scroll

Completed in 386 milliseconds