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

123

/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/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.
H A DCling.java383 public View focusSearch(int direction) { argument
384 return this.focusSearch(this, direction);
388 public View focusSearch(View focused, int direction) { argument
389 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
/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) {
322 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) {
324 } 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/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/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java264 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
268 service.clccResponse(index, direction, status, mode, mpty, number, type);
489 private void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
493 new HeadsetClccResponse(index, direction, status, mode, mpty, number, type));
H A DHeadsetPhoneState.java315 public HeadsetClccResponse(int index, int direction, int status, int mode, boolean mpty, argument
318 mDirection = direction;
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorDisplay.java157 protected void onFocusChanged(boolean gain, int direction, Rect prev) { argument
158 //Calculator.log("focus " + gain + "; " + direction + "; " + prev);
/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/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h141 double direction; member in struct:__anon11
/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/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:__anon21
/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) {

Completed in 427 milliseconds

123