Searched refs:direction (Results 1 - 25 of 35) sorted by relevance

12

/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 DPagedView.java786 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
795 return v.requestFocus(direction, previouslyFocusedRect);
801 public boolean dispatchUnhandledMove(View focused, int direction) { argument
802 if (direction == View.FOCUS_LEFT) {
807 } else if (direction == View.FOCUS_RIGHT) {
813 return super.dispatchUnhandledMove(focused, direction);
817 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
819 getPageAt(mCurrentPage).addFocusables(views, direction);
821 if (direction == View.FOCUS_LEFT) {
823 getPageAt(mCurrentPage - 1).addFocusables(views, direction);
[all...]
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;
/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 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...]
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);
/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.java648 public void startSlideInAnimation(int direction) { argument
651 switch (direction) {
654 mTransitionMode = direction;
655 a.startSlideInAnimation(direction);
658 default: throw new IllegalArgumentException(String.valueOf(direction));
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
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
H A DBluetoothOppTransferHistory.java92 String direction;
93 int dir = getIntent().getIntExtra("direction", 0);
96 direction = "(" + BluetoothShare.DIRECTION + " == " + BluetoothShare.DIRECTION_OUTBOUND
104 direction = "(" + BluetoothShare.DIRECTION + " == " + BluetoothShare.DIRECTION_INBOUND
108 String selection = BluetoothShare.STATUS + " >= '200' AND " + direction;
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 DBluetoothOppTransferActivity.java179 int direction = mTransInfo.mDirection;
183 if (direction == BluetoothShare.DIRECTION_INBOUND) {
194 } else if (direction == BluetoothShare.DIRECTION_OUTBOUND) {
207 if (V) Log.v(TAG, " WhichDialog/dir/isComplete/failOrSuccess" + mWhichDialog + direction
/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.
/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/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...]
/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/Camera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon4
H A DBlend.cpp320 // in the secondary direction. We use a short side to determine the
321 // secondary direction because users may hold the device in landsape
1062 double alpha = x * m_wb.direction / m_wb.width;
1063 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1066 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction;
1072 double alpha = y * m_wb.direction / m_wb.width;
1073 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1076 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction;
1105 wx = alpha * m_wb.width * m_wb.direction;
1106 wy = (length - m_wb.radius) * m_wb.direction
[all...]
/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/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/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);

Completed in 348 milliseconds

12