/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | Cube.java | 22 …public Cube(GLWorld world, float left, float bottom, float back, float right, float top, float fro… in Cube() argument 26 GLVertex leftTopBack = addVertex(left, top, back); in Cube() 27 GLVertex rightTopBack = addVertex(right, top, back); in Cube() 30 GLVertex leftTopFront = addVertex(left, top, front); in Cube() 31 GLVertex rightTopFront = addVertex(right, top, front); in Cube()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | RecyclerViewActivity.java | 118 int top = oldTop; in onLayoutChildren() local 124 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) { in onLayoutChildren() 128 bottom = top + getDecoratedMeasuredHeight(v); in onLayoutChildren() 129 layoutDecorated(v, left, top, right, bottom); in onLayoutChildren() 167 final int top = bottom - getDecoratedMeasuredHeight(v); in scrollVerticallyBy() local 168 layoutDecorated(v, left, top, right, bottom); in scrollVerticallyBy() 184 final int top = getDecoratedBottom(getChildAt(getChildCount() - 1)); in scrollVerticallyBy() local 187 final int bottom = top + getDecoratedMeasuredHeight(v); in scrollVerticallyBy() 188 layoutDecorated(v, left, top, right, bottom); in scrollVerticallyBy() 219 final int top = bottom - getDecoratedMeasuredHeight(v); in onFocusSearchFailed() local [all …]
|
D | AnimatedRecyclerView.java | 216 int top = oldTop; in onLayoutChildren() local 217 int bottom = top; in onLayoutChildren() 222 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) { in onLayoutChildren() 228 bottom = top + v.getMeasuredHeight(); in onLayoutChildren() 229 v.layout(left, top, right, bottom); in onLayoutChildren() 305 final int top = bottom - v.getMeasuredHeight(); in scrollVerticallyBy() local 306 v.layout(left, top, right, bottom); in scrollVerticallyBy() 321 final int top = getChildAt(getChildCount() - 1).getBottom(); in scrollVerticallyBy() local 324 final int bottom = top + v.getMeasuredHeight(); in scrollVerticallyBy() 325 v.layout(left, top, right, bottom); in scrollVerticallyBy() [all …]
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
D | MosaicTypes.h | 37 left = right = top = bottom = 0.0; in MosaicRect() 47 return bottom - top; in Height() 53 int left, right, top, bottom; variable 59 double lft, rgt, top, bot;
|
D | Geometry.h | 37 if (y > brect.top) brect.top = y; in ClipRect() 45 if (rrect.top > brect.top) brect.top = rrect.top; in ClipRect()
|
D | Blend.cpp | 134 global_rect.rgt = global_rect.top = -2e30; // max values in runBlend() 208 fullRect.top = (int) floor(global_rect.bot); // min-y in runBlend() 210 fullRect.bottom = (int) ceil(global_rect.top);// max-y in runBlend() 212 Mheight = (unsigned short) (fullRect.bottom - fullRect.top + 1); in runBlend() 221 yTopMost = max(0, max(yTopCorners[0], yTopCorners[1]) - fullRect.top + 1); in runBlend() 222 yBottomMost = min(Mheight - 1, min(yBottomCorners[0], yBottomCorners[1]) - fullRect.top - 1); in runBlend() 266 cropping_rect.top = yTopMost; in runBlend() 286 mosaicHeight = cropping_rect.bottom - cropping_rect.top + 1; in runBlend() 594 for (j = cropping_rect.top; j <= cropping_rect.bottom; j++) in CropFinalMosaic() 602 for (j = cropping_rect.top; j <= cropping_rect.bottom; j++) in CropFinalMosaic() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixStack.java | 42 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 50 fixedToFloat(bottom), fixedToFloat(top), 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 110 fixedToFloat(bottom), fixedToFloat(top), in glOrthox()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/ |
D | DividerItemDecoration.java | 75 final int top = child.getBottom() + params.bottomMargin + in drawVertical() local 77 final int bottom = top + mDivider.getIntrinsicHeight(); in drawVertical() 78 mDivider.setBounds(left, top, right, bottom); in drawVertical() 84 final int top = parent.getPaddingTop(); in drawHorizontal() local 95 mDivider.setBounds(left, top, right, bottom); in drawHorizontal()
|
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
D | DragFrameLayout.java | 72 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() 82 public int clampViewPositionVertical(View child, int top, int dy) { in DragFrameLayout() 83 return top; in DragFrameLayout()
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
D | ExpandingListView.java | 103 private int[] getTopAndBottomTranslations(int top, int bottom, int yDelta, in getTopAndBottomTranslations() argument 108 int height = bottom - top; in getTopAndBottomTranslations() 111 boolean isOverTop = top < 0; in getTopAndBottomTranslations() 112 boolean isBelowBottom = (top + height + yDelta) > getHeight(); in getTopAndBottomTranslations() 114 yTranslateTop = top; in getTopAndBottomTranslations() 117 int deltaBelow = top + height + yDelta - getHeight(); in getTopAndBottomTranslations() 118 yTranslateTop = top - deltaBelow < 0 ? top : deltaBelow; in getTopAndBottomTranslations() 528 int top = view.getTop(); 531 int endTop = (int)(top + translateTop); 534 PropertyValuesHolder translationTop = PropertyValuesHolder.ofInt("top", top, endTop);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | FixedGridLayout.java | 93 int top = y + ((cellHeight-h)/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/ |
D | AnimatedNotificationDisplayActivity.java | 120 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/ |
D | FixedGridLayout.java | 104 int top = y + ((cellHeight-h)/2); in onLayout() local 106 child.layout(left, top, left+w, top+h); in onLayout()
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | BackgroundContainer.java | 51 public void showBackground(int top, int bottom) { in showBackground() argument 53 mOpenAreaTop = top; in showBackground()
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | BackgroundContainer.java | 52 public void showBackground(int top, int bottom) { in showBackground() argument 54 mOpenAreaTop = top; in showBackground()
|
D | ListViewRemovalAnimation.java | 204 int top = child.getTop(); in animateRemoval() 206 if (startTop != top) { in animateRemoval() 207 int delta = startTop - top; in animateRemoval() 226 startTop = top + (i > 0 ? childHeight : -childHeight); in animateRemoval() 227 int delta = startTop - top; in animateRemoval()
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
D | InsertionListView.java | 196 int top = child.getTop(); in addRow() 201 int startTop = startRect.top; in addRow() 202 int delta = startTop - top; in addRow() 211 int startTop = top + (i > 0 ? childHeight : -childHeight); in addRow() 212 int delta = startTop - top; in addRow() 234 int childHeight = startBounds.bottom - startBounds.top + getDividerHeight(); in addRow() 366 interpolate(startValue.top, endValue.top, fraction),
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | InternalSelectionView.java | 185 final int top = getPaddingTop() + row * rowHeight; in getRectForRow() local 187 top, in getRectForRow() local 189 top + rowHeight); in getRectForRow() 248 int y = previouslyFocusedRect.top in onFocusChanged()
|
D | CustomLayout.java | 133 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument 146 final int parentBottom = bottom - top - getPaddingBottom(); in onLayout() 169 mTmpContainerRect.top = parentTop + lp.topMargin; in onLayout() 177 child.layout(mTmpChildRect.left, mTmpChildRect.top, in onLayout()
|
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
D | DynamicListView.java | 154 int top = v.getTop(); in getAndAddHoverView() local 161 mHoverCellOriginalBounds = new Rect(left, top, left + w, top + h); in getAndAddHoverView() 267 mHoverCellOriginalBounds.top + deltaY + mTotalOffset); in onTouchEvent() 315 int deltaYTotal = mHoverCellOriginalBounds.top + mTotalOffset + deltaY; in handleCellSwitch() 459 interpolate(startValue.top, endValue.top, fraction), 487 int hoverViewTop = r.top; in handleMobileCellScroll()
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
D | InteractiveLineGraphView.java | 248 mLabelHeight = (int) Math.abs(mLabelTextPaint.getFontMetrics().top); in initPaints() 332 mCurrentViewport.top, in drawAxes() 363 mAxisXLinesBuffer[i * 4 + 1] = mContentRect.top; in drawAxes() 528 * (y - mCurrentViewport.top) / mCurrentViewport.height(); in getDrawY() 567 canvas.translate(mContentRect.left, mContentRect.top); in drawEdgeEffectsUnclipped() 599 canvas.translate(mContentRect.right, mContentRect.top); in drawEdgeEffectsUnclipped() 634 mCurrentViewport.top in hitTest() 689 mCurrentViewport.bottom = mCurrentViewport.top + newHeight; 705 mCurrentViewport.top = Math.max(AXIS_Y_MIN, mCurrentViewport.top); in constrainViewport() 706 mCurrentViewport.bottom = Math.max(Math.nextUp(mCurrentViewport.top), in constrainViewport() [all …]
|
/development/ndk/platforms/android-9/include/android/ |
D | rect.h | 32 int32_t top; member
|
/development/ndk/platforms/android-14/include/android/ |
D | rect.h | 32 int32_t top; member
|
/development/ndk/platforms/android-16/include/android/ |
D | rect.h | 32 int32_t top; member
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | ZoomActivity.java | 151 startBounds.top -= deltaHeight; in zoomImageFromThumb() 171 .with(ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, in zoomImageFromThumb() 172 finalBounds.top)) in zoomImageFromThumb() 206 .with(ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top)) in zoomImageFromThumb()
|