Home
last modified time | relevance | path

Searched refs:mDeltaX (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DAppWidgetResizeFrame.java48 private int mDeltaX; field in AppWidgetResizeFrame
178 mDeltaX = Math.max(-mBaselineX, deltaX); in updateDeltas()
179 mDeltaX = Math.min(mBaselineWidth - 2 * mTouchTargetWidth, mDeltaX); in updateDeltas()
181 mDeltaX = Math.min(mDragLayer.getWidth() - (mBaselineX + mBaselineWidth), deltaX); in updateDeltas()
182 mDeltaX = Math.max(-mBaselineWidth + 2 * mTouchTargetWidth, mDeltaX); in updateDeltas()
206 lp.x = mBaselineX + mDeltaX; in visualizeResizeForDelta()
207 lp.width = mBaselineWidth - mDeltaX; in visualizeResizeForDelta()
209 lp.width = mBaselineWidth + mDeltaX; in visualizeResizeForDelta()
230 int deltaX = mDeltaX + mDeltaXAddOn; in resizeWidgetIfNeeded()
389 mDeltaX = 0; in onTouchUp()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java65 private int mDeltaX; field in AppWidgetResizeFrame
186 mDeltaX = Math.max(-mBaselineX, deltaX); in updateDeltas()
187 mDeltaX = Math.min(mBaselineWidth - 2 * mTouchTargetWidth, mDeltaX); in updateDeltas()
189 mDeltaX = Math.min(mDragLayer.getWidth() - (mBaselineX + mBaselineWidth), deltaX); in updateDeltas()
190 mDeltaX = Math.max(-mBaselineWidth + 2 * mTouchTargetWidth, mDeltaX); in updateDeltas()
214 lp.x = mBaselineX + mDeltaX; in visualizeResizeForDelta()
215 lp.width = mBaselineWidth - mDeltaX; in visualizeResizeForDelta()
217 lp.width = mBaselineWidth + mDeltaX; in visualizeResizeForDelta()
238 int deltaX = mDeltaX + mDeltaXAddOn; in resizeWidgetIfNeeded()
402 mDeltaX = 0; in onTouchUp()
DLauncherScroller.java49 private float mDeltaX; field in LauncherScroller
294 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset()
379 mDeltaX = dx; in startScroll()
534 mDeltaX = mFinalX - mStartX; in setFinalX()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicFrameProcessor.java53 private float[] mDeltaX = new float[WINDOW_SIZE]; field in MosaicFrameProcessor
131 mDeltaX[i] = 0f; in reset()
211 mTotalTranslationX -= mDeltaX[idx]; in calculateTranslationRate()
214 mDeltaX[idx] = Math.abs(translationCurrX - mTranslationLastX); in calculateTranslationRate()
217 mTotalTranslationX += mDeltaX[idx]; in calculateTranslationRate()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java52 private float mDeltaX; field in Scroller
265 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset()
342 mDeltaX = dx; in startScroll()
482 mDeltaX = mFinalX - mStartX; in setFinalX()
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java250 private float mDeltaX; field in PreviewOverlay.ZoomGestureDetector
264 mDeltaX = ev.getX(1) - ev.getX(0); in onTouchEvent()
275 return (float) Math.atan2(-mDeltaY, mDeltaX); in getAngle()