/packages/apps/Car/Cluster/DirectRenderingCluster/tests/robotests/src/android/car/cluster/ |
D | ImageResolverTest.java | 33 private ImageResolver mImageResolver; field in ImageResolverTest 37 mImageResolver = new ImageResolver(new ImageResolver.BitmapFetcher() { in setup() 52 assertEquals(new Point(20, 10), mImageResolver.getAdjustedSize(2, 20, 20)); in adjustedSize_widerImageInSquareBox() 57 assertEquals(new Point(10, 20), mImageResolver.getAdjustedSize(0.5, 20, 20)); in adjustedSize_tallerImageInSquareBox() 62 assertEquals(new Point(10, 20), mImageResolver.getAdjustedSize(0.5, 20, 20)); in adjustedSize_narrowerImageInSquareBox() 67 assertEquals(new Point(20, 8), mImageResolver.getAdjustedSize(2.5, 20, 20)); in adjustedSize_shorterImageInSquareBox() 72 assertEquals(new Point(20, 10), mImageResolver.getAdjustedSize(2, 20, 40)); in adjustedSize_widerImageInTallRectangle() 77 assertEquals(new Point(20, 40), mImageResolver.getAdjustedSize(0.5, 20, 40)); in adjustedSize_tallerImageInTallRectangle() 82 assertEquals(new Point(40, 20), mImageResolver.getAdjustedSize(2, 40, 20)); in adjustedSize_widerImageInWideRectangle() 87 assertEquals(new Point(10, 20), mImageResolver.getAdjustedSize(0.5, 40, 20)); in adjustedSize_tallerImageInWideRectangle() [all …]
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | NavStateController.java | 66 private ImageResolver mImageResolver; field in NavStateController 101 mImageResolver = imageResolver; in setImageResolver() 158 mCue.setCue(step != null ? step.getCue() : null, mImageResolver, alpha); in update() 162 mProvidedLane.setLanes(step.getLanesImage(), mImageResolver); in update() local 224 if (mImageResolver == null || imageReference == null) { in setProvidedManeuverIcon() 229 mImageResolver in setProvidedManeuverIcon()
|
D | ClusterRenderingService.java | 84 private final ImageResolver mImageResolver = new ImageResolver(this); field in ClusterRenderingService 149 return mImageResolver; in getImageResolver()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | NavStateController.java | 67 private final ImageResolver mImageResolver; field in NavStateController 91 mImageResolver = imageResolver; in NavStateController() 156 mCue.setCue(step != null ? step.getCue() : null, mImageResolver, alpha); in update() 160 mProvidedLane.setLanes(step.getLanesImage(), mImageResolver); in update() local 222 if (mImageResolver == null || imageReference == null) { in setProvidedManeuverIcon() 227 mImageResolver in setProvidedManeuverIcon()
|
/packages/apps/Car/Radio/src/com/android/car/radio/media/ |
D | TunerSession.java | 56 @Nullable private final ImageResolver mImageResolver; field in TunerSession 71 mImageResolver = imageResolver; in TunerSession() 110 mSession.setMetadata(ProgramInfoExt.toMediaMetadata(info, fav, mImageResolver)); in updateMetadata()
|
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/ |
D | BrowseTree.java | 137 private final @Nullable ImageResolver mImageResolver; field in BrowseTree 161 mImageResolver = imageResolver; in BrowseTree() 285 if (meta != null && mImageResolver != null) { in getPrograms() 288 if (id != 0) icon = mImageResolver.resolve(id); in getPrograms()
|