Home
last modified time | relevance | path

Searched refs:pressed (Results 1 – 16 of 16) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DShutterButton.java39 void onShutterButtonFocus(boolean pressed); in onShutterButtonFocus() argument
62 final boolean pressed = isPressed(); in drawableStateChanged()
63 if (pressed != mOldPressed) { in drawableStateChanged()
64 if (!pressed) { in drawableStateChanged()
88 callShutterButtonFocus(pressed); in drawableStateChanged()
92 callShutterButtonFocus(pressed); in drawableStateChanged()
94 mOldPressed = pressed; in drawableStateChanged()
98 private void callShutterButtonFocus(boolean pressed) { in callShutterButtonFocus() argument
100 mListener.onShutterButtonFocus(pressed); in callShutterButtonFocus()
DCamera.java1452 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
1456 if (pressed && !canTakePicture()) return; in onShutterButtonFocus()
1458 if (pressed) { in onShutterButtonFocus()
DVideoCamera.java679 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
/packages/apps/Camera/src/com/android/camera/
DShutterButton.java42 void onShutterButtonFocus(boolean pressed); in onShutterButtonFocus() argument
78 final boolean pressed = isPressed(); in drawableStateChanged()
79 if (pressed != mOldPressed) { in drawableStateChanged()
80 if (!pressed) { in drawableStateChanged()
105 callShutterButtonFocus(pressed); in drawableStateChanged()
109 callShutterButtonFocus(pressed); in drawableStateChanged()
111 mOldPressed = pressed; in drawableStateChanged()
115 private void callShutterButtonFocus(boolean pressed) { in callShutterButtonFocus() argument
117 mListener.onShutterButtonFocus(pressed); in callShutterButtonFocus()
DPhotoModule.java1574 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
1580 if (pressed && !canTakePicture()) return; in onShutterButtonFocus()
1582 if (pressed) { in onShutterButtonFocus()
DPanoramaModule.java704 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
DVideoModule.java699 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
/packages/apps/DeskClock/src/com/android/deskclock/
DDontPressWithParentLayout.java36 public void setPressed(boolean pressed) { in setPressed() argument
38 if (pressed && ((View) getParent()).isPressed()) { in setPressed()
41 super.setPressed(pressed); in setPressed()
/packages/apps/Contacts/src/com/android/contacts/dialpad/
DDialpadImageButton.java41 public void onPressed(View view, boolean pressed); in onPressed() argument
66 public void setPressed(boolean pressed) { in setPressed() argument
67 super.setPressed(pressed); in setPressed()
69 mOnPressedListener.onPressed(this, pressed); in setPressed()
DDialpadFragment.java791 public void onPressed(View view, boolean pressed) { in onPressed() argument
792 if (DEBUG) Log.d(TAG, "onPressed(). view: " + view + ", pressed: " + pressed); in onPressed()
793 if (pressed) { in onPressed()
/packages/apps/Browser/src/com/android/browser/view/
DBookmarkContainer.java71 void updateTransitionDrawable(boolean pressed) { in updateTransitionDrawable() argument
77 if (pressed && isLongClickable()) { in updateTransitionDrawable()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java249 public boolean pressed; field in Keyboard.Key
396 pressed = !pressed; in onPressed()
406 pressed = !pressed; in onReleased()
495 if (pressed) { in getCurrentDrawableState()
502 if (pressed) { in getCurrentDrawableState()
508 if (pressed) { in getCurrentDrawableState()
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java168 boolean pressed, Bitmap src) { in drawSelectedAllAppsBitmap() argument
185 pressed ? sGlowColorPressedPaint : sGlowColorFocusedPaint); in drawSelectedAllAppsBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCropView.java209 private void renderFace(GLCanvas canvas, RectF face, boolean pressed) { in renderFace() argument
211 if (pressed) { in renderFace()
222 if (pressed) { in renderFace()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java776 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java815 mPressedColor = mResources.getColor(R.color.pressed); in init()