Home
last modified time | relevance | path

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

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Dcull.rs35 float minX, minY, minZ, maxX, maxY, maxZ;
38 &maxX, &maxY, &maxZ);
43 sphere.y = (maxY + minY) * 0.5f;
47 radius.y = (maxY - sphere.y);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
Dsimplemodel.rs109 float minX, minY, minZ, maxX, maxY, maxZ;
114 &maxX, &maxY, &maxZ);
116 info->bBoxMax = toFloat3(maxX, maxY, maxZ);
126 float minX, minY, minZ, maxX, maxY, maxZ;
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
Dshaderstest.rs117 float minX, minY, minZ, maxX, maxY, maxZ;
122 &maxX, &maxY, &maxZ);
124 info->bBoxMax = toFloat3(maxX, maxY, maxZ);
134 float minX, minY, minZ, maxX, maxY, maxZ;
/frameworks/support/v4/java/android/support/v4/widget/
DScrollerCompat.java169 int minX, int maxX, int minY, int maxY) { in fling() argument
170 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); in fling()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
Dfbotest.rs101 float minX, minY, minZ, maxX, maxY, maxZ;
106 &maxX, &maxY, &maxZ);
108 info->bBoxMax = (float3){maxX, maxY, maxZ};
118 float minX, minY, minZ, maxX, maxY, maxZ;
Dfbosync.rs102 float minX, minY, minZ, maxX, maxY, maxZ;
107 &maxX, &maxY, &maxZ);
109 info->bBoxMax = (float3){maxX, maxY, maxZ};
119 float minX, minY, minZ, maxX, maxY, maxZ;
/frameworks/base/services/input/
DPointerController.cpp167 float minX, minY, maxX, maxY; in setPositionLocked() local
168 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setPositionLocked()
178 } else if (y >= maxY) { in setPositionLocked()
179 mLocked.pointerY = maxY; in setPositionLocked()
317 float minX, minY, maxX, maxY; in setDisplaySize() local
318 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setDisplaySize()
320 mLocked.pointerY = (minY + maxY) * 0.5f; in setDisplaySize()
DInputReader.cpp2242 float minX, minY, maxX, maxY; in populateDeviceInfo() local
2243 if (mPointerController->getBounds(&minX, &minY, &maxX, &maxY)) { in populateDeviceInfo()
2245 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f); in populateDeviceInfo()
/frameworks/base/core/java/android/webkit/
DOverScrollGlow.java61 public void pullGlow(int x, int y, int oldX, int oldY, int maxX, int maxY) { in pullGlow() argument
83 if (maxY > 0 || mHostView.getWebView().getOverScrollMode() == View.OVER_SCROLL_ALWAYS) { in pullGlow()
90 } else if (pulledToY > maxY) { in pullGlow()
DWebViewClassic.java3312 int maxY = computeMaxScrollY(); in onOverScrolled() local
3319 if (scrollY < 0 || scrollY > maxY) { in onOverScrolled()
3329 mOverScrollGlow.pullGlow(getScrollX(), getScrollY(), oldX, oldY, maxX, maxY); in onOverScrolled() local
6233 final int maxY = mScrollingLayerRect.bottom; in doDrag() local
6237 Math.min(mScrollingLayerRect.top + contentY, maxY)); in doDrag()
6249 rangeY = maxY; in doDrag()
6653 int maxY = computeMaxScrollY();
6669 maxY = mScrollingLayerRect.bottom;
6676 maxY = getMaxTextScrollY();
6688 if ((maxX == 0 && vy == 0) || (maxY == 0 && vx == 0)) {
[all …]
/frameworks/base/core/java/android/widget/
DOverScroller.java394 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
399 final boolean spingbackY = mScrollerY.springback(startY, minY, maxY); in springBack()
404 int minX, int maxX, int minY, int maxY) { in fling() argument
405 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
436 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
450 mScrollerY.fling(startY, velocityY, minY, maxY, overY); in fling()
DScroller.java368 int minX, int maxX, int minY, int maxY) { in fling() argument
410 mMaxY = maxY; in fling()
DScrollView.java1112 final int maxY = Math.max(0, bottom - height); in smoothScrollBy() local
1114 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy()
/frameworks/rs/
DrsScriptC_LibGL.cpp252 float *maxX, float *maxY, float *maxZ) { in rsrMeshComputeBoundingBox() argument
259 *maxY = sm->mBBoxMax[1]; in rsrMeshComputeBoundingBox()
DrsRuntime.h80 float *maxX, float *maxY, float *maxZ);
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp254 float *maxX, float *maxY, float *maxZ) { in SC_MeshComputeBoundingBox() argument
256 rsrMeshComputeBoundingBox(rsc, sc, m, minX, minY, minZ, maxX, maxY, maxZ); in SC_MeshComputeBoundingBox()
/frameworks/rs/scriptc/
Drs_graphics.rsh404 float *maxX, float *maxY, float *maxZ);
/frameworks/base/docs/html/training/custom-views/
Dmaking-interactive.jd166 … mScroller.fling(currentX, currentY, velocityX / SCALE, velocityY / SCALE, minX, minY, maxX, maxY);
/frameworks/base/services/input/tests/
DInputReader_test.cpp63 void setBounds(float minX, float minY, float maxX, float maxY) { in setBounds() argument
68 mMaxY = maxY; in setBounds()