Home
last modified time | relevance | path

Searched refs:maxX (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp73 float minX, minY, maxX, maxY; in intersects() local
78 minX = maxX = point.x; in intersects()
84 maxX = std::max(maxX, point.x); in intersects()
88 return SkRect::Make(screenSize).intersects(SkRect::MakeLTRB(minX, minY, maxX, maxY)); in intersects()
/frameworks/base/core/tests/coretests/src/android/transition/
DSlideTransitionTest.java147 public float maxX = Float.NaN; field in SlideTransitionTest.SlideTranslationValueRatchet
155 minX = minY = maxX = maxY = Float.NaN; in reset()
162 minX = maxX = mView.getTranslationX(); in onPreDraw()
168 maxX = Math.max(maxX, mView.getTranslationX()); in onPreDraw()
/frameworks/base/libs/input/
DMouseCursorController.cpp126 float minX, minY, maxX, maxY; in setPositionLocked() local
127 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setPositionLocked()
130 } else if (x >= maxX) { in setPositionLocked()
131 mLocked.pointerX = maxX; in setPositionLocked()
232 float minX, minY, maxX, maxY; in setDisplayViewport() local
233 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setDisplayViewport()
234 mLocked.pointerX = (minX + maxX) * 0.5f; in setDisplayViewport()
/frameworks/base/core/java/android/widget/
DOverScroller.java381 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
385 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); in springBack()
391 int minX, int maxX, int minY, int maxY) { in fling() argument
392 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
423 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
436 mScrollerX.fling(startX, velocityX, minX, maxX, overX); in fling()
DScroller.java427 int minX, int maxX, int minY, int maxY) { in fling() argument
466 mMaxX = maxX; in fling()
DHorizontalScrollView.java1326 final int maxX = Math.max(0, right - width); in smoothScrollBy() local
1328 dx = Math.max(0, Math.min(scrollX + dx, maxX)) - scrollX; in smoothScrollBy()
/frameworks/base/core/java/android/transition/
DExplode.java165 int maxX = Math.max(focalX, sceneRoot.getWidth() - focalX); in calculateMaxDistance() local
167 return Math.hypot(maxX, maxY); in calculateMaxDistance()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java229 int maxX = 0, maxY = 0; in loadPoints() local
231 maxX = Math.max(maxX, pts[i]); in loadPoints()
236 ptsF[i] = (float) pts[i] / maxX; in loadPoints()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DRenderingJitter.java315 float maxX = getBounds().width() - mRadius; in clampXY() local
316 if (mX >= maxX) { in clampXY()
318 mX = maxX; in clampXY()
/frameworks/rs/
DrsScriptC_LibGL.cpp178 float *maxX, float *maxY, float *maxZ) { in rsrMeshComputeBoundingBox() argument
184 *maxX = sm->mBBoxMax[0]; in rsrMeshComputeBoundingBox()
DrsRuntime.h68 float *maxX, float *maxY, float *maxZ);
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp77 float minX, minY, maxX, maxY; in populateDeviceInfo() local
78 if (mPointerController->getBounds(&minX, &minY, &maxX, &maxY)) { in populateDeviceInfo()
79 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES31Ext.spec25 …gBoxEXT ( GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
DGLES32.spec26 void glPrimitiveBoundingBox ( GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX,…
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhone.java179 int maxX = tmpArray[0] + topRow.getWidth(); in getTouchableRegion() local
181 mTouchableRegion.set(minX, 0, maxX, mHeadsUpInset + height); in getTouchableRegion()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java941 float maxX = mTranslateRect.left * relativeDistance; in scale()
950 if (minX > maxX) { in scale()
952 finalCenterX = (minX + maxX) / 2; in scale()
954 finalCenterX = Math.min(Math.max(minX, finalCenterX), maxX); in scale()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java295 final int maxX = getMaxWindowX(); in onInterceptTouchEvent() local
296 final int endX = mCurrentLayoutParams.x > ((minX + maxX) / 2) in onInterceptTouchEvent()
297 ? maxX : minX; in onInterceptTouchEvent()
/frameworks/base/core/java/android/os/
DVibrationEffect.java501 float maxX = scale * extraScale; // scaled x for intensity == 1 in scale() local
504 float expMaxX = MathUtils.exp(maxX); in scale()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java589 @VisibleForTesting public void updateMaxSize(int maxX, int maxY) {
590 mMaxSize.set(maxX, maxY);
/frameworks/base/opengl/java/android/opengl/
DGLES31Ext.java511 float maxX, in glPrimitiveBoundingBoxEXT() argument
DGLES32.java525 float maxX, in glPrimitiveBoundingBox() argument
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp183 jfloat vX, jfloat vY, jfloat maxX, in android_view_RenderNode_stretch() argument
186 StretchEffect effect = StretchEffect({.fX = vX, .fY = vY}, maxX, maxY); in android_view_RenderNode_stretch()
/frameworks/base/core/jni/
Dandroid_opengl_GLES31Ext.cpp839 …(JNIEnv *_env, jobject _this, jfloat minX, jfloat minY, jfloat minZ, jfloat minW, jfloat maxX, jfl… in android_glPrimitiveBoundingBoxEXT__FFFFFFFF() argument
845 (GLfloat)maxX, in android_glPrimitiveBoundingBoxEXT__FFFFFFFF()
Dandroid_opengl_GLES32.cpp987 …(JNIEnv *_env, jobject _this, jfloat minX, jfloat minY, jfloat minZ, jfloat minW, jfloat maxX, jfl… in android_glPrimitiveBoundingBox__FFFFFFFF() argument
993 (GLfloat)maxX, in android_glPrimitiveBoundingBox__FFFFFFFF()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in118 …ngBoxOES)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
119 CALL_GL_API(glPrimitiveBoundingBoxOES, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
547 …ngBoxEXT)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
548 CALL_GL_API(glPrimitiveBoundingBoxEXT, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);

12