Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp60 float minX, minY, maxX, maxY; in intersects() local
65 minX = maxX = point.x; in intersects()
71 maxX = std::max(maxX, point.x); in intersects()
75 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/core/java/android/widget/
DOverScroller.java398 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
402 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); in springBack()
408 int minX, int maxX, int minY, int maxY) { in fling() argument
409 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
440 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
453 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.java1302 final int maxX = Math.max(0, right - width); in smoothScrollBy() local
1304 dx = Math.max(0, Math.min(scrollX + dx, maxX)) - scrollX; in smoothScrollBy()
/frameworks/base/libs/input/
DPointerController.cpp184 float minX, minY, maxX, maxY; in setPositionLocked() local
185 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setPositionLocked()
188 } else if (x >= maxX) { in setPositionLocked()
189 mLocked.pointerX = maxX; in setPositionLocked()
398 float minX, minY, maxX, maxY; in setDisplayViewport() local
399 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setDisplayViewport()
400 mLocked.pointerX = (minX + maxX) * 0.5f; in setDisplayViewport()
/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/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp74 float minX, minY, maxX, maxY; in populateDeviceInfo() local
75 if (mPointerController->getBounds(&minX, &minY, &maxX, &maxY)) { in populateDeviceInfo()
76 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
/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/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/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/statusbar/phone/
DHeadsUpManagerPhone.java385 int maxX = mTmpTwoArray[0] + topRow.getWidth(); in calculateTouchableRegion() local
387 mTouchableRegion.set(minX, 0, maxX, mHeadsUpInset + height); in calculateTouchableRegion()
/frameworks/base/opengl/java/android/opengl/
DGLES31Ext.java511 float maxX, in glPrimitiveBoundingBoxEXT() argument
DGLES32.java525 float maxX, in glPrimitiveBoundingBox() argument
/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/base/libs/hwui/debug/
Dgles_stubs.in1018 …ndingBox)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
1019 CALL_GL_API(glPrimitiveBoundingBox, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
1186 …ngBoxOES)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
1187 CALL_GL_API(glPrimitiveBoundingBoxOES, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
1423 …ngBoxEXT)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
1424 CALL_GL_API(glPrimitiveBoundingBoxEXT, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
Dgles_decls.in340 …ndingBox, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
396 …ngBoxOES, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
475 …ngBoxEXT, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfl…
/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);
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp1066 float *maxX, float *maxY, float *maxZ) { argument
1068 rsrMeshComputeBoundingBox(rsc, (Mesh *)mesh.p, minX, minY, minZ, maxX, maxY, maxZ);
/frameworks/rs/script_api/
Drs_graphics.spec681 arg: float* maxX

12