Home
last modified time | relevance | path

Searched refs:MARGIN (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfoV2.cpp167 static constexpr float MARGIN = 1.0f; // 1Hz in calculateRefreshRateIfPossible() local
183 if (std::abs(mLastRefreshRate.calculated - refreshRate) > MARGIN && in calculateRefreshRateIfPossible()
DPhaseOffsets.cpp35 static constexpr float MARGIN = 0.01f; in fpsEqualsWithMargin() local
36 return std::abs(fpsA - fpsB) <= MARGIN; in fpsEqualsWithMargin()
DRefreshRateConfigs.cpp88 constexpr float MARGIN = 0.05f; in getRefreshRateForContent() local
90 if (std::abs(std::round(ratio) - ratio) > MARGIN) { in getRefreshRateForContent()
94 if (std::abs(std::round(ratio) - ratio) <= MARGIN) { in getRefreshRateForContent()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2719 int MARGIN = 20; in renewBounds() local
2724 if (width > MARGIN) { in renewBounds()
2725 width -= MARGIN; in renewBounds()
/frameworks/base/core/java/android/widget/
DGridLayout.java2028 private static final int MARGIN = R.styleable.ViewGroup_MarginLayout_layout_margin;
2166 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN);