Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 67) sorted by relevance

123

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DCube.java22 …public Cube(GLWorld world, float left, float bottom, float back, float right, float top, float fro… in Cube() argument
25 GLVertex rightBottomBack = addVertex(right, bottom, back); in Cube()
27 GLVertex rightTopBack = addVertex(right, top, back); in Cube()
29 GLVertex rightBottomFront = addVertex(right, bottom, front); in Cube()
31 GLVertex rightTopFront = addVertex(right, top, front); in Cube()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixStack.java42 public void glFrustumf(float left, float right, float bottom, float top, in glFrustumf() argument
44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far); in glFrustumf()
47 public void glFrustumx(int left, int right, int bottom, int top, int near, in glFrustumx() argument
49 glFrustumf(fixedToFloat(left),fixedToFloat(right), in glFrustumx()
102 public void glOrthof(float left, float right, float bottom, float top, in glOrthof() argument
104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); in glOrthof()
107 public void glOrthox(int left, int right, int bottom, int top, int near, in glOrthox() argument
109 glOrthof(fixedToFloat(left), fixedToFloat(right), in glOrthox()
DMatrixTrackingGL.java260 public void glFrustumf(float left, float right, float bottom, float top, in glFrustumf() argument
262 mCurrent.glFrustumf(left, right, bottom, top, near, far); in glFrustumf()
263 mgl.glFrustumf(left, right, bottom, top, near, far); in glFrustumf()
267 public void glFrustumx(int left, int right, int bottom, int top, int near, in glFrustumx() argument
269 mCurrent.glFrustumx(left, right, bottom, top, near, far); in glFrustumx()
270 mgl.glFrustumx(left, right, bottom, top, near, far); in glFrustumx()
490 public void glOrthof(float left, float right, float bottom, float top, in glOrthof() argument
492 mCurrent.glOrthof(left, right, bottom, top, near, far); in glOrthof()
493 mgl.glOrthof(left, right, bottom, top, near, far); in glOrthof()
497 public void glOrthox(int left, int right, int bottom, int top, int near, in glOrthox() argument
[all …]
/development/tools/winscope/src/mixins/
DTimeline.js120 ((this.crop?.right ?? 1) - (this.crop?.left ?? 0)) *
240 return (cx - this.crop.left) / (this.crop.right - this.crop.left);
248 return pos * (this.crop.right - this.crop.left) + this.crop.left;
296 let right = this.timeline.length - 1;
297 let mid = Math.floor((left + right) / 2);
299 while (left < right) {
301 right = mid - 1;
307 mid = Math.floor((left + right) / 2);
310 const candidateElements = this.timeline.slice(left - 1, right + 2);
/development/tools/winscope/src/
Dmatrix_utils.js38 const rightTop = multiplyVec2(matrix, rect.right, rect.top);
40 const rightBottom = multiplyVec2(matrix, rect.right, rect.bottom);
45 outrect.right = Math.max(leftTop.x, rightTop.x, leftBottom.x, rightBottom.x);
/development/samples/ApiDemos/src/com/example/android/apis/view/
DCustomLayout.java133 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
138 int rightPos = right - left - getPaddingRight(); in onLayout()
159 mTmpContainerRect.right = leftPos + width + lp.rightMargin; in onLayout()
160 leftPos = mTmpContainerRect.right; in onLayout()
162 mTmpContainerRect.right = rightPos - lp.rightMargin; in onLayout()
167 mTmpContainerRect.right = middleRight - lp.rightMargin; in onLayout()
178 mTmpChildRect.right, mTmpChildRect.bottom); in onLayout()
/development/tools/winscope/src/flickerlib/
Dcommon.js159 const right = proto?.right ?? 0;
161 if (left || top || right || bottom) {
162 return new Rect(left, top, right, bottom);
174 const right = proto?.right ?? 0;
176 if (left || top || right || bottom) {
177 return new RectF(left, top, right, bottom);
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DPathAnimations.java121 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, in onLayoutChange() argument
221 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
222 super.onLayout(changed, left, top, right, bottom); in onLayout()
225 float scaleWidth = (right-left)/TRAVERSE_PATH_SIZE; in onLayout()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java328 mCurrentViewport.right, in drawAxes()
372 mAxisYLinesBuffer[i * 4 + 2] = mContentRect.right; in drawAxes()
577 canvas.translate(2 * mContentRect.left - mContentRect.right, mContentRect.bottom); in drawEdgeEffectsUnclipped()
599 canvas.translate(mContentRect.right, mContentRect.top); in drawEdgeEffectsUnclipped()
688 mCurrentViewport.right = mCurrentViewport.left + newWidth;
708 mCurrentViewport.right = Math.max(Math.nextUp(mCurrentViewport.left), in constrainViewport()
709 Math.min(AXIS_X_MAX, mCurrentViewport.right)); in constrainViewport()
757 || mCurrentViewport.right < AXIS_X_MAX;
855 || mCurrentViewport.right < AXIS_X_MAX); in computeScroll()
975 (mCurrentViewport.right + mCurrentViewport.left) / 2, in zoomIn()
[all …]
/development/ide/eclipse/
DREADME.importing-to-eclipse.txt15 You will need to re-index for the changes to get picked up (right click project
21 You will need to re-index for the changes to get picked up (right click project
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java120 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
127 int minSize = Math.max(right - left, bottom - top) + mZoomLength; in onLayout()
/development/samples/USB/MissileLauncher/
DREADME.txt2 You control the left/right/up/down orientation of the launcher using the accelerometer.
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPictureInPictureSourceRectHint.java72 (v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> { in onCreate() argument
73 if (left == oldLeft && right == oldRight && top == oldTop in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorFilters.java50 int x = r.right + 12; in addToTheRight()
129 float x = (r.left + r.right) * 0.5f; in drawSample()
/development/host/windows/usb/api/
DBUILDME.TXT37 When you're done with the WDK build environment, don't forget to right-click the
38 OACR icon (in the lower-right notification area of the taskbar) and choose
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java81 (int) (mTempRect.right +.5f), (int) (mTempRect.bottom + .5f)); in invalidateSkewedBounds()
/development/samples/Home/src/com/example/android/home/
DApplicationsStackLayout.java134 final int right = getWidth(); in onDraw() local
139 mDrawRect.set(0, 0, right, mFavoritesStart); in onDraw()
149 mDrawRect.set(0, mFavoritesStart, right, mFavoritesEnd); in onDraw()
/development/host/windows/usb/adb_winapi_test/
DBUILDME.TXT40 When you're done with the WDK build environment, don't forget to right-click the
41 OACR icon (in the lower-right notification area of the taskbar) and choose
/development/host/windows/usb/winusb/
DBUILDME.TXT40 When you're done with the WDK build environment, don't forget to right-click the
41 OACR icon (in the lower-right notification area of the taskbar) and choose

123