Home
last modified time | relevance | path

Searched refs:bounds (Results 1 – 25 of 31) 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.java446 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
457 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.java522 public void onDraw(Canvas canvas, Rect bounds) { in onDraw() argument
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
DExploreByTouchHelperActivity.java147 item.bounds = new RectF(top, left, bottom, right); in addItem()
158 final Rect bounds = mTempBounds; in onDraw() local
165 scaleRectF(item.bounds, bounds, width, height); in onDraw()
166 canvas.drawRect(bounds, paint); in onDraw()
169 canvas.drawText(item.description, bounds.centerX(), bounds.centerY(), paint); in onDraw()
203 if (item.bounds.contains(scaledX, scaledY)) { in getItemIndexUnder()
289 final Rect bounds = mTempRect; in onPopulateNodeForVirtualView() local
292 scaleRectF(item.bounds, bounds, width, height); in onPopulateNodeForVirtualView()
293 node.setBoundsInParent(bounds); in onPopulateNodeForVirtualView()
322 private RectF bounds; field in ExploreByTouchHelperActivity.CustomView.CustomItem
/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.java99 private LatLngBounds bounds; in showTrack() local
114 bounds = builder.build(); in showTrack()
127 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()
/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/ ...
/development/ndk/platforms/android-3/include/linux/
Dvideodev2.h352 struct v4l2_rect bounds; member
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12