Home
last modified time | relevance | path

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

12

/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.java1465 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
1469 if (pressed && !canTakePicture()) return; in onShutterButtonFocus()
1471 if (pressed) { in onShutterButtonFocus()
/packages/apps/Camera2/src/com/android/camera/
DShutterButton.java55 void onShutterButtonFocus(boolean pressed); in onShutterButtonFocus() argument
140 final boolean pressed = isPressed(); in drawableStateChanged()
141 if (pressed != mOldPressed) { in drawableStateChanged()
142 if (!pressed) { in drawableStateChanged()
167 callShutterButtonFocus(pressed); in drawableStateChanged()
171 callShutterButtonFocus(pressed); in drawableStateChanged()
173 mOldPressed = pressed; in drawableStateChanged()
177 private void callShutterButtonFocus(boolean pressed) { in callShutterButtonFocus() argument
179 listener.onShutterButtonFocus(pressed); in callShutterButtonFocus()
DCaptureModule.java474 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
475 if (!pressed) { in onShutterButtonFocus()
/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/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadKeyButton.java75 public void onPressed(View view, boolean pressed); in onPressed() argument
117 public void setPressed(boolean pressed) { in setPressed() argument
118 super.setPressed(pressed); in setPressed()
120 mOnPressedListener.onPressed(this, pressed); in setPressed()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadKeyButton.java114 public void setPressed(boolean pressed) { in setPressed() argument
115 super.setPressed(pressed); in setPressed()
117 mOnPressedListener.onPressed(this, pressed); in setPressed()
229 void onPressed(View view, boolean pressed); in onPressed() argument
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DFabDrawable.java133 boolean pressed = false; in onStateChange()
139 pressed = true; in onStateChange()
143 if ((focused || pressed) && mStrokeAnimatorIsReversing) { in onStateChange()
146 } else if (!(focused || pressed) && !mStrokeAnimatorIsReversing) { in onStateChange()
/packages/apps/Dialer/java/com/android/incallui/
DDialpadFragment.java262 public void onPressed(View view, boolean pressed) { in onPressed() argument
263 if (pressed && mDisplayMap.containsKey(view.getId())) { in onPressed()
264 Log.d(this, "onPressed: " + pressed + " " + mDisplayMap.get(view.getId())); in onPressed()
267 if (!pressed) { in onPressed()
268 Log.d(this, "onPressed: " + pressed); in onPressed()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DCircledImageView.java576 public void setPressed(boolean pressed) { in setPressed() argument
577 super.setPressed(pressed); in setPressed()
578 if (pressed != mPressed) { in setPressed()
579 mPressed = pressed; in setPressed()
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto20 // User pressed the speaker phone button
23 // User pressed the speaker phone button again
119 // able to stitch different types of events if they make sense e.g user pressed a speaker button
173 // call log entry or pressed the play button when the voicemail call log entry was not expanded
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupStartIndicatorView.java76 private void updateIndicatorView(final boolean pressed) { in updateIndicatorView() argument
78 mIndicatorView.setPressed(pressed); in updateIndicatorView()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_controller.cpp57 int pressed) { in btavrcp_passthrough_response_callback() argument
58 ALOGI("%s: id: %d, pressed: %d", __func__, id, pressed); in btavrcp_passthrough_response_callback()
72 (jint)id, (jint)pressed, addr.get()); in btavrcp_passthrough_response_callback()
75 static void btavrcp_groupnavigation_response_callback(int id, int pressed) { in btavrcp_groupnavigation_response_callback() argument
81 (jint)id, (jint)pressed); in btavrcp_groupnavigation_response_callback()
Dcom_android_bluetooth_avrcp.cpp186 static void btavrcp_passthrough_command_callback(int id, int pressed, in btavrcp_passthrough_command_callback() argument
206 addr.get(), (jint)id, (jint)pressed); in btavrcp_passthrough_command_callback()
/packages/apps/Messaging/src/com/android/messaging/ui/
DConversationDrawables.java163 public Drawable getFastScrollThumbDrawable(final boolean pressed) { in getFastScrollThumbDrawable() argument
164 if (pressed) { in getFastScrollThumbDrawable()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java410 int delay, Interpolator interpolator, final boolean pressed) { in prepareAndAnimateView() argument
414 if (!pressed) { in prepareAndAnimateView()
430 if (pressed) { in prepareAndAnimateView()
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java168 boolean pressed, Bitmap src) { in drawSelectedAllAppsBitmap() argument
185 pressed ? sGlowColorPressedPaint : sGlowColorFocusedPaint); in drawSelectedAllAppsBitmap()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java376 public void onPressed(View view, boolean pressed) { in onPressed() argument
377 if (!pressed) { in onPressed()
/packages/apps/Dialer/java/com/android/dialer/app/dialpad/
DDialpadFragment.java810 public void onPressed(View view, boolean pressed) { in onPressed() argument
812 LogUtil.d("DialpadFragment.onPressed", "view: " + view + ", pressed: " + pressed); in onPressed()
814 if (pressed) { in onPressed()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java962 public int[] getState(final boolean pressed) { in getState() argument
963 return pressed ? mPressedState : mReleasedState; in getState()
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptionsOverlay.java141 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
/packages/apps/Settings/src/com/android/settings/applications/
DLinearColorBar.java163 protected void dispatchSetPressed(boolean pressed) { in dispatchSetPressed() argument
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModule.java112 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java776 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java1482 public void onShutterButtonFocus(boolean pressed) { in onShutterButtonFocus() argument

12