Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DGridScenario.java48 private Map<Integer, Double> mOverrideItemScreenSizeFactors = Maps.newHashMap(); field in GridScenario
93 private Map<Integer, Double> mOverrideItemScreenSizeFactors = Maps.newHashMap(); field in GridScenario.Params
140 mOverrideItemScreenSizeFactors.put(position, itemScreenSizeFactor); in setPositionScreenSizeFactorOverride()
288 if (params.mOverrideItemScreenSizeFactors.containsKey(i)) { in readAndValidateParams()
289 totalFactor += params.mOverrideItemScreenSizeFactors.get(i); in readAndValidateParams()
306 mOverrideItemScreenSizeFactors.putAll(params.mOverrideItemScreenSizeFactors); in readAndValidateParams()
364 if (mOverrideItemScreenSizeFactors.containsKey(position)) { in getView()
365 … desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getView()
DListScenario.java55 private Map<Integer, Double> mOverrideItemScreenSizeFactors = Maps.newHashMap(); field in ListScenario
105 private Map<Integer, Double> mOverrideItemScreenSizeFactors = Maps.newHashMap(); field in ListScenario.Params
164 mOverrideItemScreenSizeFactors.put(position, itemScreenSizeFactor); in setPositionScreenSizeFactorOverride()
464 if (params.mOverrideItemScreenSizeFactors.containsKey(i)) { in readAndValidateParams()
465 totalFactor += params.mOverrideItemScreenSizeFactors.get(i); in readAndValidateParams()
483 mOverrideItemScreenSizeFactors.putAll(params.mOverrideItemScreenSizeFactors); in readAndValidateParams()
505 if (mOverrideItemScreenSizeFactors.containsKey(position)) { in getHeightForPosition()
506 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); in getHeightForPosition()