Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 83) sorted by relevance

1234

/development/tools/winscope/src/parsers/surface_flinger/computations/
Drects_computation_test.ts60 bounds: {left: 0, top: 0, right: 1, bottom: 1},
61 screenBounds: {left: 0, top: 0, right: 1, bottom: 1},
86 bounds: {left: 0, top: 0, right: 1, bottom: 1},
87 screenBounds: {left: 0, top: 0, right: 1, bottom: 1},
101 bounds: {left: 0, top: 0, right: 2, bottom: 2},
102 screenBounds: {left: 0, top: 0, right: 2, bottom: 2},
119 bounds: {left: 0, top: 0, right: 5, bottom: 5},
120 screenBounds: {left: 0, top: 0, right: 5, bottom: 5},
201 bounds: {left: 0, top: 0, right: 1, bottom: 1},
202 screenBounds: {left: 0, top: 0, right: 1, bottom: 1},
[all …]
/development/tools/winscope/src/test/
Dutils.ts57 const {left, top} = target.getBoundingClientRect(); constant
59 dispatchMouseEvent(target, 'mousedown', left, top, 0, 0);
62 dispatchMouseEvent(document, 'mousemove', left + 1, top + 0, 1, y);
65 dispatchMouseEvent(document, 'mousemove', left + x, top + y, x, y);
68 dispatchMouseEvent(document, 'mouseup', left + x, top + y, x, y);
/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
24 GLVertex leftBottomBack = addVertex(left, bottom, back); in Cube()
26 GLVertex leftTopBack = addVertex(left, top, back); in Cube()
28 GLVertex leftBottomFront = addVertex(left, bottom, front); in Cube()
30 GLVertex leftTopFront = addVertex(left, top, front); in Cube()
/development/tools/motion/motion_test_watcher_app/src/util/
Dutil.ts55 left: Uint8Array,
58 if (left.byteLength != right.byteLength) return false;
60 for (let i = 0; i < left.byteLength; i++) {
61 if (left.at(i) != right.at(i)) return false;
/development/tools/winscope/src/trace/
Dgeometry_factory.ts23 const left = node.getChildByName('left')?.getValue() ?? 0; constant
27 return new Rect(left, top, right - left, bottom - top);
/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()
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DDragFrameLayout.java72 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { in DragFrameLayout()
73 super.onViewPositionChanged(changedView, left, top, dx, dy); in DragFrameLayout()
77 public int clampViewPositionHorizontal(View child, int left, int dx) { in DragFrameLayout()
78 return left; in DragFrameLayout()
/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()
158 mTmpContainerRect.left = leftPos + lp.leftMargin; in onLayout()
163 mTmpContainerRect.left = rightPos - width - lp.leftMargin; in onLayout()
164 rightPos = mTmpContainerRect.left; in onLayout()
166 mTmpContainerRect.left = middleLeft + lp.leftMargin; in onLayout()
177 child.layout(mTmpChildRect.left, mTmpChildRect.top, in onLayout()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java327 mCurrentViewport.left, in drawAxes()
370 mAxisYLinesBuffer[i * 4 + 0] = mContentRect.left; in drawAxes()
400 mContentRect.left - mLabelSeparation, in drawAxes()
517 return mContentRect.left in getDrawX()
519 * (x - mCurrentViewport.left) / mCurrentViewport.width(); in getDrawX()
537 mSeriesLinesBuffer[0] = mContentRect.left; in drawDataSeriesUnclipped()
538 mSeriesLinesBuffer[1] = getDrawY(fun(mCurrentViewport.left)); in drawDataSeriesUnclipped()
546 x = (mCurrentViewport.left + (mCurrentViewport.width() / DRAW_STEPS * i)); in drawDataSeriesUnclipped()
567 canvas.translate(mContentRect.left, mContentRect.top); in drawEdgeEffectsUnclipped()
577 canvas.translate(2 * mContentRect.left - mContentRect.right, mContentRect.bottom); in drawEdgeEffectsUnclipped()
[all …]
/development/tools/winscope/src/parsers/view_capture/computations/
Drects_computation_test.ts37 left: 0,
55 left: 0,
72 left: 0,
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DFixedGridLayout.java92 int left = x + ((cellWidth-w)/2); in onLayout() local
95 child.layout(left, top, left+w, top+h); in onLayout()
/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()
135 imageView.layout(left, top, left + imageWidth, top + imageHeight); in onLayout()
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
DFixedGridLayout.java103 int left = x + ((cellWidth-w)/2); in onLayout() local
106 child.layout(left, top, left+w, top+h); in onLayout()
/development/tools/winscope/src/viewers/components/
Dview_capture_property_groups_component_test.ts68 const left = assertDefined(coordinatesSection.querySelector('.left')); constant
69 expect(left.innerHTML).toContain('Left:');
70 expect(left.innerHTML).toContain('0');
173 left: '0',
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabStrip.java128 int left = selectedTitle.getLeft(); in onDraw() local
140 left = (int) (mSelectionOffset * nextTitle.getLeft() + in onDraw()
141 (1.0f - mSelectionOffset) * left); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabStrip.java128 int left = selectedTitle.getLeft(); in onDraw() local
140 left = (int) (mSelectionOffset * nextTitle.getLeft() + in onDraw()
141 (1.0f - mSelectionOffset) * left); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabStrip.java128 int left = selectedTitle.getLeft(); in onDraw() local
140 left = (int) (mSelectionOffset * nextTitle.getLeft() + in onDraw()
141 (1.0f - mSelectionOffset) * left); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabStrip.java128 int left = selectedTitle.getLeft(); in onDraw() local
140 left = (int) (mSelectionOffset * nextTitle.getLeft() + in onDraw()
141 (1.0f - mSelectionOffset) * left); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabStrip.java128 int left = selectedTitle.getLeft(); in onDraw() local
140 left = (int) (mSelectionOffset * nextTitle.getLeft() + in onDraw()
141 (1.0f - mSelectionOffset) * left); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabStrip.java128 int left = selectedTitle.getLeft(); in onDraw() local
140 left = (int) (mSelectionOffset * nextTitle.getLeft() + in onDraw()
141 (1.0f - mSelectionOffset) * left); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/tools/winscope/src/common/
Dpadding.ts24 left: number; property
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DUIAnimation.java98 startBounds.left -= deltaWidth; in zoomImageFromThumb()
118 .ofFloat(expandedImageView, View.X, startBounds.left, finalBounds.left)).with( in zoomImageFromThumb()
152 .ofFloat(expandedImageView, View.X, startBounds.left)) in zoomImageFromThumb()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DZoomActivity.java144 startBounds.left -= deltaWidth; in zoomImageFromThumb()
169 .play(ObjectAnimator.ofFloat(expandedImageView, View.X, startBounds.left, in zoomImageFromThumb()
170 finalBounds.left)) in zoomImageFromThumb()
205 .play(ObjectAnimator.ofFloat(expandedImageView, View.X, startBounds.left)) in zoomImageFromThumb()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java155 int left = v.getLeft(); in getAndAddHoverView() local
161 mHoverCellOriginalBounds = new Rect(left, top, left + w, top + h); in getAndAddHoverView()
266 mHoverCellCurrentBounds.offsetTo(mHoverCellOriginalBounds.left, in onTouchEvent()
400 mHoverCellCurrentBounds.offsetTo(mHoverCellOriginalBounds.left, mobileView.getTop()); in touchEventsEnded()
458 return new Rect(interpolate(startValue.left, endValue.left, fraction),
/development/samples/MotionMechanics/src/com/android/mechanics/demo/presentation/
DGuaranteeBoxDemo.kt217 val left = x() in rememberSpec() constant
219 val right = left + widthVal in rememberSpec()
221 return remember(scenario, inputOutputRange, config, left, widthVal, density) { in rememberSpec()
228 .toBreakpoint(left) in rememberSpec()
236 .toBreakpoint(min(left + minSize, right)) in rememberSpec()
244 .toBreakpoint(min(left + minSize, right)) in rememberSpec()

1234