Home
last modified time | relevance | path

Searched refs:bounds (Results 1 – 19 of 19) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCardBoundsWatchFaceService.java72 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
DInteractiveWatchFaceService.java129 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
DCalendarWatchFaceService.java173 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()
DDigitalWatchFaceService.java450 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
461 canvas.drawRect(0, 0, bounds.width(), bounds.height(), mBackgroundPaint); in onDraw()
DSweepWatchFaceService.java316 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
DAnalogWatchFaceService.java351 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
DFitStepsWatchFaceService.java372 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
DFitDistanceWatchFaceService.java371 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
DComplicationSimpleWatchFaceService.java542 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
/development/tools/winscope/src/
Dtransform_sf.js56 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 …]
Dtransform.js17 function transform({obj, kind, name, children, timestamp, rect, bounds, highlight, rects_transform,… property
69bounds: call(bounds, obj) || transformed_children.map((e) => e.bounds).find((e) => true) || undefi… property
Dtransform_wm.js134 var bounds = { variable
149 bounds, property
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DPathAnimations.java65 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
78bounds.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/
DPathEffects.java75 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()
DMeasureText.java71 Rect bounds = new Rect(); in showText() local
76 mPaint.getTextBounds(text, 0, text.length(), bounds); in showText()
79 canvas.drawRect(bounds, mPaint); in showText()
DTouchPaint.java292 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/
DPhoneMainActivity.java102 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/
DMainActivity.java89 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/
DInsertionListView.java245 Rect bounds = (Rect)valueAnimator.getAnimatedValue(); in addRow()
246 mCurrentBound.set(bounds); in addRow()
250 mLastBound = bounds; in addRow()