/development/tools/winscope/src/app/components/bottomnav/ |
D | bottom_drawer_component.ts | 148 private contentMargins: {top: number | null; bottom: number | null} = { 149 top: null, 165 setMargins(margins: {top: number | null; bottom: number | null}) { 214 contentMargins: {top: number | null; bottom: number | null} = { 215 top: null, 220 top: number | null; 264 let top = 0; variable 272 top -= shiftAmount; 279 top = top || null!; 283 top !== this.contentMargins.top || [all …]
|
/development/tools/winscope/src/test/ |
D | utils.ts | 57 const {left, top} = target.getBoundingClientRect(); constant 59 dispatchMouseEvent(target, 'mousedown', left, top, 0, 0); 62 dispatchMouseEvent(document, 'mousemove', left + 1, top + 0, 1, y); 65 dispatchMouseEvent(document, 'mousemove', left + x, top + y, x, y); 68 dispatchMouseEvent(document, 'mouseup', left + x, top + y, x, y);
|
/development/tools/winscope/src/parsers/surface_flinger/computations/ |
D | visibility_properties_computation_test.ts | 45 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]}, 96 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]}, 143 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]}, 172 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]}, 202 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]}, 258 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]}, 308 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]}, 360 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 1}]}, 361 bounds: {left: 0, right: 0, top: 0, bottom: 0}, 459 visibleRegion: {rect: [{left: 0, right: 1, top: 0, bottom: 0}]}, [all …]
|
D | rects_computation_test.ts | 44 bounds: {left: 0, top: 0, right: 1, bottom: 1}, 58 bounds: {left: 0, top: 0, right: 2, bottom: 2}, 75 bounds: {left: 0, top: 0, right: 5, bottom: 5}, 164 bounds: {left: 0, top: 0, right: 1, bottom: 1}, 179 bounds: {left: 0, top: 0, right: 1, bottom: 1}, 248 layerStackSpaceRect: {left: 0, top: 0, right: 5, bottom: 5}, 287 layerStackSpaceRect: {left: 0, top: 0, right: 5, bottom: 5}, 293 layerStackSpaceRect: {left: 0, top: 0, right: 5, bottom: 5}, 351 bounds: {left: 0, top: 0, right: 1, bottom: 1}, 366 bounds: {left: 0, top: 0, right: 2, bottom: 2}, [all …]
|
/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/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/ |
D | ClientView.java | 72 mResizeOffsetY = origin.getRawY() - mResizingBounds.top; in startResizing() 103 mResizingBounds.top = (int) (ev.getRawY() - mResizeOffsetY); in dispatchTouchEvent() 105 mResizingBounds.top = mResizingBounds.bottom - mMaxSize; in dispatchTouchEvent() 108 mResizingBounds.top = mResizingBounds.bottom - MIN_SIZE; in dispatchTouchEvent()
|
/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/tools/otagui/src/components/ |
D | FileSelect.vue | 64 top: 9px; 74 border-top: none; 78 margin-top: 7px; 79 border-top-style: solid;
|
/development/tools/winscope/src/parsers/view_capture/computations/ |
D | rects_computation_test.ts | 38 top: 0, 56 top: 0, 73 top: 0,
|
/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()
|
/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/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/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
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()
|
D | BackgroundContainer.java | 52 public void showBackground(int top, int bottom) { in showBackground() argument 54 mOpenAreaTop = top; in showBackground()
|
/development/tools/winscope/src/viewers/components/ |
D | view_capture_property_groups_component_test.ts | 72 const top = assertDefined(coordinatesSection.querySelector('.top')); constant 73 expect(top.innerHTML).toContain('Top:'); 74 expect(top.innerHTML).toContain('5'); 175 top: '5',
|
/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/tools/winscope/src/common/ |
D | rect.ts | 30 const top = node.getChildByName('top')?.getValue() ?? 0; constant 33 return new Rect(left, top, right - left, bottom - top);
|
/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()
|
/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/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/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()
|