Home
last modified time | relevance | path

Searched refs:maxX (Results 1 – 21 of 21) 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);
42 sphere.x = (maxX + minX) * 0.5f;
46 radius.x = (maxX - sphere.x);
/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/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/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/services/input/
DPointerController.cpp167 float minX, minY, maxX, maxY; in setPositionLocked() local
168 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setPositionLocked()
171 } else if (x >= maxX) { in setPositionLocked()
172 mLocked.pointerX = maxX; in setPositionLocked()
325 float minX, minY, maxX, maxY; in setDisplayViewport() local
326 if (getBoundsLocked(&minX, &minY, &maxX, &maxY)) { in setDisplayViewport()
327 mLocked.pointerX = (minX + maxX) * 0.5f; in setDisplayViewport()
DInputReader.cpp2248 float minX, minY, maxX, maxY; in populateDeviceInfo() local
2249 if (mPointerController->getBounds(&minX, &minY, &maxX, &maxY)) { in populateDeviceInfo()
2250 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 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
67 if (maxX > 0) { in pullGlow()
74 } else if (pulledToX > maxX) { in pullGlow()
DWebViewClassic.java3361 int maxX = computeMaxScrollX(); in onOverScrolled() local
3363 if (maxX == 0) { in onOverScrolled()
3366 } else if (scrollX < 0 || scrollX > maxX) { in onOverScrolled()
3381 mOverScrollGlow.pullGlow(getScrollX(), getScrollY(), oldX, oldY, maxX, maxY); in onOverScrolled() local
6352 final int maxX = mScrollingLayerRect.right; in doDrag() local
6354 final int resultX = clampBetween(maxX, 0, in doDrag()
6368 rangeX = maxX; in doDrag()
6781 int maxX = computeMaxScrollX();
6797 maxX = mScrollingLayerRect.right;
6804 maxX = getMaxTextScrollX();
[all …]
/frameworks/base/core/java/android/widget/
DOverScroller.java392 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
396 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); in springBack()
402 int minX, int maxX, int minY, int maxY) { in fling() argument
403 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
434 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
447 mScrollerX.fling(startX, velocityX, minX, maxX, overX); in fling()
DScroller.java432 int minX, int maxX, int minY, int maxY) { in fling() argument
471 mMaxX = maxX; in fling()
DHorizontalScrollView.java1149 final int maxX = Math.max(0, right - width); in smoothScrollBy() local
1151 dx = Math.max(0, Math.min(scrollX + dx, maxX)) - scrollX; in smoothScrollBy()
/frameworks/rs/
DrsScriptC_LibGL.cpp186 float *maxX, float *maxY, float *maxZ) { in rsrMeshComputeBoundingBox() argument
192 *maxX = sm->mBBoxMax[0]; in rsrMeshComputeBoundingBox()
DrsRuntime.h67 float *maxX, float *maxY, float *maxZ);
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp324 float *maxX, float *maxY, float *maxZ) { in SC_MeshComputeBoundingBox() argument
326 rsrMeshComputeBoundingBox(rsc, sc, m, minX, minY, minZ, maxX, maxY, maxZ); in SC_MeshComputeBoundingBox()
/frameworks/base/docs/html/training/gestures/
Dscroll.jd120 minX, maxX,
/frameworks/support/renderscript/v8/rs_support/scriptc/
Drs_graphics.rsh404 float *maxX, float *maxY, float *maxZ);
/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
67 mMaxX = maxX; in setBounds()