Home
last modified time | relevance | path

Searched refs:origX (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/util/
DRotationUtils.java180 int origX = inOutPoint.x; in rotatePoint() local
186 inOutPoint.y = parentW - origX; in rotatePoint()
194 inOutPoint.y = origX; in rotatePoint()
203 float origX = inOutPoint.x; in rotatePointF() local
209 inOutPoint.y = parentW - origX; in rotatePointF()
217 inOutPoint.y = origX; in rotatePointF()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp62 Transform(int origX, int origY, int oneX, int oneY);
253 Transform::Transform(int origX, int origY, int oneX, int oneY) in Transform() argument
254 : mOrigX(origX), mOrigY(origY), mOneX(oneX), mOneY(oneY) { in Transform()
255 if (origX == oneX || origY == oneY) { in Transform()
264 if (oneX > origX && oneY > origY) { in Transform()
270 mOutputWidth = abs(oneX - origX); in Transform()
272 } else if (oneX < origX && oneY > origY) { in Transform()
279 mOutputHeight = abs(oneX - origX); in Transform()
280 } else if (oneX > origX && oneY < origY) { in Transform()
287 mOutputHeight = abs(oneX - origX);; in Transform()
[all …]
/frameworks/ex/camera2/extensions/jni/
DJpegEncoder.cpp60 Transform(int origX, int origY, int oneX, int oneY);
251 Transform::Transform(int origX, int origY, int oneX, int oneY) in Transform() argument
252 : mOrigX(origX), mOrigY(origY), mOneX(oneX), mOneY(oneY) { in Transform()
253 if (origX == oneX || origY == oneY) { in Transform()
262 if (oneX > origX && oneY > origY) { in Transform()
268 mOutputWidth = abs(oneX - origX); in Transform()
270 } else if (oneX < origX && oneY > origY) { in Transform()
277 mOutputHeight = abs(oneX - origX); in Transform()
278 } else if (oneX > origX && oneY < origY) { in Transform()
285 mOutputHeight = abs(oneX - origX);; in Transform()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewCallbacks.java48 public boolean onInterceptMoveLeft(float origX, float origY); in onInterceptMoveLeft() argument
57 public boolean onInterceptMoveRight(float origX, float origY); in onInterceptMoveRight() argument
DPhotoViewPager.java53 public InterceptType onTouchIntercept(float origX, float origY); in onTouchIntercept() argument
DPhotoViewController.java718 public InterceptType onTouchIntercept(float origX, float origY) { in onTouchIntercept() argument
724 interceptLeft = listener.onInterceptMoveLeft(origX, origY); in onTouchIntercept()
727 interceptRight = listener.onInterceptMoveRight(origX, origY); in onTouchIntercept()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java73 public boolean interceptMoveLeft(float origX, float origY); in interceptMoveLeft() argument
82 public boolean interceptMoveRight(float origX, float origY); in interceptMoveRight() argument
482 public boolean onInterceptMoveLeft(float origX, float origY) { in onInterceptMoveLeft() argument
488 return (mPhotoView != null && mPhotoView.interceptMoveLeft(origX, origY)); in onInterceptMoveLeft()
492 public boolean onInterceptMoveRight(float origX, float origY) { in onInterceptMoveRight() argument
498 return (mPhotoView != null && mPhotoView.interceptMoveRight(origX, origY)); in onInterceptMoveRight()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java403 public boolean interceptMoveLeft(float origX, float origY) { in interceptMoveLeft() argument
436 public boolean interceptMoveRight(float origX, float origY) { in interceptMoveRight() argument