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

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DAccessibleKeyboardActionListener.java39 * @param direction the direction of the flick gesture, one of
47 public void onFlickGesture(int direction); argument
H A DAccessibleInputMethodServiceProxy.java127 public void onFlickGesture(int direction) { argument
130 switch (direction) {
H A DAccessibleKeyboardViewProxy.java181 public boolean onFlick(MotionEvent e1, MotionEvent e2, int direction) { argument
183 mListener.onFlickGesture(direction);
H A DFlickGestureDetector.java171 * Computes the direction of a flick gesture and forwards it to
185 final int direction;
189 direction = FLICK_DOWN;
191 direction = FLICK_LEFT;
195 direction = FLICK_RIGHT;
197 direction = FLICK_UP;
201 return onFlick(e1, e2, direction);
217 * @param direction The direction of the flick event, one of:
226 public abstract boolean onFlick(MotionEvent e1, MotionEvent e2, int direction); argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/dialpad/
H A DDigitsEditText.java38 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
39 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragScroller.java31 * @param direction The scroll direction
33 boolean onEnterScrollArea(int x, int y, int direction); argument
H A DHandleView.java55 public View focusSearch(int direction) { argument
56 View newFocus = super.focusSearch(direction);
59 workspace.dispatchUnhandledMove(null, direction);
60 return (mOrientation == ORIENTATION_HORIZONTAL && direction == FOCUS_DOWN) ?
H A DSymmetricalLinearTween.java54 * @param direction If direction is true, the value goes towards 1.0f. If direction
57 public void start(boolean direction) { argument
58 start(direction, SystemClock.uptimeMillis());
64 * @param direction If direction is true, the value goes towards 1.0f. If direction
70 public void start(boolean direction, long baseTime) { argument
71 if (direction !
[all...]
H A DInterruptibleInOutAnimator.java28 * interpolator in the same direction.
61 private void animate(int direction) { argument
63 final float toValue = (direction == IN) ? mOriginalToValue : mOriginalFromValue;
72 mDirection = direction;
102 * the animation is running in the opposite direction, in which case we reverse
103 * direction and animate for a correspondingly shorter duration.
112 * if the animation is currently running in the opposite direction, we reverse
113 * direction and animate for a correspondingly shorter duration.
H A DDragController.java455 public boolean dispatchUnhandledMove(View focused, int direction) { argument
456 return mMoveTarget != null && mMoveTarget.dispatchUnhandledMove(focused, direction);
687 void setDirection(int direction) { argument
688 mDirection = direction;
H A DDragLayer.java317 public boolean dispatchUnhandledMove(View focused, int direction) { argument
318 return mDragController.dispatchUnhandledMove(focused, direction);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppNotification.java107 int direction; // to indicate sending or receiving field in class:BluetoothOppNotification.NotificationItem
254 item.direction = dir;
255 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) {
257 } else if (item.direction == BluetoothShare.DIRECTION_INBOUND) {
284 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) {
286 } else if (item.direction == BluetoothShare.DIRECTION_INBOUND) {
H A DBluetoothOppShareInfo.java70 int direction, String destination, int visibility, int confirm, int status,
77 mDirection = direction;
69 BluetoothOppShareInfo(int id, String uri, String hint, String filename, String mimetype, int direction, String destination, int visibility, int confirm, int status, int totalBytes, int currentBytes, int timestamp, boolean mediaScanned) argument
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DProportionalLayout.java48 * Parses the given direction string and returns the Direction instance. This
57 throw new IllegalStateException("direction must be either " +
135 public void setDirection(Direction direction) { argument
136 mDirection = direction;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeView.java98 // offset is in pixels. direction is one of {TOP, LEFT, BOTTOM, RIGHT}.
99 public void onPull(int offset, int direction) { argument
100 int fullLength = ((direction & 1) == 0) ? getWidth() : getHeight();
101 mEffect[direction].onPull((float)offset / fullLength);
102 if (!mEffect[direction].isFinished()) {
121 // per second. direction is one of {TOP, LEFT, BOTTOM, RIGHT}.
122 public void onAbsorb(int velocity, int direction) { argument
123 mEffect[direction].onAbsorb(velocity);
124 if (!mEffect[direction].isFinished()) {
H A DPhotoView.java566 public void startSlideInAnimation(int direction) { argument
569 switch (direction) {
572 mTransitionMode = direction;
573 a.startSlideInAnimation(direction);
576 default: throw new IllegalArgumentException(String.valueOf(direction));
H A DPositionController.java316 public void startSlideInAnimation(int direction) { argument
317 int fromX = (direction == PhotoView.TRANS_SLIDE_IN_LEFT) ?
344 // Vertical direction: If we have space to move in the vertical
345 // direction, we show the edge effect when scrolling reaches the edge.
356 // Horizontal direction: we show the edge effect when the scrolling
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorDisplay.java159 protected void onFocusChanged(boolean gain, int direction, Rect prev) { argument
160 //Calculator.log("focus " + gain + "; " + direction + "; " + prev);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon4
/packages/apps/Camera/src/com/android/camera/panorama/
H A DPanoProgressBar.java47 public void onDirectionChange(int direction); argument
68 private void setDirection(int direction) { argument
69 if (mDirection != direction) {
70 mDirection = direction;
128 // The panning direction will be decided after user pan more than 10 degrees in one
129 // direction.
H A DPanoramaActivity.java518 private void showDirectionIndicators(int direction) { argument
519 switch (direction) {
670 public void onDirectionChange(int direction) {
672 showDirectionIndicators(direction);
/packages/apps/Browser/src/com/android/browser/
H A DUrlInputView.java118 protected void onFocusChanged(boolean focused, int direction, Rect prevRect) { argument
119 super.onFocusChanged(focused, direction, prevRect);
/packages/apps/Email/src/com/android/email/
H A DPreferences.java191 public void setAutoAdvanceDirection(int direction) { argument
192 mSharedPreferences.edit().putInt(AUTO_ADVANCE_DIRECTION, direction).apply();
/packages/apps/Music/src/com/android/music/
H A DVerticalTextSpinner.java198 protected void onFocusChanged(boolean gainFocus, int direction, argument
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java1053 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1058 public boolean pageScroll(int direction) { argument
1059 boolean down = direction == View.FOCUS_DOWN;
1079 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
1089 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1094 public boolean fullScroll(int direction) { argument
1095 boolean down = direction == View.FOCUS_DOWN;
1110 return scrollAndFocus(direction, mTempRec
1125 scrollAndFocus(int direction, int top, int bottom) argument
1157 arrowScroll(int direction) argument
1670 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]

Completed in 425 milliseconds

12