/packages/apps/Launcher2/src/com/android/launcher2/ |
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 | 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 | 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 | CellLayout.java | 1488 * cell location, and will also weigh in a suggested direction vector of the 1496 * @param direction The favored direction in which the views should move from x, y 1497 * @param exactDirectionOnly If this parameter is true, then only solutions where the direction 1498 * matches exactly. Otherwise we find the best matching direction. 1507 private int[] findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, argument 1533 // The direction score is just the dot product of the two candidate direction 1535 int curDirectionScore = direction[0] * curDirection[0] + 1536 direction[ 1559 addViewToTempLocation(View v, Rect rectOccupiedByPotentialDrop, int[] direction, ItemConfiguration currentState) argument 1812 pushViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument 1907 addViewsToTempLocation(ArrayList<View> views, Rect rectOccupiedByPotentialDrop, int[] direction, View dragView, ItemConfiguration currentState) argument 1971 attemptPushInDirection(ArrayList<View> intersectingViews, Rect occupied, int[] direction, View ignoreView, ItemConfiguration solution) argument 2065 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument 2144 simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument 2542 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);
|
/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()) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppShareInfo.java | 72 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 D | BluetoothOppTransferHistory.java | 92 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 D | BluetoothOppNotification.java | 112 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/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.
|
/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.
|
/packages/apps/Contacts/src/com/android/contacts/dialpad/ |
H A D | DigitsEditText.java | 39 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument 40 super.onFocusChanged(focused, direction, previouslyFocusedRect);
|
/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/Browser/src/com/android/browser/view/ |
H A D | ScrollerView.java | 1053 * @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 D | ProportionalLayout.java | 48 * 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 D | MosaicTypes.h | 141 double direction; member in struct:__anon4
|
H A D | Blend.cpp | 320 // in the secondary direction. We use a short side to determine the 321 // secondary direction because users may hold the device in landsape 1082 double alpha = x * m_wb.direction / m_wb.width; 1083 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius; 1086 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction; 1092 double alpha = y * m_wb.direction / m_wb.width; 1093 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius; 1096 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction; 1125 wx = alpha * m_wb.width * m_wb.direction; 1126 wy = (length - m_wb.radius) * m_wb.direction [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | MosaicTypes.h | 141 double direction; member in struct:__anon11
|
H A D | Blend.cpp | 320 // 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/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
H A D | SwipeableListView.java | 69 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument 73 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetService.java | 266 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument 270 service.clccResponse(index, direction, status, mode, mpty, number, type); 486 private void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument 490 new HeadsetClccResponse(index, direction, status, mode, mpty, number, type));
|
H A D | HeadsetPhoneState.java | 310 public HeadsetClccResponse(int index, int direction, int status, int mode, boolean mpty, argument 313 mDirection = direction;
|
/packages/apps/Email/src/com/android/email/ |
H A D | Preferences.java | 191 public void setAutoAdvanceDirection(int direction) { argument 192 mSharedPreferences.edit().putInt(AUTO_ADVANCE_DIRECTION, direction).apply();
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
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...] |