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

123

/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.java54 public View focusSearch(int direction) { argument
55 View newFocus = super.focusSearch(direction);
58 workspace.dispatchUnhandledMove(null, direction);
59 return (mOrientation == ORIENTATION_HORIZONTAL && direction == FOCUS_DOWN) ?
H A DInterruptibleInOutAnimator.java29 * interpolator in the same direction.
62 private void animate(int direction) { argument
64 final float toValue = (direction == IN) ? mOriginalToValue : mOriginalFromValue;
73 mDirection = direction;
103 * the animation is running in the opposite direction, in which case we reverse
104 * direction and animate for a correspondingly shorter duration.
113 * if the animation is currently running in the opposite direction, we reverse
114 * direction and animate for a correspondingly shorter duration.
H A DCellLayout.java1499 * cell location, and will also weigh in a suggested direction vector of the
1507 * @param direction The favored direction in which the views should move from x, y
1508 * @param exactDirectionOnly If this parameter is true, then only solutions where the direction
1509 * matches exactly. Otherwise we find the best matching direction.
1518 private int[] findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, argument
1544 // The direction score is just the dot product of the two candidate direction
1546 int curDirectionScore = direction[0] * curDirection[0] +
1547 direction[
1570 addViewToTempLocation(View v, Rect rectOccupiedByPotentialDrop, int[] direction, ItemConfiguration currentState) argument
1823 pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
1918 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
1982 attemptPushInDirection(ArrayList<View> intersectingViews, Rect occupied, int[] direction, View ignoreView, ItemConfiguration solution) argument
2076 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument
2155 simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument
2553 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument
[all...]
H A DCling.java142 public View focusSearch(int direction) { argument
143 return this.focusSearch(this, direction);
147 public View focusSearch(View focused, int direction) { argument
148 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDragScroller.java31 * @param direction The scroll direction
33 boolean onEnterScrollArea(int x, int y, int direction); argument
H A DFolderAutoScrollHelper.java50 public boolean canTargetScrollHorizontally(int direction) { argument
56 public boolean canTargetScrollVertically(int direction) { argument
57 return mTarget.canScrollVertically(direction);
H A DInterruptibleInOutAnimator.java29 * interpolator in the same direction.
62 private void animate(int direction) { argument
64 final float toValue = (direction == IN) ? mOriginalToValue : mOriginalFromValue;
73 mDirection = direction;
103 * the animation is running in the opposite direction, in which case we reverse
104 * direction and animate for a correspondingly shorter duration.
113 * if the animation is currently running in the opposite direction, we reverse
114 * direction and animate for a correspondingly shorter duration.
H A DCellLayout.java1487 * cell location, and will also weigh in a suggested direction vector of the
1495 * @param direction The favored direction in which the views should move from x, y
1496 * @param exactDirectionOnly If this parameter is true, then only solutions where the direction
1497 * matches exactly. Otherwise we find the best matching direction.
1506 private int[] findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, argument
1532 // The direction score is just the dot product of the two candidate direction
1534 int curDirectionScore = direction[0] * curDirection[0] +
1535 direction[
1558 addViewToTempLocation(View v, Rect rectOccupiedByPotentialDrop, int[] direction, ItemConfiguration currentState) argument
1811 pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
1906 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument
1970 attemptPushInDirection(ArrayList<View> intersectingViews, Rect occupied, int[] direction, View ignoreView, ItemConfiguration solution) argument
2064 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument
2145 findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument
2561 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeView.java102 // offset is in pixels. direction is one of {TOP, LEFT, BOTTOM, RIGHT}.
103 public void onPull(int offset, int direction) { argument
104 int fullLength = ((direction & 1) == 0) ? getWidth() : getHeight();
105 mEffect[direction].onPull((float)offset / fullLength);
106 if (!mEffect[direction].isFinished()) {
125 // per second. direction is one of {TOP, LEFT, BOTTOM, RIGHT}.
126 public void onAbsorb(int velocity, int direction) { argument
127 mEffect[direction].onAbsorb(velocity);
128 if (!mEffect[direction].isFinished()) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppShareInfo.java72 int direction, String destination, int visibility, int confirm, int status,
79 mDirection = direction;
71 BluetoothOppShareInfo(int id, Uri 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.java112 int direction; // to indicate sending or receiving field in class:BluetoothOppNotification.NotificationItem
267 item.direction = dir;
268 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) {
270 } else if (item.direction == BluetoothShare.DIRECTION_INBOUND) {
301 if (item.direction == BluetoothShare.DIRECTION_INBOUND) {
322 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) {
324 } else if (item.direction == BluetoothShare.DIRECTION_INBOUND) {
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DDigitsEditText.java38 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
39 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/packages/apps/Camera/src/com/android/camera/
H A DPanoProgressBar.java48 public void onDirectionChange(int direction); argument
69 private void setDirection(int direction) { argument
70 if (mDirection != direction) {
71 mDirection = direction;
131 // The panning direction will be decided after user pan more than 10 degrees in one
132 // direction.
/packages/apps/Camera2/src/com/android/camera/
H A DPanoProgressBar.java48 public void onDirectionChange(int direction); argument
69 private void setDirection(int direction) { argument
70 if (mDirection != direction) {
71 mDirection = direction;
131 // The panning direction will be decided after user pan more than 10 degrees in one
132 // direction.
/packages/apps/LegacyCamera/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/VideoEditor/src/com/android/videoeditor/widgets/
H A DHorizontalScrollView.java928 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT}
933 public boolean pageScroll(int direction) { argument
934 boolean right = direction == View.FOCUS_RIGHT;
954 return scrollAndFocus(direction, mTempRect.left, mTempRect.right);
964 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT}
969 public boolean fullScroll(int direction) { argument
970 boolean right = direction == View.FOCUS_RIGHT;
985 return scrollAndFocus(direction, mTempRec
1000 scrollAndFocus(int direction, int left, int right) argument
1032 arrowScroll(int direction) argument
1391 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
/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/ContactsCommon/src/com/android/contacts/common/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/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java184 public void adjustAvrcpAbsoluteVolume(int direction) { argument
185 mAvrcp.adjustVolume(direction);
277 public void adjustAvrcpAbsoluteVolume(int direction) { argument
280 service.adjustAvrcpAbsoluteVolume(direction);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon4
/packages/apps/Camera2/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon11
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon21
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DButtonSwitcher.java155 private ViewPropertyAnimator animateButton(final View button, final int direction) { argument
159 if (ANIMATION_IN == direction) {

Completed in 5405 milliseconds

123