Searched defs:direction (Results 1 - 25 of 37) sorted by last modified time

12

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DTextCandidates1LineViewManager.java673 * @param direction The direction of increment or decrement.
675 private void moveFocus(int direction) { argument
678 int index = isStart ? 0 : (mCurrentFocusIndex + direction);
H A DTextCandidatesViewManager.java1796 * @param direction The direction of increment or decrement.
1799 public void moveFocus(int direction, boolean updown) { argument
1801 if (direction == 0) {
1811 int start = (mCurrentFocusIndex == FOCUS_NONE) ? 0 : (mCurrentFocusIndex + direction);
1815 for (int i = start; (0 <= i) && (i < size); i += direction) {
1842 if ((index < 0) && hasChangedLine && !mHasFocusedArray1st && (0 < direction)) {
1855 if ((mHasFocusedArray1st && (direction < 0))
1856 || (!mHasFocusedArray1st && (0 < direction))) {
1871 if (0 < direction) {
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DApiService.java889 * @param direction The slide direction
893 int direction) {
901 intent.putExtra(PARAM_TRANSITION_DIRECTION, direction);
891 insertSlidingTransition(Context context, String projectPath, String afterMediaItemId, String transitionId, long durationMs, int behavior, int direction) argument
/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/Music/src/com/android/music/
H A DVerticalTextSpinner.java198 protected void onFocusChanged(boolean gainFocus, int direction, argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPhotoDataAdapter.java594 public void setFocusHintDirection(int direction) { argument
595 mFocusHintDirection = direction;
H A DSinglePhotoDataAdapter.java250 public void setFocusHintDirection(int direction) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeView.java100 // offset is in pixels. direction is one of {TOP, LEFT, BOTTOM, RIGHT}.
101 public void onPull(int offset, int direction) { argument
102 int fullLength = ((direction & 1) == 0) ? getWidth() : getHeight();
103 mEffect[direction].onPull((float)offset / fullLength);
104 if (!mEffect[direction].isFinished()) {
123 // per second. direction is one of {TOP, LEFT, BOTTOM, RIGHT}.
124 public void onAbsorb(int velocity, int direction) { argument
125 mEffect[direction].onAbsorb(velocity);
126 if (!mEffect[direction].isFinished()) {
H A DPhotoView.java110 // MediaItem, depending on the value of focus hint direction.
113 public void setFocusHintDirection(int direction); argument
284 public void onPull(int offset, int direction) {
285 mEdgeView.onPull(offset, direction);
294 public void onAbsorb(int velocity, int direction) {
295 mEdgeView.onAbsorb(velocity, direction);
952 // If the first scrolling move is in X direction. In the film mode, X
953 // direction scrolling is normal scrolling. but Y direction scrolling is
1093 // If we scrolled in Y direction fas
[all...]
H A DPositionController.java185 // The direction of a new picture should appear. New pictures pop from top
195 void onPull(int offset, int direction); argument
197 void onAbsorb(int velocity, int direction); argument
588 // Vertical direction: If we have space to move in the vertical
589 // direction, we show the edge effect when scrolling reaches the edge.
600 // Horizontal direction: we show the edge effect when the scrolling
636 // Horizontal direction: we show the edge effect when the scrolling
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java1486 * cell location, and will also weigh in a suggested direction vector of the
1494 * @param direction The favored direction in which the views should move from x, y
1495 * @param exactDirectionOnly If this parameter is true, then only solutions where the direction
1496 * matches exactly. Otherwise we find the best matching direction.
1505 private int[] findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, argument
1531 // The direction score is just the dot product of the two candidate direction
1533 int curDirectionScore = direction[0] * curDirection[0] +
1534 direction[
1557 findNearestAreaInDirection(int cellX, int cellY, int spanX, int spanY, int[] direction,boolean[][] occupied, boolean blockOccupied[][], int[] result) argument
1599 addViewToTempLocation(View v, Rect rectOccupiedByPotentialDrop, int[] direction, ItemConfiguration currentState) argument
1621 addViewInDirection(ArrayList<View> views, Rect boundingRect, int[] direction, boolean[][] occupied, View dragView, ItemConfiguration currentState) argument
1690 completeSetOfViewsToMove(ArrayList<View> views, Rect boundingRect, int[] direction, boolean[][] occupied, View dragView, ItemConfiguration currentState) argument
1722 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, boolean push, View dragView, ItemConfiguration currentState) argument
1798 attemptPushInDirection(ArrayList<View> intersectingViews, Rect occupied, int[] direction, View ignoreView, ItemConfiguration solution) argument
1891 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument
1970 simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument
2368 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);
H A DDragController.java467 public boolean dispatchUnhandledMove(View focused, int direction) { argument
468 return mMoveTarget != null && mMoveTarget.dispatchUnhandledMove(focused, direction);
803 void setDirection(int direction) { argument
804 mDirection = direction;
H A DDragLayer.java333 public boolean dispatchUnhandledMove(View focused, int direction) { argument
334 return mDragController.dispatchUnhandledMove(focused, direction);
735 void onEnterScrollArea(int direction) { argument
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.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.java837 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
846 return v.requestFocus(direction, previouslyFocusedRect);
852 public boolean dispatchUnhandledMove(View focused, int direction) { argument
853 if (direction == View.FOCUS_LEFT) {
858 } else if (direction == View.FOCUS_RIGHT) {
864 return super.dispatchUnhandledMove(focused, direction);
868 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
870 getPageAt(mCurrentPage).addFocusables(views, direction, focusableMode);
872 if (direction == View.FOCUS_LEFT) {
874 getPageAt(mCurrentPage - 1).addFocusables(views, direction, focusableMod
[all...]
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 DWorkspace.java642 public boolean dispatchUnhandledMove(View focused, int direction) { argument
647 return super.dispatchUnhandledMove(focused, direction);
1310 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
1314 return openFolder.requestFocus(direction, previouslyFocusedRect);
1316 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect);
1331 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
1335 openFolder.addFocusables(views, direction);
1337 super.addFocusables(views, direction, focusableMode);
3489 public boolean onEnterScrollArea(int x, int y, int direction) { argument
3505 (direction
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon11
/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.
H A DPanoramaActivity.java544 private void showDirectionIndicators(int direction) { argument
545 switch (direction) {
696 public void onDirectionChange(int direction) {
698 showDirectionIndicators(direction);
/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.
H A DPanoramaModule.java472 private void showDirectionIndicators(int direction) { argument
473 switch (direction) {
606 // camera. Convert them to UI direction.
627 public void onDirectionChange(int direction) {
629 showDirectionIndicators(direction);

Completed in 266 milliseconds

12