Home
last modified time | relevance | path

Searched refs:mCardBounds (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCardBoundsWatchFaceService.java45 final Rect mCardBounds = new Rect(); field in CardBoundsWatchFaceService.Engine
78 if (!bounds.equals(mCardBounds)) { in onPeekCardPositionUpdate()
79 mCardBounds.set(bounds); in onPeekCardPositionUpdate()
92 canvas.drawRect(mCardBounds.left - BORDER_WIDTH_PX, in onDraw()
93 mCardBounds.top - BORDER_WIDTH_PX, in onDraw()
94 mCardBounds.right + BORDER_WIDTH_PX, in onDraw()
95 mCardBounds.bottom + BORDER_WIDTH_PX, mPaint); in onDraw()
100 canvas.drawRect(mCardBounds, mPaint); in onDraw()
DInteractiveWatchFaceService.java68 private final Rect mCardBounds = new Rect(); field in InteractiveWatchFaceService.Engine
135 if (!bounds.equals(mCardBounds)) { in onPeekCardPositionUpdate()
136 mCardBounds.set(bounds); in onPeekCardPositionUpdate()
229 canvas.drawRect(mCardBounds, mPeekCardBackgroundPaint); in onDraw()