Home
last modified time | relevance | path

Searched refs:maxY (Results 1 – 25 of 32) 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.cpp67 float minX, minY, maxX, maxY; in intersects() local
73 minY = maxY = point.y; in intersects()
79 maxY = std::max(maxY, point.y); in intersects()
82 return SkRect::Make(screenSize).intersects(SkRect::MakeLTRB(minX, minY, maxX, maxY)); in intersects()
/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.java1322 final int maxY = Math.max(0, bottom - height); in smoothScrollBy() local
1324 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/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipResizeGestureHandler.java355 void updateMaxSize(int maxX, int maxY) { in updateMaxSize() argument
356 mMaxSize.set(maxX, maxY); in updateMaxSize()
/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/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);
Dgl2_api.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);
/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.spec682 arg: float* maxY
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java2842 int maxY = Integer.MAX_VALUE;
2849 maxY = getMaxPositiveScrollAmount();
2850 if (maxY < Integer.MAX_VALUE) {
2857 mScroller.fling(0, 0, 1, velocityY, 0, 0, minY, maxY, 0,

12