Home
last modified time | relevance | path

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

12

/development/tools/winscope/src/mixins/
DFocusedDataViewFinder.js74 screenSpace = Math.min(visibleHeight, pos.bottom) - pos.top;
75 } else if (0 <= pos.bottom && pos.bottom <= visibleHeight) {
76 screenSpace = pos.bottom - Math.max(0, pos.top);
77 } else if (pos.top <= 0 && pos.bottom >= visibleHeight) {
/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/tools/winscope/src/
Dsf_visibility.js52 const bottom = rect.bottom || 0;
54 return (right - left) <= 0 || (bottom - top) <= 0;
59 (rect.left - rect.right === 0 || rect.top - rect.bottom === 0);
208 rectA.top < rectB.bottom && rectA.bottom > rectA.top;
220 inner.right <= outer.right && inner.bottom <= outer.bottom;
239 …globalState.screenBounds = {left: 0, top: 0, bottom: layer.sourceBounds.bottom, right: layer.sourc… property
325 layer.bounds = {left: 0, top: 0, right: 0, bottom: 0}; property
Dmatrix_utils.js193 var left_bottom = multiply_vec2(matrix, rect.left, rect.bottom);
194 var right_bottom = multiply_vec2(matrix, rect.right, rect.bottom);
200 outrect.bottom = Math.max(left_top.y, right_top.y, left_bottom.y, right_bottom.y);
Dtransform_sf.js55 bottom: bounds.bottom - (bounds.top - y),
178 parentBounds: {left: 0, right: 0, top: 0, bottom: 0}, property
/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/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/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/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/browseable/BorderlessButtons/
D_index.jd8 This sample demonstrates the use of borderless buttons, bottom button bars
/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/app/
DPictureInPictureSourceRectHint.java72 (v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> { in onCreate() argument
74 && bottom == oldBottom) return; in onCreate()
/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/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java81 (int) (mTempRect.right +.5f), (int) (mTempRect.bottom + .5f)); in invalidateSkewedBounds()
/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/tools/winscope/src/flickerlib/
Dcommon.js97 return new Rect(proto.left ?? 0, proto.top ?? 0, proto.right ?? 0, proto.bottom ?? 0)
104 return new RectF(proto.left ?? 0, proto.top ?? 0, proto.right ?? 0, proto.bottom ?? 0)
/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()

12