Searched refs:MARGIN (Results 1 – 5 of 5) sorted by relevance
167 static constexpr float MARGIN = 1.0f; // 1Hz in calculateRefreshRateIfPossible() local183 if (std::abs(mLastRefreshRate.calculated - refreshRate) > MARGIN && in calculateRefreshRateIfPossible()
35 static constexpr float MARGIN = 0.01f; in fpsEqualsWithMargin() local36 return std::abs(fpsA - fpsB) <= MARGIN; in fpsEqualsWithMargin()
88 constexpr float MARGIN = 0.05f; in getRefreshRateForContent() local90 if (std::abs(std::round(ratio) - ratio) > MARGIN) { in getRefreshRateForContent()94 if (std::abs(std::round(ratio) - ratio) <= MARGIN) { in getRefreshRateForContent()
2719 int MARGIN = 20; in renewBounds() local2724 if (width > MARGIN) { in renewBounds()2725 width -= MARGIN; in renewBounds()
2028 private static final int MARGIN = R.styleable.ViewGroup_MarginLayout_layout_margin;2166 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN);