/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppBtEnablingActivity.java | 103 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
|
H A D | BluetoothOppIncomingFileConfirmActivity.java | 165 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | UrlBarAutoShowManager.java | 99 public boolean onTouch(View v, MotionEvent event) { argument 100 if (event.getPointerCount() > 1) { 103 switch (event.getAction()) { 105 if (!mIsTracking && event.getPointerCount() == 1) { 111 mStartTouchY = event.getY(); 112 mStartTouchX = event.getX(); 120 float dy = event.getY() - mStartTouchY; 122 float adx = Math.abs(event.getX() - mStartTouchX);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventGeometry.java | 22 // This is the space from the grid line to the event rectangle. 46 // Computes the rectangle coordinates of the given event on the screen. 48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { argument 49 if (event.drawAsAllday()) { 54 int startDay = event.startDay; 55 int endDay = event.endDay; 61 int startTime = event.startTime; 62 int endTime = event.endTime; 64 // If the event started on a previous day, then show it starting 70 // If the event end 109 eventIntersectsSelection(Event event, Rect selection) argument 120 pointToEvent(float x, float y, Event event) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventActivity.java | 17 package com.android.calendar.event; 129 Log.d(TAG, "Create new event");
|
H A D | EventViewUtils.java | 16 package com.android.calendar.event;
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ContactDetailActivity.java | 166 public boolean onKeyDown(int keyCode, KeyEvent event) { argument 170 // Otherwise find the correct fragment to handle the event 174 // In the last case, give the key event to the superclass. 175 return super.onKeyDown(keyCode, event); 297 * displayed view is handling the key event or not. 301 * Returns true if the key down event will be handled by the implementing class, or false
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerAlertFullScreen.java | 92 public boolean dispatchKeyEvent(KeyEvent event) { argument 94 boolean up = event.getAction() == KeyEvent.ACTION_UP; 95 switch (event.getKeyCode()) { 110 return super.dispatchKeyEvent(event);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageGrad.java | 58 public boolean onTouchEvent(MotionEvent event) { argument 59 int mask = event.getActionMasked(); 63 return super.onTouchEvent(event); 65 if (event.getPointerCount() == 1) { 66 mActiveHandle = mEllipse.getCloseHandle(event.getX(), event.getY()); 68 float x = event.getX(); 69 float y = event.getY(); 96 return super.onTouchEvent(event); 110 float x = event [all...] |
H A D | ImageMirror.java | 57 public boolean onTouchEvent(MotionEvent event) { argument 58 // Treat event as handled.
|
H A D | ImageRotate.java | 57 public boolean onTouchEvent(MotionEvent event) { argument 58 // Treat event as handled.
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | PanelTrack.java | 26 public void onTouch(MotionEvent event, StateView view); argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | PagedViewWithDraggableItems.java | 95 public boolean onTouch(View v, MotionEvent event) { argument 131 * of the down event.
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ActivityBase.java | 99 public boolean onKeyDown(int keyCode, KeyEvent event) { argument 103 if (event.isLongPress()) return true; 106 return super.onKeyDown(keyCode, event);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | InLineSettingKnob.java | 62 public boolean onTouch(View v, MotionEvent event) { 64 if (event.getAction() == MotionEvent.ACTION_DOWN) { 70 } else if (event.getAction() == MotionEvent.ACTION_UP 71 || event.getAction() == MotionEvent.ACTION_CANCEL) { 79 public boolean onTouch(View v, MotionEvent event) { 81 if (event.getAction() == MotionEvent.ACTION_DOWN) { 87 } else if (event.getAction() == MotionEvent.ACTION_UP 88 || event.getAction() == MotionEvent.ACTION_CANCEL) { 136 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { argument 137 onPopulateAccessibilityEvent(event); 142 onPopulateAccessibilityEvent(AccessibilityEvent event) argument [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | MessageListView.java | 37 public boolean onKeyShortcut(int keyCode, KeyEvent event) { argument 54 return super.onKeyShortcut(keyCode, event);
|
H A D | WarnOfStorageLimitsActivity.java | 113 public boolean onKeyDown(int keyCode, KeyEvent event) { argument 114 if (mAlert.onKeyDown(keyCode, event)) return true; 115 return super.onKeyDown(keyCode, event); 119 public boolean onKeyUp(int keyCode, KeyEvent event) { argument 120 if (mAlert.onKeyUp(keyCode, event)) return true; 121 return super.onKeyUp(keyCode, event);
|
/packages/apps/Music/src/com/android/music/ |
H A D | RepeatingImageButton.java | 72 public boolean onTouchEvent(MotionEvent event) { argument 73 if (event.getAction() == MotionEvent.ACTION_UP) { 81 return super.onTouchEvent(event); 85 public boolean onKeyDown(int keyCode, KeyEvent event) { argument 90 // true so that the application doesn't get the down event. 91 super.onKeyDown(keyCode, event); 94 return super.onKeyDown(keyCode, event); 98 public boolean onKeyUp(int keyCode, KeyEvent event) { argument 109 return super.onKeyUp(keyCode, event);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | WebSearchSuggestionView.java | 77 public boolean onKey(View v, int keyCode, KeyEvent event) { argument 79 if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
/packages/apps/Stk/src/com/android/stk/ |
H A D | ToneDialog.java | 113 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | PrivateLog.java | 40 private static final String COLUMN_EVENT = "event"; 87 private static void insert(SQLiteDatabase db, String event) { argument 91 c.put(COLUMN_EVENT, event); 97 public static void log(String event) { argument 100 DebugHelper.insert(l, event);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
H A D | Event.java | 17 package com.android.inputmethod.event; 20 * Class representing a generic input event as handled by Latin IME. 22 * This contains information about the origin of the event, but it is generalized and should 34 // An event we don't handle in Latin IME, for example pressing Ctrl on a hardware keyboard. 46 // A toggle event is triggered by a key that affects the previous character. An example would 50 // A mode event instructs the combiner to change modes. The canonical example would be the 57 final private int mType; // The type of event - one of the constants above 58 // The code point associated with the event, if relevant. This is a unicode code point, and 59 // has nothing to do with other representations of the key. It is only relevant if this event 64 // The next event, i [all...] |
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
H A D | HoloSpiralView.java | 114 public boolean onTouchEvent(MotionEvent event) { argument 115 if (event.getActionIndex() == 0) { 116 float realPosition = mCurrentPosition + (event.getX() - mStartX); 123 if (event.getActionMasked() == MotionEvent.ACTION_DOWN) { 125 mStartX = event.getX(0); 126 } else if (event.getActionMasked() == MotionEvent.ACTION_UP) {
|
/packages/apps/Browser/tests/src/com/android/browser/ |
H A D | TestWebViewClient.java | 112 public boolean shouldOverrideKeyEvent(WebView view, KeyEvent event) { argument 113 return mWrappedClient.shouldOverrideKeyEvent(view, event); 118 public void onUnhandledKeyEvent(WebView view, KeyEvent event) { argument 119 mWrappedClient.onUnhandledKeyEvent(view, event);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | RotateLayout.java | 79 public boolean dispatchTouchEvent(MotionEvent event) { argument 98 event = MotionEventHelper.transformEvent(event, mMatrix); 100 return super.dispatchTouchEvent(event);
|