Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 52) 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/
Dtransform_sf.js39 left: 0,
47 var crop = layer.crop || {left: 0, top: 0, right: 0 , bottom:0};
49 left: crop.left || 0,
58 left: Math.max(crop.left, bounds.left),
67 var left = rect.left || 0;
71 return (right - left) <= 0 || (bottom - top) <= 0;
86 return parentBounds || { left: 0, right: 0, top: 0, bottom: 0 };
91 right: bounds.right - (bounds.left - x),
93 left: x,
239 transform_layer(r, {parentBounds: {left: 0, right: 0, top: 0, bottom: 0}, property
/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/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/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/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/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()
/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;
/development/samples/browseable/FindMyPhone/
D_index.jd8 This sample application notifies you when you may have left your phone behind

123