Searched defs:direction (Results 1 - 25 of 56) 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 DInterruptibleInOutAnimator.java31 * interpolator in the same direction.
64 private void animate(int direction) { argument
66 final float toValue = (direction == IN) ? mOriginalToValue : mOriginalFromValue;
75 mDirection = direction;
105 * the animation is running in the opposite direction, in which case we reverse
106 * direction and animate for a correspondingly shorter duration.
115 * if the animation is currently running in the opposite direction, we reverse
116 * 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/Camera2/src/com/android/camera/one/v2/initialization/
H A DInitializedOneCameraFactory.java75 LinearScale lensRange, OneCamera.Facing direction) {
154 maxZoom, zoomState, direction, previewSizeSelector, mPreviewStarter);
71 InitializedOneCameraFactory( final Lifetime lifetime, final CameraStarter cameraStarter, CameraDeviceProxy device, List<Surface> outputSurfaces, MainThread mainThreadExecutor, HandlerFactory handlerFactory, float maxZoom, List<Size> supportedPreviewSizes, LinearScale lensRange, OneCamera.Facing direction) argument
H A DGenericOneCameraImpl.java73 Facing direction, PreviewSizeSelector previewSizeSelector,
78 mDirection = direction;
69 GenericOneCameraImpl(SafeCloseable closeListener, PictureTaker pictureTaker, ManualAutoFocus manualAutoFocus, LinearScale lensRange, Executor mainExecutor, Listenable<Integer> afStateProvider, Listenable<FocusState> focusStateProvider, Listenable<Boolean> readyStateListenable, float maxZoom, Updatable<Float> zoom, Facing direction, PreviewSizeSelector previewSizeSelector, PreviewStarter previewStarter) argument
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DCamera2OneCameraManagerImpl.java82 public boolean hasCameraFacing(@Nonnull Facing direction) { argument
83 return findCameraId(direction) != null;
123 /** Returns the ID of the first camera facing the given direction. */
153 /** Returns the ID of the first camera facing the given direction. */
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DPagingAwareViewPager.java88 public boolean canScrollHorizontally(int direction) { argument
90 return super.canScrollHorizontally(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) {
332 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) {
334 } 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/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.java204 public void adjustAvrcpAbsoluteVolume(int direction) { argument
205 mAvrcp.adjustVolume(direction);
297 public void adjustAvrcpAbsoluteVolume(int direction) { argument
300 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.java159 private ViewPropertyAnimator animateButton(final View button, final int direction) { argument
163 if (ANIMATION_IN == direction) {

Completed in 1177 milliseconds

123