Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 73) 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/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/Support7Demos/src/com/example/android/supportv7/widget/decorator/
DDividerItemDecoration.java67 final int left = parent.getPaddingLeft(); in drawVertical() local
78 mDivider.setBounds(left, top, right, bottom); in drawVertical()
92 final int left = child.getRight() + params.rightMargin + in drawHorizontal() local
94 final int right = left + mDivider.getIntrinsicHeight(); in drawHorizontal()
95 mDivider.setBounds(left, top, right, bottom); in drawHorizontal()
/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/perftests/panorama/feature_mos/src/mosaic/
DMosaicTypes.h37 left = right = top = bottom = 0.0; in MosaicRect()
42 return right - left; in Width()
53 int left, right, top, bottom; variable
/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()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java120 final int left = getPaddingLeft(); in onLayoutChildren() local
129 layoutDecorated(v, left, top, right, bottom); in onLayoutChildren()
152 final int left = getPaddingLeft(); in scrollVerticallyBy() local
168 layoutDecorated(v, left, top, right, bottom); in scrollVerticallyBy()
188 layoutDecorated(v, left, top, right, bottom); in scrollVerticallyBy()
207 final int left = getPaddingLeft(); in onFocusSearchFailed() local
220 layoutDecorated(v, left, top, right, bottom); in onFocusSearchFailed()
235 layoutDecorated(v, left, top, right, bottom); in onFocusSearchFailed()
/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/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/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/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/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/ndk/platforms/android-9/include/android/
Drect.h31 int32_t left; member
/development/ndk/platforms/android-14/include/android/
Drect.h31 int32_t left; member
/development/ndk/platforms/android-16/include/android/
Drect.h31 int32_t left; member
/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/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/Support4Demos/src/com/example/android/supportv4/widget/
DExploreByTouchHelperActivity.java145 public void addItem(String description, float top, float left, float bottom, float right) { in addItem() argument
147 item.bounds = new RectF(top, left, bottom, right); in addItem()
222 out.left = (int) (in.left * width); in scaleRectF()

123