/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | TextCandidates1LineViewManager.java | 673 * @param direction The direction of increment or decrement. 675 private void moveFocus(int direction) { argument 678 int index = isStart ? 0 : (mCurrentFocusIndex + direction);
|
H A D | TextCandidatesViewManager.java | 1796 * @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 D | ApiService.java | 889 * @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 D | HorizontalScrollView.java | 928 * @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 D | VerticalTextSpinner.java | 198 protected void onFocusChanged(boolean gainFocus, int direction, argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | PhotoDataAdapter.java | 594 public void setFocusHintDirection(int direction) { argument 595 mFocusHintDirection = direction;
|
H A D | SinglePhotoDataAdapter.java | 250 public void setFocusHintDirection(int direction) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | EdgeView.java | 100 // 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 D | PhotoView.java | 110 // 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 D | PositionController.java | 185 // 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 D | CellLayout.java | 1486 * 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 D | Cling.java | 142 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 D | DragController.java | 467 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 D | DragLayer.java | 333 public boolean dispatchUnhandledMove(View focused, int direction) { argument 334 return mDragController.dispatchUnhandledMove(focused, direction); 735 void onEnterScrollArea(int direction) { argument
|
H A D | DragScroller.java | 31 * @param direction The scroll direction 33 boolean onEnterScrollArea(int x, int y, int direction); argument
|
H A D | HandleView.java | 54 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 D | InterruptibleInOutAnimator.java | 28 * 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 D | PagedView.java | 837 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 D | SymmetricalLinearTween.java | 54 * @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 D | Workspace.java | 642 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 D | MosaicTypes.h | 141 double direction; member in struct:__anon11
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | PanoProgressBar.java | 47 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 D | PanoramaActivity.java | 544 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 D | PanoProgressBar.java | 48 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 D | PanoramaModule.java | 472 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);
|