/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | CardBoundsWatchFaceService.java | 72 public void onPeekCardPositionUpdate(Rect bounds) { in onPeekCardPositionUpdate() argument 73 super.onPeekCardPositionUpdate(bounds); in onPeekCardPositionUpdate() 75 Log.d(TAG, "onPeekCardPositionUpdate: " + bounds); in onPeekCardPositionUpdate() 77 super.onPeekCardPositionUpdate(bounds); in onPeekCardPositionUpdate() 78 if (!bounds.equals(mCardBounds)) { in onPeekCardPositionUpdate() 79 mCardBounds.set(bounds); in onPeekCardPositionUpdate() 85 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
|
D | InteractiveWatchFaceService.java | 129 public void onPeekCardPositionUpdate(Rect bounds) { in onPeekCardPositionUpdate() argument 130 super.onPeekCardPositionUpdate(bounds); in onPeekCardPositionUpdate() 132 Log.d(TAG, "onPeekCardPositionUpdate: " + bounds); in onPeekCardPositionUpdate() 134 super.onPeekCardPositionUpdate(bounds); in onPeekCardPositionUpdate() 135 if (!bounds.equals(mCardBounds)) { in onPeekCardPositionUpdate() 136 mCardBounds.set(bounds); in onPeekCardPositionUpdate() 198 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
|
D | CalendarWatchFaceService.java | 173 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument 175 if (mLayout == null || mLayoutWidth != bounds.width()) { in onDraw() 176 mLayoutWidth = bounds.width(); in onDraw()
|
D | DigitalWatchFaceService.java | 450 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument 461 canvas.drawRect(0, 0, bounds.width(), bounds.height(), mBackgroundPaint); in onDraw()
|
D | SweepWatchFaceService.java | 316 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
|
D | AnalogWatchFaceService.java | 351 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
|
D | FitStepsWatchFaceService.java | 372 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
|
D | FitDistanceWatchFaceService.java | 371 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
|
D | ComplicationSimpleWatchFaceService.java | 542 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
|
/development/tools/winscope/src/ |
D | transform_sf.js | 56 function intersect(bounds, crop) { argument 58 left: Math.max(crop.left, bounds.left), 59 right: Math.min(crop.right, bounds.right), 60 top: Math.max(crop.top, bounds.top), 61 bottom: Math.min(crop.bottom, bounds.bottom), 89 function offset_to(bounds, x, y) { argument 91 right: bounds.right - (bounds.left - x), 92 bottom: bounds.bottom - (bounds.top - y), 99 var result = layer.bounds || get_cropped_bounds(layer, parentBounds); 161 var bounds = undefined; [all …]
|
D | transform.js | 17 function transform({obj, kind, name, children, timestamp, rect, bounds, highlight, rects_transform,… property 69 …bounds: call(bounds, obj) || transformed_children.map((e) => e.bounds).find((e) => true) || undefi… property
|
D | transform_wm.js | 134 var bounds = { variable 149 bounds, property
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | PathAnimations.java | 65 RectF bounds = new RectF(1, 1, 3, 3); 66 sTraversalPath.addArc(bounds, 45, 180); in sTraversalPath.addArc() argument 67 sTraversalPath.addArc(bounds, 225, 180); in sTraversalPath.addArc() argument 69 bounds.set(1.5f + inverse_sqrt8, 1.5f + inverse_sqrt8, 2.5f + inverse_sqrt8, 71 sTraversalPath.addArc(bounds, 45, 180); in sTraversalPath.addArc() argument 72 sTraversalPath.addArc(bounds, 225, 180); in sTraversalPath.addArc() argument 74 bounds.set(4, 1, 6, 3); 75 sTraversalPath.addArc(bounds, 135, -180); in sTraversalPath.addArc() argument 76 sTraversalPath.addArc(bounds, -45, -180); in sTraversalPath.addArc() argument 78 …bounds.set(4.5f - inverse_sqrt8, 1.5f + inverse_sqrt8, 5.5f - inverse_sqrt8, 2.5f + inverse_sqrt8); [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | PathEffects.java | 75 RectF bounds = new RectF(); in onDraw() local 76 mPath.computeBounds(bounds, false); in onDraw() 77 canvas.translate(10 - bounds.left, 10 - bounds.top); in onDraw()
|
D | MeasureText.java | 71 Rect bounds = new Rect(); in showText() local 76 mPaint.getTextBounds(text, 0, text.length(), bounds); in showText() 79 canvas.drawRect(bounds, mPaint); in showText()
|
D | TouchPaint.java | 292 Rect bounds = new Rect(); in text() local 293 mPaint.getTextBounds(text, 0, text.length(), bounds); in text() 294 int twidth = bounds.width(); in text() 299 mPaint.getTextBounds(text, 0, text.length(), bounds); in text() 302 mCanvas.drawText(text, (width-bounds.width())/2, in text()
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
D | PhoneMainActivity.java | 102 private LatLngBounds bounds; in showTrack() local 117 bounds = builder.build(); in showTrack() 130 mMap.moveCamera(CameraUpdateFactory.newLatLngBounds(bounds, in showTrack()
|
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/ |
D | MainActivity.java | 89 Rect bounds = new Rect(500, 300, 100, 0); in onStartLaunchBoundsActivity() local 93 options.setLaunchBounds(bounds); in onStartLaunchBoundsActivity()
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
D | InsertionListView.java | 245 Rect bounds = (Rect)valueAnimator.getAnimatedValue(); in addRow() 246 mCurrentBound.set(bounds); in addRow() 250 mLastBound = bounds; in addRow()
|