Searched defs:pressed (Results 1 - 9 of 9) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
H A DDontPressWithParentLayout.java25 * Special class to to allow the parent to be pressed without being pressed
26 * itself. This way the time in the alarm list can be pressed without changing
36 public void setPressed(boolean pressed) { argument
37 // If the parent is pressed, do not set to pressed.
38 if (pressed && ((View) getParent()).isPressed()) {
41 super.setPressed(pressed);
/packages/apps/Browser/src/com/android/browser/view/
H A DBookmarkContainer.java70 void updateTransitionDrawable(boolean pressed) { argument
76 if (pressed && isLongClickable()) {
/packages/apps/Camera/src/com/android/camera/
H A DShutterButton.java27 * pressed state changes.
31 * A callback to be invoked when a ShutterButton's pressed state changes.
35 * Called when a ShutterButton has been pressed.
37 * @param pressed The ShutterButton that was pressed.
39 void onShutterButtonFocus(boolean pressed); argument
56 * onPressed listener doesn't always get called when the pressed state
62 final boolean pressed = isPressed();
63 if (pressed != mOldPressed) {
64 if (!pressed) {
98 callShutterButtonFocus(boolean pressed) argument
[all...]
H A DCamera.java1452 public void onShutterButtonFocus(boolean pressed) { argument
1456 if (pressed && !canTakePicture()) return;
1458 if (pressed) {
H A DVideoCamera.java679 public void onShutterButtonFocus(boolean pressed) { argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DUtilities.java166 boolean pressed, Bitmap src) {
183 pressed ? sGlowColorPressedPaint : sGlowColorFocusedPaint);
165 drawSelectedAllAppsBitmap(Canvas dest, int destWidth, int destHeight, boolean pressed, Bitmap src) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DCropView.java206 private void renderFace(GLCanvas canvas, RectF face, boolean pressed) { argument
208 if (pressed) {
219 if (pressed) {
/packages/apps/Camera/src/com/android/camera/panorama/
H A DPanoramaActivity.java760 // No buttons can be pressed.
776 public void onShutterButtonFocus(boolean pressed) { argument
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListItemView.java208 * Special class to allow the parent to be pressed without being pressed itself.
209 * This way the line of a tab can be pressed, but the image itself is not.
219 public void setPressed(boolean pressed) { argument
220 // If the parent is pressed, do not set to pressed.
221 if (pressed && ((View) getParent()).isPressed()) {
224 super.setPressed(pressed);

Completed in 665 milliseconds