Home
last modified time | relevance | path

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

12

/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
DFitDistanceWatchFaceService.java371 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
DFitStepsWatchFaceService.java372 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
/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/PictureInPicture/ComposePip/app/src/main/java/com/example/samplepip/
DMainActivity.kt57 private fun onBoundsChange(bounds: Rect) { in onBoundsChange()
63 .setSourceRectHint(bounds) in onBoundsChange()
64 .setAspectRatio(Rational(bounds.width(), bounds.height())) in onBoundsChange()
/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/tools/winscope/src/parsers/surface_flinger/computations/
Drects_computation_test.ts44 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},
351 bounds: {left: 0, top: 0, right: 1, bottom: 1},
366 bounds: {left: 0, top: 0, right: 2, bottom: 2},
439 bounds: {left: 0, top: 0, right: 1, bottom: 1},
454 bounds: {left: 0, top: 0, right: 2, bottom: 2},
Dvisibility_properties_computation.ts196 const bounds = layer.getEagerPropertyByName('bounds'); constant
198 bounds !== undefined && !RawDataUtils.isEmptyObj(bounds);
242 const bounds = layer.getEagerPropertyByName('bounds'); constant
243 if (bounds && RawDataUtils.isEmptyObj(bounds)) {
250 bounds &&
251 RawDataUtils.isEmptyObj(bounds) &&
Drects_computation.ts80 const bounds = assertDefined(layer.getEagerPropertyByName('bounds')); constant
81 const boundsRect = Rect.from(bounds);
184 const bounds = node.getEagerPropertyByName('bounds'); constant
185 if (!bounds) return false;
/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/ApiDemos/src/com/example/android/apis/app/
DPictureInPicture.java254 final Rect bounds = new Rect(); in enterContentPip() local
255 mImageView.getGlobalVisibleRect(bounds); in enterContentPip()
257 .setSourceRectHint(bounds) in enterContentPip()
258 .setAspectRatio(new Rational(bounds.width(), bounds.height())) in enterContentPip()
/development/tools/winscope/protos/surfaceflinger/udc/
Dlayers.proto59 // The layer's crop in it's own bounds.
61 // The layer's crop in it's parent's bounds.
115 FloatRectProto bounds = 45; field
/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()
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12