Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java209 assertEquals(scaleToFitDrawingSize, mIconView.getIconScale(), 0.01f); in testUpdateIconScale_constrainedDrawableSizeLessThanDpIconSize()
229 assertEquals(scaleToFitDrawingSize, mIconView.getIconScale(), 0.01f); in testUpdateIconScale_constrainedDrawableHeightLargerThanDpIconSize()
249 assertEquals(scaleToFitDrawingSize, mIconView.getIconScale(), 0.01f); in testUpdateIconScale_constrainedDrawableWidthLargerThanDpIconSize()
275 mIconView.getIconScale(), 0.01f); in testUpdateIconScale_smallerFontAndRawDrawableSizeLessThanDpIconSize()
302 mIconView.getIconScale(), 0.01f); in testUpdateIconScale_smallerFontAndConstrainedDrawableSizeLessThanDpIconSize()
326 assertEquals(scaleToFitDrawingSize * scaleToFitSpIconSize, mIconView.getIconScale(), 0.01f); in testUpdateIconScale_smallerFontAndConstrainedDrawableHeightLargerThanDpIconSize()
349 assertEquals(scaleToFitDrawingSize * scaleToFitSpIconSize, mIconView.getIconScale(), 0.01f); in testUpdateIconScale_largerFontAndConstrainedDrawableSizeLessThanDpIconSize()
373 assertEquals(scaleToFitDrawingSize * scaleToFitSpIconSize, mIconView.getIconScale(), 0.01f); in testUpdateIconScale_largerFontAndConstrainedDrawableHeightLargerThanDpIconSize()
398 mIconView.getIconScale(), 0.01f); in testUpdateIconScale_largerFontAndConstrainedDrawableWidthLargerThanDpIconSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java311 public float getIconScale() { in getIconScale() method in StatusBarIconView