/development/tools/winscope/src/mixins/ |
D | FocusedDataViewFinder.js | 73 if (0 <= pos.top && pos.top <= visibleHeight) { 74 screenSpace = Math.min(visibleHeight, pos.bottom) - pos.top; 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/ |
D | Cube.java | 22 …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/scripts/ |
D | codegen | 3 top="$(dirname $0)/../.." 6 $top/build/soong/soong_ui.bash --build-mode --all-modules --dir="$PWD" -j codegen_cli 1>&2 13 …latestVersion=$(cat $top/frameworks/base/tools/codegen/src/com/android/codegen/SharedConstants.kt …
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixStack.java | 42 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()
|
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
D | DragFrameLayout.java | 72 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/tools/winscope/src/ |
D | sf_visibility.js | 51 const top = rect.top || 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; 219 return inner.left >= outer.left && inner.top >= outer.top && 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
|
D | matrix_utils.js | 191 var left_top = multiply_vec2(matrix, rect.left, rect.top); 192 var right_top = multiply_vec2(matrix, rect.right, rect.top); 198 outrect.top = Math.min(left_top.y, right_top.y, left_bottom.y, right_bottom.y);
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
D | ExpandingListView.java | 103 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/ApiDemos/src/com/example/android/apis/animation/ |
D | FixedGridLayout.java | 93 int top = y + ((cellHeight-h)/2); in onLayout() local 95 child.layout(left, top, left+w, top+h); in onLayout()
|
D | PathAnimations.java | 121 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/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
D | AnimatedNotificationDisplayActivity.java | 120 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/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
D | FixedGridLayout.java | 104 int top = y + ((cellHeight-h)/2); in onLayout() local 106 child.layout(left, top, left+w, top+h); in onLayout()
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | BackgroundContainer.java | 52 public void showBackground(int top, int bottom) { in showBackground() argument 54 mOpenAreaTop = top; in showBackground()
|
D | ListViewRemovalAnimation.java | 204 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()
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | BackgroundContainer.java | 51 public void showBackground(int top, int bottom) { in showBackground() argument 53 mOpenAreaTop = top; in showBackground()
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
D | InsertionListView.java | 196 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/ApiDemos/src/com/example/android/apis/view/ |
D | InternalSelectionView.java | 185 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()
|
D | CustomLayout.java | 133 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/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
D | DynamicListView.java | 154 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/training/InteractiveChart/src/com/example/android/interactivechart/ |
D | InteractiveLineGraphView.java | 248 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/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
D | UIAnimation.java | 104 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/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | ZoomActivity.java | 151 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/tools/axl/ |
D | chewperf.py | 71 top = max(buckets.keys()) 72 for x in range(top):
|
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
D | CurvedMotion.java | 70 int top = mButton.getTop(); in onCreate() 72 int deltaY = top - oldTop; in onCreate()
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | DeviceListFragment.java | 127 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()
|