Searched defs:direction (Results 1 - 25 of 52) sorted by relevance

123

/packages/apps/Camera2/src/com/android/camera/ui/
H A DTopRightWeightedLayout.java99 private void fixGravityAndPadding(int direction) { argument
106 if (direction == LinearLayout.VERTICAL) {
118 if (direction == LinearLayout.VERTICAL) {
132 if (direction == LinearLayout.VERTICAL) {
/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 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.
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
H A DDigitsEditText.java45 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
46 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/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 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) {
324 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) {
326 } else if (item.direction == BluetoothShare.DIRECTION_INBOUND) {
/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/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/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollAdapterEditScrollListener.java33 public void onScrollStart(int direction); argument
251 // Revert scrolling direction to right before finishing previous left scroll.
259 // Revert scrolling direction to down before finishing previous up scroll.
269 // Revert scrolling direction to left before finishing previous right scroll.
277 // Revert scrolling direction to up before finishing previous down scroll.
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DMiniDrawerView.java68 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
77 // FORWARD direction so the top-most item gets first focus. This will not affect focus
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java189 public void adjustAvrcpAbsoluteVolume(int direction) { argument
190 mAvrcp.adjustVolume(direction);
282 public void adjustAvrcpAbsoluteVolume(int direction) { argument
285 service.adjustAvrcpAbsoluteVolume(direction);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon4
/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.java50 public void onDirectionChange(int direction); argument
71 private void setDirection(int direction) { argument
72 if (mDirection != direction) {
73 mDirection = direction;
133 // The panning direction will be decided after user pan more than 10 degrees in one
134 // direction.
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSinglePhotoDataAdapter.java250 public void setFocusHintDirection(int direction) { argument
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon35
/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/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) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java265 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
269 service.clccResponse(index, direction, status, mode, mpty, number, type);
503 private void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
507 new HeadsetClccResponse(index, direction, status, mode, mpty, number, type));
/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);

Completed in 442 milliseconds

123