/development/tools/winscope/src/common/ |
D | rect.ts | 20 export class Rect { class 28 static from(node: PropertyTreeNode): Rect { 33 return new Rect(left, top, right - left, bottom - top); 45 cropRect(other: Rect): Rect { 50 return new Rect(maxLeft, maxTop, minRight - maxLeft, minBottom - maxTop); 53 containsRect(other: Rect): boolean { 64 intersectsRect(other: Rect): boolean { 86 return !new Rect(x, y, w, h).isEmpty();
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
D | InsertionListView.java | 32 import android.graphics.Rect; 106 final HashMap<Long, Rect> listViewItemBounds = new HashMap<Long, Rect>(); in addRow() 115 Rect startRect = new Rect(child.getLeft(), child.getTop(), child.getRight(), in addRow() 195 Rect startRect = listViewItemBounds.get(itemId); in addRow() 231 Rect startBounds = listViewItemBounds.get(itemId); in addRow() 235 Rect endBounds = new Rect(startBounds); in addRow() 241 private Rect mLastBound = null; in addRow() 242 private Rect mCurrentBound = new Rect(); in addRow() 245 Rect bounds = (Rect)valueAnimator.getAnimatedValue(); in addRow() 363 static final TypeEvaluator<Rect> sBoundsEvaluator = new TypeEvaluator<Rect>() { [all …]
|
/development/tools/winscope/src/app/components/timeline/expanded-timeline/ |
D | canvas_drawer_test.ts | 18 import {Rect} from 'common/rect'; 28 canvasDrawer.drawRect(new Rect(10, 10, 10, 10), '#333333', 1.0); 43 canvasDrawer.drawRect(new Rect(10, 10, 10, 10), '#333333', 1.0); 59 canvasDrawer.drawRect(new Rect(10, 10, 10, 10), '#333333', 0.5); 75 canvasDrawer.drawRectBorder(new Rect(10, 10, 10, 10)); 97 canvasDrawer.drawRect(new Rect(200, 200, 10, 10), '#333333', 1.0); 98 canvasDrawer.drawRect(new Rect(95, 95, 50, 50), '#333333', 1.0);
|
D | default_timeline_row_component_test.ts | 29 import {Rect} from 'common/rect'; 89 new Rect(0, 0, rectWidth, rectHeight), 94 new Rect(Math.floor((canvasWidth * 2) / 100), 0, rectWidth, rectHeight), 99 new Rect(Math.floor((canvasWidth * 5) / 100), 0, rectWidth, rectHeight), 104 new Rect(Math.floor((canvasWidth * 60) / 100), 0, rectWidth, rectHeight), 127 new Rect(Math.floor((canvasWidth * 10) / 25), 0, rectWidth, rectHeight), 171 new Rect(0, 0, rectWidth, rectHeight), 178 new Rect(0, 0, rectWidth, rectHeight), 330 const expectedRect = new Rect(xPos + 1, 1, rectWidth, rectHeight);
|
D | canvas_drawer.ts | 18 import {Rect} from 'common/rect'; 33 drawRect(rect: Rect, color: string, alpha: number) { 51 drawRectBorder(rect: Rect) { 96 private defineRectPath(rect: Rect, ctx: CanvasRenderingContext2D) {
|
D | transition_timeline_component_test.ts | 29 import {Rect} from 'common/rect'; 141 new Rect(0, padding, Math.floor(width / 5), oneRowHeight), 146 new Rect( 212 new Rect(0, padding, Math.floor(width / 10), oneRowHeight), 217 new Rect(Math.floor(width / 2), padding, Math.floor(width), oneRowHeight), 242 const expectedRect = new Rect( 265 const expectedRect = new Rect( 349 new Rect(0, padding, Math.floor((width * 3) / 4), oneRowHeight), 354 new Rect( 422 new Rect(0, padding, Math.floor((width * 3) / 4), oneRowHeight), [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Regions.java | 34 private final Rect mRect1 = new Rect(); 35 private final Rect mRect2 = new Rect(); 74 Rect r = new Rect(); in drawRgn() 84 private static void drawCentered(Canvas c, Rect r, Paint p) { in drawCentered()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | CardBoundsWatchFaceService.java | 22 import android.graphics.Rect; 45 final Rect mCardBounds = new Rect(); 72 public void onPeekCardPositionUpdate(Rect bounds) { in onPeekCardPositionUpdate() 85 public void onDraw(Canvas canvas, Rect bounds) { in onDraw()
|
D | InteractiveWatchFaceService.java | 23 import android.graphics.Rect; 68 private final Rect mCardBounds = new Rect(); 129 public void onPeekCardPositionUpdate(Rect bounds) { in onPeekCardPositionUpdate() 198 public void onDraw(Canvas canvas, Rect bounds) { in onDraw()
|
/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/ |
D | ClientView.java | 20 import android.graphics.Rect; 38 private Consumer<Rect> mResizeDoneCallback = null; 40 private final Rect mResizingBounds = new Rect(); 64 Consumer<Rect> callback) { in startResizing()
|
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
D | DynamicListView.java | 29 import android.graphics.Rect; 89 private Rect mHoverCellCurrentBounds; 90 private Rect mHoverCellOriginalBounds; 161 mHoverCellOriginalBounds = new Rect(left, top, left + w, top + h); in getAndAddHoverView() 162 mHoverCellCurrentBounds = new Rect(mHoverCellOriginalBounds); in getAndAddHoverView() 174 Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()); in getBitmapWithBorder() 456 private final static TypeEvaluator<Rect> sBoundEvaluator = new TypeEvaluator<Rect>() { 457 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { 458 return new Rect(interpolate(startValue.left, endValue.left, fraction), 482 public boolean handleMobileCellScroll(Rect r) { in handleMobileCellScroll()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | InternalSelectionView.java | 23 import android.graphics.Rect; 48 private Rect mTempRect = new Rect(); 183 public void getRectForRow(Rect rect, int row) { in getRectForRow() 227 public void getFocusedRect(Rect r) { in getFocusedRect() 233 Rect previouslyFocusedRect) { in onFocusChanged()
|
D | CustomLayout.java | 21 import android.graphics.Rect; 47 private final Rect mTmpContainerRect = new Rect(); 48 private final Rect mTmpChildRect = new Rect();
|
/development/tools/winscope/src/parsers/surface_flinger/computations/ |
D | visibility_properties_computation.ts | 18 import {Rect} from 'common/rect'; 309 private getRect(rectNode: PropertyTreeNode): Rect | undefined { 311 return Rect.from(rectNode); 320 private getDisplaySize(layer: HierarchyTreeNode): Rect { 321 const displaySize = new Rect(0, 0, 0, 0); 339 crop = new Rect(0, 0, 0, 0), 366 crop = new Rect(0, 0, 0, 0), 377 crop: Rect, 378 ): Rect | undefined {
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | TouchHighlightImageButton.java | 22 import android.graphics.Rect; 42 private Rect mCachedBounds = new Rect();
|
D | ZoomActivity.java | 25 import android.graphics.Rect; 121 final Rect startBounds = new Rect(); in zoomImageFromThumb() 122 final Rect finalBounds = new Rect(); in zoomImageFromThumb()
|
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/ |
D | InlineContentClipView.java | 22 import android.graphics.Rect; 58 private final Rect mParentBounds = new Rect(); 61 private final Rect mContentBounds = new Rect();
|
/development/tools/winscope/src/trace/ |
D | trace_rect.ts | 18 import {Rect} from 'common/rect'; 21 export class TraceRect extends Rect implements Item {
|
/development/tools/winscope/src/viewers/components/rects/ |
D | types2d.ts | 18 import {Rect} from 'common/rect'; 20 export class UiRect extends Rect {
|
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/ |
D | MainActivity.java | 29 import android.graphics.Rect; 89 Rect bounds = new Rect(500, 300, 100, 0); in onStartLaunchBoundsActivity()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | CandidateView.java | 23 import android.graphics.Rect; 43 private Rect mBgPadding; 142 Rect padding = new Rect(); in onMeasure() 165 mBgPadding = new Rect(0, 0, 0, 0); in onDraw() 173 final Rect bgPadding = mBgPadding; in onDraw()
|
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
D | UIAnimation.java | 24 import android.graphics.Rect; 85 final Rect startBounds = new Rect(); in zoomImageFromThumb() 86 final Rect finalBounds = new Rect(); in zoomImageFromThumb()
|
/development/tools/mkstubs/tests/data/ |
D | TestTemplateClass.java | 19 import org.w3c.dom.css.Rect; 47 public void draw(List<? extends Rect> shape) { in draw()
|
/development/samples/MultiWindow/src/com/example/android/multiwindow/ |
D | CaptionOverlayActivity.java | 22 import android.graphics.Rect; 61 public void onRestrictedCaptionAreaChanged(Rect rect) { in onRestrictedCaptionAreaChanged()
|
/development/samples/VirtualDeviceManager/demos/src/com/example/android/vdmdemo/demos/ |
D | StylusDrawingView.java | 25 import android.graphics.Rect; 72 Rect rect = new Rect(); in init() 76 hoverPointer.setBounds(new Rect(x - 10, y - 10, x + 10, y + 10)); in init()
|