Home
last modified time | relevance | path

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

12

/frameworks/support/v4/java/android/support/v4/widget/
DScrollerCompat.java48 int minX, int maxX, int minY, int maxY); in fling() argument
50 int minX, int maxX, int minY, int maxY, int overX, int overY); in fling() argument
58 int minY, int maxY); in springBack() argument
109 int minX, int maxX, int minY, int maxY) { in fling() argument
110 ((Scroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); in fling()
115 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
116 ((Scroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); in fling()
153 int minY, int maxY) { in springBack() argument
202 int minX, int maxX, int minY, int maxY) { in fling() argument
204 minX, maxX, minY, maxY); in fling()
[all …]
DNestedScrollView.java1309 final int maxY = Math.max(0, bottom - height); in smoothScrollBy() local
1311 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy()
/frameworks/support/v4/gingerbread/android/support/v4/widget/
DScrollerCompatGingerbread.java56 int minX, int maxX, int minY, int maxY) { in fling() argument
57 ((OverScroller) scroller).fling(startX, startY, velX, velY, minX, maxX, minY, maxY); in fling()
61 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
63 minX, maxX, minY, maxY, overX, overY); in fling()
92 int minY, int maxY) { in springBack() argument
93 return ((OverScroller) scroller).springBack(startX, startY, minX, maxX, minY, maxY); in springBack()
/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/packages/SystemUI/src/com/android/systemui/
DBatteryMeterDrawable.java231 int maxX = 0, maxY = 0; in loadBoltPoints() local
234 maxY = Math.max(maxY, pts[i + 1]); in loadBoltPoints()
239 ptsF[i + 1] = (float)pts[i + 1] / maxY; in loadBoltPoints()
246 int maxX = 0, maxY = 0; in loadPlusPoints() local
249 maxY = Math.max(maxY, pts[i + 1]); in loadPlusPoints()
254 ptsF[i + 1] = (float)pts[i + 1] / maxY; in loadPlusPoints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java147 public void fling(float downScrollP, int downY, int y, int velY, int minY, int maxY, in fling() argument
151 ", velY: " + velY + ", minY: " + minY + ", maxY: " + maxY); in fling()
155 mScroller.fling(0, y, 0, velY, 0, 0, minY, maxY, 0, overscroll); in fling()
DTaskStackViewTouchHandler.java338 float maxY = mDownY + layoutAlgorithm.getYForDeltaP(mDownScrollP, in handleTouchEvent() local
340 mScroller.fling(mDownScrollP, mDownY, y, velocity, (int) minY, (int) maxY, in handleTouchEvent()
/frameworks/base/libs/input/
DPointerController.cpp187 float minX, minY, maxX, maxY; in setPositionLocked() local
188 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setPositionLocked()
198 } else if (y >= maxY) { in setPositionLocked()
199 mLocked.pointerY = maxY; in setPositionLocked()
367 float minX, minY, maxX, maxY; in setDisplayViewport() local
368 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setDisplayViewport()
370 mLocked.pointerY = (minY + maxY) * 0.5f; in setDisplayViewport()
/frameworks/base/core/java/android/widget/
DOverScroller.java390 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
395 final boolean spingbackY = mScrollerY.springback(startY, minY, maxY); in springBack()
400 int minX, int maxX, int minY, int maxY) { in fling() argument
401 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
432 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
446 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling()
DScroller.java420 int minX, int maxX, int minY, int maxY) { in fling() argument
461 mMaxY = maxY; in fling()
DScrollView.java1203 final int maxY = Math.max(0, bottom - height); in smoothScrollBy() local
1205 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageView.java93 public void configureGraph(int maxX, int maxY, boolean showProjection, boolean projectUp) { in configureGraph() argument
94 mUsageGraph.setMax(maxX, maxY); in configureGraph()
DUsageGraph.java103 void setMax(int maxX, int maxY) { in setMax() argument
105 mMaxY = maxY; in setMax()
/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/rs/
DrsScriptC_LibGL.cpp182 float *maxX, float *maxY, float *maxZ) { in rsrMeshComputeBoundingBox() argument
189 *maxY = sm->mBBoxMax[1]; in rsrMeshComputeBoundingBox()
DrsRuntime.h72 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpManager.java400 int maxY = topEntry.getIntrinsicHeight(); in onComputeInternalInsets() local
403 info.touchableRegion.set(minX, 0, maxX, maxY); in onComputeInternalInsets()
/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.cpp847 …, jfloat minX, jfloat minY, jfloat minZ, jfloat minW, jfloat maxX, jfloat maxY, jfloat maxZ, jfloa… in android_glPrimitiveBoundingBoxEXT__FFFFFFFF() argument
854 (GLfloat)maxY, in android_glPrimitiveBoundingBoxEXT__FFFFFFFF()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in115 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
116 CALL_GL_API(glPrimitiveBoundingBoxOES, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
433 …oat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfl…
434 CALL_GL_API(glPrimitiveBoundingBoxEXT, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
/frameworks/base/docs/html/training/custom-views/
Dmaking-interactive.jd166 … mScroller.fling(currentX, currentY, velocityX / SCALE, velocityY / SCALE, minX, minY, maxX, maxY);

12