Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DControlPanelLayout.java43 int measuredSize = 0; in onMeasure() local
64 measuredSize = (int) (longSideSize - shortSideSize / 3.0 * 4.0); in onMeasure()
71 if (measuredSize < minimumSize) { in onMeasure()
72 measuredSize = minimumSize; in onMeasure()
76 if (mode == MeasureSpec.AT_MOST && measuredSize > specSize) { in onMeasure()
77 measuredSize = specSize; in onMeasure()
81 widthSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); in onMeasure()
83 heightSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); in onMeasure()
/packages/modules/NetworkStack/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt138 var measuredSize = 0 in <lambda>() variable
140 ++measuredSize in <lambda>()
143 assertEquals(expectedSize, measuredSize) in <lambda>()