Home
last modified time | relevance | path

Searched refs:maxY (Results 1 – 25 of 36) 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.cpp76 float minX, minY, maxX, maxY; in intersects() local
82 minY = maxY = point.y; in intersects()
88 maxY = std::max(maxY, point.y); in intersects()
91 return SkRect::Make(screenSize).intersects(SkRect::MakeLTRB(minX, minY, maxX, maxY)); in intersects()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
DBackAnimationSpecTest.kt29 val maxY = 14.0f in sysUi_floatingSystemSurfaces_animationValues() constant
52 expected = BackTransformation(translateX = -maxX, translateY = -maxY, scale = minScale), in sysUi_floatingSystemSurfaces_animationValues()
57 expected = BackTransformation(translateX = 0f, translateY = -maxY, scale = 1f), in sysUi_floatingSystemSurfaces_animationValues()
62 expected = BackTransformation(translateX = 0f, translateY = maxY, scale = 1f), in sysUi_floatingSystemSurfaces_animationValues()
/frameworks/rs/toolkit/test/
DReferenceResize.kt67 val maxY: Int = gIn.sizeY - 1 in bicubicU4() constant
76 val ys2: Int = kotlin.math.min(maxY, startY + 2) in bicubicU4()
77 val ys3: Int = kotlin.math.min(maxY, startY + 3) in bicubicU4()
/frameworks/base/core/java/android/widget/
DOverScroller.java383 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
388 final boolean spingbackY = mScrollerY.springback(startY, minY, maxY); in springBack()
393 int minX, int maxX, int minY, int maxY) { in fling() argument
394 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
425 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
439 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.java1443 final int maxY = Math.max(0, bottom - height); in smoothScrollBy() local
1445 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy()
/frameworks/native/services/inputflinger/tests/
DFakePointerController.cpp23 void FakePointerController::setBounds(float minX, float minY, float maxX, float maxY) { in setBounds() argument
28 mMaxY = maxY; in setBounds()
DFakePointerController.h38 void setBounds(float minX, float minY, float maxX, float maxY);
/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.java230 int maxX = 0, maxY = 0; in loadPoints() local
233 maxY = Math.max(maxY, pts[i + 1]); in loadPoints()
238 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/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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java492 @VisibleForTesting public void updateMaxSize(int maxX, int maxY) {
493 mMaxSize.set(maxX, maxY);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipResizeGestureHandler.java490 void updateMaxSize(int maxX, int maxY) { in updateMaxSize() argument
491 mMaxSize.set(maxX, maxY); in updateMaxSize()
/frameworks/base/opengl/java/android/opengl/
DGLES31Ext.java512 float maxY, in glPrimitiveBoundingBoxEXT() argument
DGLES32.java526 float maxY, in glPrimitiveBoundingBox() argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java2066 float maxY, in startFlingAnimation() argument
2089 + "maxY " + maxY in startFlingAnimation()
2101 (int) maxY); in startFlingAnimation()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp182 jfloat maxY) { in android_view_RenderNode_stretch() argument
184 StretchEffect effect = StretchEffect({.fX = vX, .fY = vY}, maxX, maxY); in android_view_RenderNode_stretch()
/frameworks/base/core/jni/
Dandroid_opengl_GLES31Ext.cpp840 …, jfloat minX, jfloat minY, jfloat minZ, jfloat minW, jfloat maxX, jfloat maxY, jfloat maxZ, jfloa… in android_glPrimitiveBoundingBoxEXT__FFFFFFFF() argument
847 (GLfloat)maxY, in android_glPrimitiveBoundingBoxEXT__FFFFFFFF()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java1089 final int maxY = mWindowBounds.bottom - height + mOuterBorderSize; in updateWindowlessMirrorViewLayout() local
1090 final int y = MathUtils.clamp(mMagnificationFrame.top - mMirrorSurfaceMargin, minY, maxY); in updateWindowlessMirrorViewLayout()

12