Home
last modified time | relevance | path

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

1234

/development/tools/ota_analysis/src/services/
Dmap_parser.js59 let /** Number */ left = 0
62 left = parseInt(elements[j].match(/\d+/g)[0])
65 left = parseInt(elements[j].match(regexNumber))
68 InsertMap(map, elements[0], left, right)
103 function InsertMap(map, name, left, right) { argument
104 for (let i = left; i <= right; i++) {
115 function queryMap(map, left, right) { argument
118 if (!map[left]) {
121 return map[left]
Decharts_data.js43 left: "center" property
51 left: "top", property
/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/tools/winscope/src/parsers/surface_flinger/computations/
Dvisibility_properties_computation_test.ts45 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]},
96 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]},
143 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]},
172 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]},
202 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]},
258 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]},
308 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]},
360 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]},
361 bounds: {left: 0, right: 0, top: 0, bottom: 0},
459 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 0}]},
[all …]
Drects_computation_test.ts44 bounds: {left: 0, top: 0, right: 1, bottom: 1},
58 bounds: {left: 0, top: 0, right: 2, bottom: 2},
75 bounds: {left: 0, top: 0, right: 5, bottom: 5},
164 bounds: {left: 0, top: 0, right: 1, bottom: 1},
179 bounds: {left: 0, top: 0, right: 1, bottom: 1},
248 layerStackSpaceRect: {left: 0, top: 0, right: 5, bottom: 5},
287 layerStackSpaceRect: {left: 0, top: 0, right: 5, bottom: 5},
293 layerStackSpaceRect: {left: 0, top: 0, right: 5, bottom: 5},
351 bounds: {left: 0, top: 0, right: 1, bottom: 1},
366 bounds: {left: 0, top: 0, right: 2, bottom: 2},
[all …]
/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/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/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/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/tools/winscope/src/parsers/view_capture/computations/
Drects_computation_test.ts37 left: 0,
55 left: 0,
72 left: 0,
/development/tools/motion/motion_test_watcher_app/src/app/
Dapp.component.scss18 margin-left: 8px;
32 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.ts69 const left = assertDefined(coordinatesSection.querySelector('.left')); constant
70 expect(left.innerHTML).toContain('Left:');
71 expect(left.innerHTML).toContain('0');
174 left: '0',
/development/tools/winscope/src/common/
Drect.ts29 const left = node.getChildByName('left')?.getValue() ?? 0; constant
33 return new Rect(left, top, right - left, bottom - top);
/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/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/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/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/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()

1234