Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/transition/
DSlideTransitionTest.java67 assertTrue(finalOffsetOut * 0.8 < ratchet.maxY); in testShortSlide()
68 assertTrue(finalOffsetOut + 0.1 > ratchet.maxY); in testShortSlide()
148 public float maxY = Float.NaN; field in SlideTransitionTest.SlideTranslationValueRatchet
155 minX = minY = maxX = maxY = Float.NaN; in reset()
163 minY = maxY = mView.getTranslationY(); in onPreDraw()
169 maxY = Math.max(maxY, mView.getTranslationY()); in onPreDraw()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp60 float minX, minY, maxX, maxY; in intersects() local
66 minY = maxY = point.y; in intersects()
72 maxY = std::max(maxY, point.y); in intersects()
75 return SkRect::Make(screenSize).intersects(SkRect::MakeLTRB(minX, minY, maxX, maxY)); in intersects()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java159 public void fling(float downScrollP, int downY, int y, int velY, int minY, int maxY, in fling() argument
163 ", velY: " + velY + ", minY: " + minY + ", maxY: " + maxY); in fling()
167 mScroller.fling(0, y, 0, velY, 0, 0, minY, maxY, 0, overscroll); in fling()
218 int maxY = algorithm.percentageToScroll(mLayoutAlgorithm.mMaxScrollP); in scrollToClosestTask() local
224 -velocity, minY, maxY, 0 /* overscroll */); in scrollToClosestTask()
DTaskStackViewTouchHandler.java346 float maxY = mDownY + layoutAlgorithm.getYForDeltaP(mDownScrollP, in handleTouchEvent() local
348 mScroller.fling(mDownScrollP, mDownY, y, velocity, (int) minY, (int) maxY, in handleTouchEvent()
/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
403 final boolean spingbackY = mScrollerY.springback(startY, minY, maxY); 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
454 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling()
DScroller.java427 int minX, int maxX, int minY, int maxY) { in fling() argument
468 mMaxY = maxY; in fling()
DScrollView.java1324 final int maxY = Math.max(0, bottom - height); in smoothScrollBy() local
1326 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; 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()
195 } else if (y >= maxY) { in setPositionLocked()
196 mLocked.pointerY = maxY; in setPositionLocked()
398 float minX, minY, maxX, maxY; in setDisplayViewport() local
399 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setDisplayViewport()
401 mLocked.pointerY = (minY + maxY) * 0.5f; in setDisplayViewport()
/frameworks/base/core/java/android/transition/
DExplode.java166 int maxY = Math.max(focalY, sceneRoot.getHeight() - focalY); 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
232 maxY = Math.max(maxY, pts[i + 1]); in loadPoints()
237 ptsF[i + 1] = (float) pts[i + 1] / maxY; in loadPoints()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DRenderingJitter.java320 float maxY = getBounds().height() - mRadius; in clampXY() local
321 if (mY >= maxY) { in clampXY()
323 mY = maxY; 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()
77 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo()
/frameworks/rs/
DrsScriptC_LibGL.cpp178 float *maxX, float *maxY, float *maxZ) { in rsrMeshComputeBoundingBox() argument
185 *maxY = sm->mBBoxMax[1]; in rsrMeshComputeBoundingBox()
DrsRuntime.h68 float *maxX, float *maxY, float *maxZ);
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES31Ext.spec25 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
DGLES32.spec26 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java942 float maxY = mTranslateRect.top * relativeDistance; in scale()
956 if (minY > maxY) { in scale()
958 finalCenterY = (minY + maxY) / 2; in scale()
960 finalCenterY = Math.min(Math.max(minY, finalCenterY), maxY); in scale()
/frameworks/base/opengl/java/android/opengl/
DGLES31Ext.java512 float maxY, in glPrimitiveBoundingBoxEXT() argument
DGLES32.java526 float maxY, in glPrimitiveBoundingBox() argument
/frameworks/base/core/jni/
Dandroid_opengl_GLES31Ext.cpp839 …, jfloat minX, jfloat minY, jfloat minZ, jfloat minW, jfloat maxX, jfloat maxY, jfloat maxZ, jfloa… in android_glPrimitiveBoundingBoxEXT__FFFFFFFF() argument
846 (GLfloat)maxY, in android_glPrimitiveBoundingBoxEXT__FFFFFFFF()
Dandroid_opengl_GLES32.cpp987 …, jfloat minX, jfloat minY, jfloat minZ, jfloat minW, jfloat maxX, jfloat maxY, jfloat maxZ, jfloa… in android_glPrimitiveBoundingBox__FFFFFFFF() argument
994 (GLfloat)maxY, in android_glPrimitiveBoundingBox__FFFFFFFF()
/frameworks/base/libs/hwui/debug/
Dgles_stubs.in1018 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
1019 CALL_GL_API(glPrimitiveBoundingBox, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
1186 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
1187 CALL_GL_API(glPrimitiveBoundingBoxOES, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
1423 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
1424 CALL_GL_API(glPrimitiveBoundingBoxEXT, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
Dgles_decls.in340 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
396 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
475 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in118 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
119 CALL_GL_API(glPrimitiveBoundingBoxOES, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
547 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, 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);

12