/frameworks/base/core/tests/coretests/src/android/transition/ |
D | SlideTransitionTest.java | 67 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/ |
D | SkiaDisplayList.cpp | 76 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/ |
D | BackAnimationSpecTest.kt | 29 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/ |
D | ReferenceResize.kt | 67 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/ |
D | OverScroller.java | 383 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()
|
D | Scroller.java | 427 int minX, int maxX, int minY, int maxY) { in fling() argument 468 mMaxY = maxY; in fling()
|
D | ScrollView.java | 1443 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/ |
D | FakePointerController.cpp | 23 void FakePointerController::setBounds(float minX, float minY, float maxX, float maxY) { in setBounds() argument 28 mMaxY = maxY; in setBounds()
|
D | FakePointerController.h | 38 void setBounds(float minX, float minY, float maxX, float maxY);
|
/frameworks/base/core/java/android/transition/ |
D | Explode.java | 166 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/ |
D | BatteryMeterDrawableBase.java | 230 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/ |
D | RenderingJitter.java | 320 float maxY = getBounds().height() - mRadius; in clampXY() local 321 if (mY >= maxY) { in clampXY() 323 mY = maxY; in clampXY()
|
/frameworks/rs/ |
D | rsScriptC_LibGL.cpp | 178 float *maxX, float *maxY, float *maxZ) { in rsrMeshComputeBoundingBox() argument 185 *maxY = sm->mBBoxMax[1]; in rsrMeshComputeBoundingBox()
|
D | rsRuntime.h | 68 float *maxX, float *maxY, float *maxZ);
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES31Ext.spec | 25 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
|
D | GLES32.spec | 26 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 942 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/ |
D | PipResizeGestureHandler.java | 492 @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/ |
D | PipResizeGestureHandler.java | 490 void updateMaxSize(int maxX, int maxY) { in updateMaxSize() argument 491 mMaxSize.set(maxX, maxY); in updateMaxSize()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES31Ext.java | 512 float maxY, in glPrimitiveBoundingBoxEXT() argument
|
D | GLES32.java | 526 float maxY, in glPrimitiveBoundingBox() argument
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationController.java | 2066 float maxY, in startFlingAnimation() argument 2089 + "maxY " + maxY in startFlingAnimation() 2101 (int) maxY); in startFlingAnimation()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 182 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/ |
D | android_opengl_GLES31Ext.cpp | 840 …, 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/ |
D | WindowMagnificationController.java | 1089 final int maxY = mWindowBounds.bottom - height + mOuterBorderSize; in updateWindowlessMirrorViewLayout() local 1090 final int y = MathUtils.clamp(mMagnificationFrame.top - mMirrorSurfaceMargin, minY, maxY); in updateWindowlessMirrorViewLayout()
|