Home
last modified time | relevance | path

Searched refs:bottom (Results 1 – 25 of 38) sorted by relevance

12

/development/tools/winscope/src/
Dtransform_sf.js41 bottom: size.h
46 var crop = layer.crop || {left: 0, top: 0, right: 0 , bottom:0};
51 bottom: crop.bottom || 0
60 bottom: Math.min(crop.bottom, bounds.bottom),
68 var bottom = rect.bottom || 0;
70 return (right - left) <= 0 || (bottom - top) <= 0;
85 return parentBounds || { left: 0, right: 0, top: 0, bottom: 0 };
91 bottom: bounds.bottom - (bounds.top - y),
122 (rect.left - rect.right === 0 || rect.top - rect.bottom === 0);
186 bounds = {width: layer.sourceBounds.right, height: layer.sourceBounds.bottom};
[all …]
Dtransform_wm.js29 bottom: r.bottom || 0,
/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/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/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/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/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/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/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/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()
/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()
DRegions.java90 r.right - inset, r.bottom - inset, p); in drawCentered()
/development/samples/browseable/BorderlessButtons/
D_index.jd8 This sample demonstrates the use of borderless buttons, bottom button bars
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java234 int childHeight = startBounds.bottom - startBounds.top + getDividerHeight(); in addRow()
368 interpolate(startValue.bottom, endValue.bottom, fraction));
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java183 int bottom = top + mDivider.getIntrinsicHeight(); in onDrawOver() local
184 mDivider.setBounds(left, top, right, bottom); in onDrawOver()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java81 (int) (mTempRect.right +.5f), (int) (mTempRect.bottom + .5f)); in invalidateSkewedBounds()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCardBoundsWatchFaceService.java95 mCardBounds.bottom + BORDER_WIDTH_PX, mPaint); in onDraw()
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DShadowLayout.java109 tempShadowRectF.bottom = child.getHeight(); in onDraw()

12