Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 46) sorted by relevance

12

/development/tools/winscope/src/
Dtransform_sf.js40 top: 0,
46 var crop = layer.crop || {left: 0, top: 0, right: 0 , bottom:0};
50 top: crop.top || 0,
59 top: Math.max(crop.top, bounds.top),
67 var top = rect.top || 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),
93 top: y,
122 (rect.left - rect.right === 0 || rect.top - rect.bottom === 0);
[all …]
/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
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/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/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()
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/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DDragFrameLayout.java72 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/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java196 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/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java248 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/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()
135 imageView.layout(left, top, left + imageWidth, top + imageHeight); in onLayout()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DListViewRemovalAnimation.java204 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()
DBackgroundContainer.java52 public void showBackground(int top, int bottom) { in showBackground() argument
54 mOpenAreaTop = top; in showBackground()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java154 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/ApiDemos/src/com/example/android/apis/animation/
DFixedGridLayout.java93 int top = y + ((cellHeight-h)/2); in onLayout() local
95 child.layout(left, top, left+w, top+h); in onLayout()
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/FixedGridLayout/src/com/example/android/fixedgridlayout/
DFixedGridLayout.java104 int top = y + ((cellHeight-h)/2); in onLayout() local
106 child.layout(left, top, left+w, top+h); in onLayout()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DInternalSelectionView.java185 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()
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()
169 mTmpContainerRect.top = parentTop + lp.topMargin; in onLayout()
177 child.layout(mTmpChildRect.left, mTmpChildRect.top, in onLayout()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DZoomActivity.java151 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()
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DUIAnimation.java104 startBounds.top -= deltaHeight; in zoomImageFromThumb()
119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds in zoomImageFromThumb()
120 .top)).with( in zoomImageFromThumb()
155 View.Y, startBounds.top)) in zoomImageFromThumb()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DBackgroundContainer.java51 public void showBackground(int top, int bottom) { in showBackground() argument
53 mOpenAreaTop = top; in showBackground()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DDeviceListFragment.java127 TextView top = (TextView) v.findViewById(R.id.device_name); in getView() local
129 if (top != null) { in getView()
130 top.setText(device.deviceName); in getView()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java182 int top = child.getBottom() + params.bottomMargin; in onDrawOver() local
183 int bottom = top + mDivider.getIntrinsicHeight(); in onDrawOver()
184 mDivider.setBounds(left, top, right, bottom); in onDrawOver()
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DCurvedMotion.java70 int top = mButton.getTop(); in onCreate()
72 int deltaY = top - oldTop; in onCreate()
/development/tools/axl/
Dchewperf.py71 top = max(buckets.keys())
72 for x in range(top):
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.css26 top: 0px;
80 vertical-align: top;

12