Home
last modified time | relevance | path

Searched refs:bottom (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()
25 GLVertex rightBottomBack = addVertex(right, bottom, back); in Cube()
28 GLVertex leftBottomFront = addVertex(left, bottom, front); in Cube()
29 GLVertex rightBottomFront = addVertex(right, bottom, front); in Cube()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java119 int bottom; 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()
166 final int bottom = getDecoratedTop(topView); in scrollVerticallyBy() local
167 final int top = bottom - getDecoratedMeasuredHeight(v); in scrollVerticallyBy()
168 layoutDecorated(v, left, top, right, bottom); in scrollVerticallyBy()
187 final int bottom = top + getDecoratedMeasuredHeight(v); in scrollVerticallyBy() local
188 layoutDecorated(v, left, top, right, bottom); in scrollVerticallyBy()
216 final int bottom = getDecoratedTop(getChildAt(0)); in onFocusSearchFailed() local
[all …]
DAnimatedRecyclerView.java461 int bottom = top; in onLayoutChildren() local
466 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) { in onLayoutChildren()
472 bottom = top + v.getMeasuredHeight(); in onLayoutChildren()
473 v.layout(left, top, right, bottom); in onLayoutChildren()
548 final int bottom = topView.getTop(); // TODO decorated top? in scrollVerticallyBy() local
549 final int top = bottom - v.getMeasuredHeight(); in scrollVerticallyBy()
550 v.layout(left, top, right, bottom); in scrollVerticallyBy()
568 final int bottom = top + v.getMeasuredHeight(); in scrollVerticallyBy() local
569 v.layout(left, top, right, bottom); in scrollVerticallyBy()
597 final int bottom = getChildAt(0).getTop(); // TODO decorated top? in onFocusSearchFailed() local
[all …]
/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
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()
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/perftests/panorama/feature_mos/src/mosaic/
DMosaicTypes.h37 left = right = top = bottom = 0.0; in MosaicRect()
47 return bottom - top; in Height()
53 int left, right, top, bottom; variable
/development/samples/SampleSyncAdapter/samplesyncadapter_server/static/css/
Dmain.css36 border-bottom: solid 1px #ccc;
49 margin-bottom: 20px;
67 border-bottom: solid 1px #000;
71 border-bottom: solid 1px #eee;
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/
DDividerItemDecoration.java77 final int bottom = top + mDivider.getIntrinsicHeight(); in drawVertical() local
78 mDivider.setBounds(left, top, right, bottom); in drawVertical()
85 final int bottom = parent.getHeight() - parent.getPaddingBottom(); in drawHorizontal() local
95 mDivider.setBounds(left, top, right, bottom); in drawHorizontal()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DBackgroundContainer.java52 public void showBackground(int top, int bottom) { in showBackground() argument
55 mOpenAreaHeight = bottom; in showBackground()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DBackgroundContainer.java51 public void showBackground(int top, int bottom) { in showBackground() argument
54 mOpenAreaHeight = bottom; in showBackground()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java333 mCurrentViewport.bottom, in drawAxes()
365 mAxisXLinesBuffer[i * 4 + 3] = mContentRect.bottom; in drawAxes()
388 mContentRect.bottom + mLabelHeight + mLabelSeparation, in drawAxes()
526 return mContentRect.bottom in getDrawY()
577 canvas.translate(2 * mContentRect.left - mContentRect.right, mContentRect.bottom); in drawEdgeEffectsUnclipped()
588 canvas.translate(mContentRect.left, mContentRect.bottom); in drawEdgeEffectsUnclipped()
636 * (y - mContentRect.bottom) / -mContentRect.height()); in hitTest()
684 - newHeight * (mContentRect.bottom - focusY)
689 mCurrentViewport.bottom = mCurrentViewport.top + newHeight;
706 mCurrentViewport.bottom = Math.max(Math.nextUp(mCurrentViewport.top), in constrainViewport()
[all …]
/development/ndk/platforms/android-9/include/android/
Drect.h34 int32_t bottom; member
/development/ndk/platforms/android-14/include/android/
Drect.h34 int32_t bottom; member
/development/ndk/platforms/android-16/include/android/
Drect.h34 int32_t bottom; member
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingListView.java103 private int[] getTopAndBottomTranslations(int top, int bottom, int yDelta, in getTopAndBottomTranslations() argument
108 int height = bottom - top; in getTopAndBottomTranslations()
128 boolean isCellCompletelyDisappearing = bottom - yTranslateBottom < 0; in getTopAndBottomTranslations()
134 yTranslateBottom = bottom; in getTopAndBottomTranslations()
529 int bottom = view.getBottom();
532 int endBottom = (int)(bottom + translateBottom);
535 PropertyValuesHolder translationBottom = PropertyValuesHolder.ofInt("bottom", bottom,
/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
146 final int parentBottom = bottom - top - getPaddingBottom(); in onLayout()
170 mTmpContainerRect.bottom = parentBottom - lp.bottomMargin; in onLayout()
178 mTmpChildRect.right, mTmpChildRect.bottom); in onLayout()
DFocus3.java35 mBottomButton = (Button) findViewById(R.id.bottom); in onCreate()
/development/samples/browseable/BorderlessButtons/
D_index.jd8 This sample demonstrates the use of borderless buttons, bottom button bars
/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()
221 out.bottom = (int) (in.bottom * height); in scaleRectF()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
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()
226 float scaleHeight= (bottom-top)/TRAVERSE_PATH_SIZE; in onLayout()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DDeviceListFragment.java128 TextView bottom = (TextView) v.findViewById(R.id.device_details); in getView() local
132 if (bottom != null) { in getView()
133 bottom.setText(getDeviceStatus(device.status)); in getView()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java198 int height = size.y + systemInsets.top + systemInsets.bottom; in calculateBottomInsetsOnRoundDevice()
204 int bottomInset = systemInsets.bottom > minInset ? systemInsets.bottom : minInset; in calculateBottomInsetsOnRoundDevice()
/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()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorFilters.java51 int center = (r.top + r.bottom) >> 1; in addToTheRight()
130 float y = (r.top + r.bottom) * 0.5f - mPaintTextOffset; in drawSample()
/development/samples/Home/src/com/example/android/home/
DApplicationsStackLayout.java135 final int bottom = getHeight(); in onDraw() local
141 mDrawRect.set(0, 0, mFavoritesStart, bottom); in onDraw()
151 mDrawRect.set(mFavoritesStart, 0, mFavoritesEnd, bottom); in onDraw()

123