Searched refs:bottom (Results 1 - 25 of 50) sorted by relevance

12

/development/ndk/platforms/android-14/include/android/
H A Drect.h34 int32_t bottom; member in struct:ARect
/development/ndk/platforms/android-16/include/android/
H A Drect.h34 int32_t bottom; member in struct:ARect
/development/ndk/platforms/android-9/include/android/
H A Drect.h34 int32_t bottom; member in struct:ARect
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
H A DCube.java22 public Cube(GLWorld world, float left, float bottom, float back, float right, float top, float front) { argument
24 GLVertex leftBottomBack = addVertex(left, bottom, back);
25 GLVertex rightBottomBack = addVertex(right, bottom, back);
28 GLVertex leftBottomFront = addVertex(left, bottom, front);
29 GLVertex rightBottomFront = addVertex(right, bottom, front);
34 // bottom
/development/samples/SampleSyncAdapter/samplesyncadapter_server/static/css/
H A Dmain.css36 border-bottom: solid 1px #ccc;
49 margin-bottom: 20px;
67 border-bottom: solid 1px #000;
71 border-bottom: solid 1px #eee;
/development/perftests/panorama/feature_mos/src/mosaic/
H A DMosaicTypes.h37 left = right = top = bottom = 0.0;
47 return bottom - top;
53 int left, right, top, bottom; member in class:MosaicRect
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java119 int bottom;
124 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) {
128 bottom = top + getDecoratedMeasuredHeight(v);
129 layoutDecorated(v, left, top, right, bottom);
166 final int bottom = getDecoratedTop(topView);
167 final int top = bottom - getDecoratedMeasuredHeight(v);
168 layoutDecorated(v, left, top, right, bottom);
187 final int bottom = top + getDecoratedMeasuredHeight(v);
188 layoutDecorated(v, left, top, right, bottom);
216 final int bottom
[all...]
H A DAnimatedRecyclerView.java217 int bottom = top;
222 for (int i = 0; mFirstPosition + i < count && top < parentBottom; i++, top = bottom) {
228 bottom = top + v.getMeasuredHeight();
229 v.layout(left, top, right, bottom);
304 final int bottom = topView.getTop(); // TODO decorated top?
305 final int top = bottom - v.getMeasuredHeight();
306 v.layout(left, top, right, bottom);
324 final int bottom = top + v.getMeasuredHeight();
325 v.layout(left, top, right, bottom);
353 final int bottom
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DFocus3.java35 mBottomButton = (Button) findViewById(R.id.bottom);
H A DCustomLayout.java133 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
144 // These are the top and bottom edges in which we are performing layout.
146 final int parentBottom = bottom - top - getPaddingBottom();
170 mTmpContainerRect.bottom = parentBottom - lp.bottomMargin;
178 mTmpChildRect.right, mTmpChildRect.bottom);
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/
H A DDividerItemDecoration.java77 final int bottom = top + mDivider.getIntrinsicHeight();
78 mDivider.setBounds(left, top, right, bottom);
85 final int bottom = parent.getHeight() - parent.getPaddingBottom();
95 mDivider.setBounds(left, top, right, bottom);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
H A DMatrixStack.java42 public void glFrustumf(float left, float right, float bottom, float top, argument
44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far);
47 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
50 fixedToFloat(bottom), fixedToFloat(top),
102 public void glOrthof(float left, float right, float bottom, float top, argument
104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far);
107 public void glOrthox(int left, int right, int bottom, int top, int near, argument
110 fixedToFloat(bottom), fixedToFloat(top),
H A DMatrixTrackingGL.java260 public void glFrustumf(float left, float right, float bottom, float top, argument
262 mCurrent.glFrustumf(left, right, bottom, top, near, far);
263 mgl.glFrustumf(left, right, bottom, top, near, far);
267 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
269 mCurrent.glFrustumx(left, right, bottom, top, near, far);
270 mgl.glFrustumx(left, right, bottom, top, near, far);
490 public void glOrthof(float left, float right, float bottom, float top, argument
492 mCurrent.glOrthof(left, right, bottom, top, near, far);
493 mgl.glOrthof(left, right, bottom, top, near, far);
497 public void glOrthox(int left, int right, int bottom, in argument
[all...]
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
H A DBackgroundContainer.java51 public void showBackground(int top, int bottom) { argument
54 mOpenAreaHeight = bottom;
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
H A DBackgroundContainer.java52 public void showBackground(int top, int bottom) { argument
55 mOpenAreaHeight = bottom;
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
H A DInteractiveLineGraphView.java106 * The currently visible chart Y values are from this rectangle's top to its bottom.
108 * Note that this rectangle's top is actually the smaller Y value, and its bottom is the larger
111 * above this rectangle's "bottom" value.
333 mCurrentViewport.bottom,
365 mAxisXLinesBuffer[i * 4 + 3] = mContentRect.bottom;
388 mContentRect.bottom + mLabelHeight + mLabelSeparation,
526 return mContentRect.bottom
577 canvas.translate(2 * mContentRect.left - mContentRect.right, mContentRect.bottom);
588 canvas.translate(mContentRect.left, mContentRect.bottom);
636 * (y - mContentRect.bottom) /
[all...]
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
H A DDeviceListFragment.java128 TextView bottom = (TextView) v.findViewById(R.id.device_details);
132 if (bottom != null) {
133 bottom.setText(getDeviceStatus(device.status));
/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DPathAnimations.java122 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
222 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
223 super.onLayout(changed, left, top, right, bottom);
227 float scaleHeight= (bottom-top)/TRAVERSE_PATH_SIZE;
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java80 // Adds an item at the bottom-right quarter of the custom view.
140 * @param bottom Bottom coordinate as a fraction of the parent height,
145 public void addItem(String description, float top, float left, float bottom, float right) { argument
147 item.bounds = new RectF(top, left, bottom, right);
221 out.bottom = (int) (in.bottom * height);
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
H A DSkewableTextView.java81 (int) (mTempRect.right +.5f), (int) (mTempRect.bottom + .5f));
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
H A DExpandingListView.java87 * Calculates the top and bottom bound changes of the selected item. These values are
99 * full contents are visible. Lastly, this behaviour varies slightly near the bottom
100 * of the listview in order to account for the fact that the bottom bounds of the actual
103 private int[] getTopAndBottomTranslations(int top, int bottom, int yDelta, argument
108 int height = bottom - top;
128 boolean isCellCompletelyDisappearing = bottom - yTranslateBottom < 0;
134 yTranslateBottom = bottom;
147 * 1. Store the current top and bottom bounds of each visible item in the listview.
180 /* Store the original top and bottom bounds of all the cells.*/
376 /* Store the original top and bottom bound
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DColorFilters.java51 int center = (r.top + r.bottom) >> 1;
130 float y = (r.top + r.bottom) * 0.5f - mPaintTextOffset;
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
H A DAnimatedNotificationDisplayActivity.java120 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
127 int minSize = Math.max(right - left, bottom - top) + mZoomLength;
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
H A DCardBoundsWatchFaceService.java95 mCardBounds.bottom + BORDER_WIDTH_PX, mPaint);
/development/samples/Home/src/com/example/android/home/
H A DApplicationsStackLayout.java49 * The layout operates from the "bottom up" (or from right to left.) This means that the button
59 * marginBottom: the bottom margin of each element in the stack
135 final int bottom = getHeight();
141 mDrawRect.set(0, 0, mFavoritesStart, bottom);
151 mDrawRect.set(mFavoritesStart, 0, mFavoritesEnd, bottom);

Completed in 481 milliseconds

12