Home
last modified time | relevance | path

Searched refs:left (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
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/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;
295 let left = 0; variable
297 let mid = Math.floor((left + right) / 2);
299 while (left < right) {
303 left = mid + 1;
307 mid = Math.floor((left + right) / 2);
310 const candidateElements = this.timeline.slice(left - 1, right + 2);
312 this.indexOfClosestElementTo(ts, candidateElements) + (left - 1);
/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/tools/winscope/src/
Dmatrix_utils.js37 const leftTop = multiplyVec2(matrix, rect.left, rect.top);
39 const leftBottom = multiplyVec2(matrix, rect.left, rect.bottom);
43 outrect.left = Math.min(leftTop.x, rightTop.x, leftBottom.x, rightBottom.x);
/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/vndk/tools/definition-tool/assets/visual/
Ddep-graph.css86 text-align: left;
103 text-align: left;
118 text-align: left;
125 left: 20px;
136 float: left;
/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/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()
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/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/flickerlib/
Dcommon.js157 const left = proto?.left ?? 0;
161 if (left || top || right || bottom) {
162 return new Rect(left, top, right, bottom);
172 const left = proto?.left ?? 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.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/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/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/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/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/browseable/Flashlight/
D_index.jd9 a party-mode option (swipe left), if you want to make things interesting.
/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/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DCurvedMotion.java69 int left = mButton.getLeft(); in onCreate()
71 int deltaX = left - oldLeft; in onCreate()
/development/samples/SampleSyncAdapter/samplesyncadapter_server/static/css/
Dmain.css26 text-align: left;
54 text-align: left;

123