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

/packages/apps/LegacyCamera/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.java1465 public void onShutterButtonFocus(boolean pressed) { argument
1469 if (pressed && !canTakePicture()) return;
1471 if (pressed) {
H A DVideoCamera.java679 public void onShutterButtonFocus(boolean pressed) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupStartIndicatorView.java61 updateIndicatorView(true /* pressed */);
65 updateIndicatorView(false /* pressed */);
71 // public void setPressed(final boolean pressed) {
72 // super.setPressed(pressed);
73 // updateIndicatorView(pressed);
76 private void updateIndicatorView(final boolean pressed) { argument
78 mIndicatorView.setPressed(pressed);
/packages/apps/Camera2/src/com/android/camera/
H A DShutterButton.java36 * pressed state changes.
47 * A callback to be invoked when a ShutterButton's pressed state changes.
51 * Called when a ShutterButton has been pressed.
53 * @param pressed The ShutterButton that was pressed.
55 void onShutterButtonFocus(boolean pressed); argument
134 * onPressed listener doesn't always get called when the pressed state
140 final boolean pressed = isPressed();
141 if (pressed != mOldPressed) {
142 if (!pressed) {
177 callShutterButtonFocus(boolean pressed) argument
[all...]
H A DCaptureModule.java474 public void onShutterButtonFocus(boolean pressed) { argument
475 if (!pressed) {
1067 * pressed.
1110 * (front/back switch) button is pressed.
H A DPhotoModule.java1360 public void onShutterButtonFocus(boolean pressed) { argument
H A DVideoModule.java726 public void onShutterButtonFocus(boolean pressed) { argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DUtilities.java168 boolean pressed, Bitmap src) {
185 pressed ? sGlowColorPressedPaint : sGlowColorFocusedPaint);
167 drawSelectedAllAppsBitmap(Canvas dest, int destWidth, int destHeight, boolean pressed, Bitmap src) argument
/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DCaptureIntentModule.java112 public void onShutterButtonFocus(boolean pressed) { argument
137 // Issue cancel countdown event when the button is pressed.
/packages/apps/Camera2/src/com/android/camera/widget/
H A DModeOptionsOverlay.java141 public void onShutterButtonFocus(boolean pressed) { argument
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
H A DDialpadKeyButton.java114 public void setPressed(boolean pressed) { argument
115 super.setPressed(pressed);
117 onPressedListener.onPressed(this, pressed);
198 // setting the pressed state but before performing the action.
227 void onPressed(View view, boolean pressed); argument
H A DDialpadFragment.java148 /** Set of dialpad keys that are currently being pressed */
315 // When DTMF dialpad buttons are being pressed, we delay SpecialCharSequenceMgr sequence,
863 * When a key is pressed, we start playing DTMF tone, do vibration, and enter the digit
869 public void onPressed(View view, boolean pressed) { argument
870 if (pressed) {
1005 // If the zero key is currently pressed, then the long press occurred by touch
1007 // Remove the '0' that was input when the key was first pressed.
1048 * In most cases, when the dial button is pressed, there is a number in digits area. Pack it in
1389 * pressed.
/packages/apps/Dialer/java/com/android/incallui/
H A DDialpadFragment.java258 public void onPressed(View view, boolean pressed) { argument
259 if (pressed && displayMap.containsKey(view.getId())) {
262 Log.d(this, "onPressed: " + pressed + " " + displayMap.get(view.getId()));
265 if (!pressed) {
266 Log.d(this, "onPressed: " + pressed);
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DConversationDrawables.java163 public Drawable getFastScrollThumbDrawable(final boolean pressed) { argument
164 if (pressed) {
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
H A DDialpadKeyButton.java75 public void onPressed(View view, boolean pressed); argument
117 public void setPressed(boolean pressed) { argument
118 super.setPressed(pressed);
120 mOnPressedListener.onPressed(this, pressed);
207 // setting the pressed state but before performing the action.
/packages/apps/PackageInstaller/src/android/support/wearable/view/
H A DCircledImageView.java476 * pressed.
576 public void setPressed(boolean pressed) { argument
577 super.setPressed(pressed);
578 if (pressed != mPressed) {
579 mPressed = pressed;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DActionAdapter.java410 int delay, Interpolator interpolator, final boolean pressed) {
414 if (!pressed) {
430 if (pressed) {
409 prepareAndAnimateView(final View v, float initAlpha, float destAlpha, int duration, int delay, Interpolator interpolator, final boolean pressed) argument
/packages/services/Telephony/src/com/android/phone/
H A DEmergencyDialer.java369 // Happen when "Done" button of the IME is pressed. This can happen when this
411 public void onPressed(View view, boolean pressed) { argument
412 if (!pressed) {
706 * Remove the digit just before the current position. Used by various long pressed callbacks
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_avrcp.cpp187 static void btavrcp_passthrough_command_callback(int id, int pressed, argument
207 addr.get(), (jint)id, (jint)pressed);
H A Dcom_android_bluetooth_avrcp_controller.cpp57 int id, int pressed) {
58 ALOGI("%s: id: %d, pressed: %d", __func__, id, pressed);
72 (jint)id, (jint)pressed, addr.get());
75 static void btavrcp_groupnavigation_response_callback(int id, int pressed) { argument
81 (jint)id, (jint)pressed);
56 btavrcp_passthrough_response_callback(const RawAddress& bd_addr, int id, int pressed) argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboard.java248 /** The current pressed state of this key */
249 public boolean pressed; field in class:Keyboard.Key
252 /** Text to output when pressed. This can be multiple characters, like ".com" */
391 * Informs the key that it has been pressed, in case it needs to change its appearance or
396 pressed = !pressed;
400 * Changes the pressed state of the key. If it is a sticky key, it will also change the
406 pressed = !pressed;
495 if (pressed) {
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DPanoramaActivity.java760 // No buttons can be pressed.
776 public void onShutterButtonFocus(boolean pressed) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKey.java172 /** Text to output when pressed. This can be multiple characters, like ".com" */
205 /** The current pressed state of this key */
892 * Informs the key that it has been pressed, in case it needs to change its appearance or
962 public int[] getState(final boolean pressed) { argument
963 return pressed ? mPressedState : mReleasedState;
/packages/apps/Camera2/src/com/android/camera/app/
H A DCameraAppUI.java225 * Called when the user pressed the "view" button to e.g. view a photo
231 * Called when the "edit" button is pressed.
236 * Called when the "tiny planet" button is pressed.
241 * Called when the "delete" button is pressed.
246 * Called when the "share" button is pressed.
392 * that will be executed when the camera option is pressed. This
399 * that will be executed when the flash option is pressed. This
406 * that will be executed when the hdr/hdr+ option is pressed. This
413 * that will be executed when the grid lines option is pressed. This
420 * that will execute when the panorama orientation option is pressed
1482 onShutterButtonFocus(boolean pressed) argument
[all...]

Completed in 1922 milliseconds