Home
last modified time | relevance | path

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

123

/development/tools/winscope/src/mixins/
DTimeline.js82 ((this.crop?.right ?? 1) - (this.crop?.left ?? 0)) *
135 return (cx - this.crop.left) / (this.crop.right - this.crop.left);
143 return pos * (this.crop.right - this.crop.left) + this.crop.left;
181 let right = this.timeline.length - 1;
182 let mid = Math.floor((left + right) / 2);
184 while (left < right) {
186 right = mid - 1;
192 mid = Math.floor((left + right) / 2);
195 const candidateElements = this.timeline.slice(left - 1, right + 2);
/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/
Dsf_visibility.js49 const right = rect.right || 0;
54 return (right - left) <= 0 || (bottom - top) <= 0;
59 (rect.left - rect.right === 0 || rect.top - rect.bottom === 0);
207 return rectA.left < rectB.right && rectA.right > rectB.left &&
220 inner.right <= outer.right && inner.bottom <= outer.bottom;
239 …reenBounds = {left: 0, top: 0, bottom: layer.sourceBounds.bottom, right: layer.sourceBounds.right}; property
325 layer.bounds = {left: 0, top: 0, right: 0, bottom: 0}; property
Dmatrix_utils.js192 var right_top = multiply_vec2(matrix, rect.right, rect.top);
194 var right_bottom = multiply_vec2(matrix, rect.right, rect.bottom);
199 outrect.right = Math.max(left_top.x, right_top.x, left_bottom.x, right_bottom.x);
Dtransform_sf.js54 right: bounds.right - (bounds.left - x),
178 parentBounds: {left: 0, right: 0, top: 0, bottom: 0}, property
/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/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/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/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/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/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/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/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/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/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/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