Home
last modified time | relevance | path

Searched refs:mDeltaY (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DAppWidgetResizeFrame.java49 private int mDeltaY; field in AppWidgetResizeFrame
186 mDeltaY = Math.max(-mBaselineY, deltaY); in updateDeltas()
187 mDeltaY = Math.min(mBaselineHeight - 2 * mTouchTargetWidth, mDeltaY); in updateDeltas()
189 mDeltaY = Math.min(mDragLayer.getHeight() - (mBaselineY + mBaselineHeight), deltaY); in updateDeltas()
190 mDeltaY = Math.max(-mBaselineHeight + 2 * mTouchTargetWidth, mDeltaY); in updateDeltas()
213 lp.y = mBaselineY + mDeltaY; in visualizeResizeForDelta()
214 lp.height = mBaselineHeight - mDeltaY; in visualizeResizeForDelta()
216 lp.height = mBaselineHeight + mDeltaY; in visualizeResizeForDelta()
231 int deltaY = mDeltaY + mDeltaYAddOn; in resizeWidgetIfNeeded()
390 mDeltaY = 0; in onTouchUp()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java66 private int mDeltaY; field in AppWidgetResizeFrame
194 mDeltaY = Math.max(-mBaselineY, deltaY); in updateDeltas()
195 mDeltaY = Math.min(mBaselineHeight - 2 * mTouchTargetWidth, mDeltaY); in updateDeltas()
197 mDeltaY = Math.min(mDragLayer.getHeight() - (mBaselineY + mBaselineHeight), deltaY); in updateDeltas()
198 mDeltaY = Math.max(-mBaselineHeight + 2 * mTouchTargetWidth, mDeltaY); in updateDeltas()
221 lp.y = mBaselineY + mDeltaY; in visualizeResizeForDelta()
222 lp.height = mBaselineHeight - mDeltaY; in visualizeResizeForDelta()
224 lp.height = mBaselineHeight + mDeltaY; in visualizeResizeForDelta()
239 int deltaY = mDeltaY + mDeltaYAddOn; in resizeWidgetIfNeeded()
403 mDeltaY = 0; in onTouchUp()
DLauncherScroller.java50 private float mDeltaY; field in LauncherScroller
295 mCurrY = mStartY + Math.round(x * mDeltaY); in computeScrollOffset()
380 mDeltaY = dy; in startScroll()
547 mDeltaY = mFinalY - mStartY; in setFinalY()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicFrameProcessor.java54 private float[] mDeltaY = new float[WINDOW_SIZE]; field in MosaicFrameProcessor
132 mDeltaY[i] = 0f; in reset()
212 mTotalTranslationY -= mDeltaY[idx]; in calculateTranslationRate()
215 mDeltaY[idx] = Math.abs(translationCurrY - mTranslationLastY); in calculateTranslationRate()
218 mTotalTranslationY += mDeltaY[idx]; in calculateTranslationRate()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java53 private float mDeltaY; field in Scroller
266 mCurrY = mStartY + Math.round(x * mDeltaY); in computeScrollOffset()
343 mDeltaY = dy; in startScroll()
495 mDeltaY = mFinalY - mStartY; in setFinalY()
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java251 private float mDeltaY; field in PreviewOverlay.ZoomGestureDetector
265 mDeltaY = ev.getY(1) - ev.getY(0); in onTouchEvent()
275 return (float) Math.atan2(-mDeltaY, mDeltaX); in getAngle()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java964 private int mDeltaY; field in PhotoView.MyGestureListener
1050 int d = newDeltaY - mDeltaY; in onScroll()
1053 mDeltaY = newDeltaY; in onScroll()
1238 mDeltaY = 0;