Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp516 constexpr float MARGIN = 0.05f; in calculateRefreshRateType() local
519 if (iter->second->fps >= mContentRefreshRate * (1 - MARGIN)) { in calculateRefreshRateType()
531 if (std::abs(std::round(ratio) - ratio) > MARGIN) { in calculateRefreshRateType()
535 if (std::abs(std::round(ratio) - ratio) <= MARGIN) { in calculateRefreshRateType()
/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);