Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DPng.cpp652 enum class TickState { kStart, kInside1, kOutside1 }; enum
658 TickState state = TickState::kStart; in getHorizontalTicks()
663 if (state == TickState::kStart || (state == TickState::kOutside1 && multipleAllowed)) { in getHorizontalTicks()
670 state = TickState::kInside1; in getHorizontalTicks()
671 } else if (state == TickState::kOutside1) { in getHorizontalTicks()
677 if (state == TickState::kInside1) { in getHorizontalTicks()
682 state = TickState::kOutside1; in getHorizontalTicks()
702 TickState state = TickState::kStart; in getVerticalTicks()
707 if (state == TickState::kStart || (state == TickState::kOutside1 && multipleAllowed)) { in getVerticalTicks()
714 state = TickState::kInside1; in getVerticalTicks()
[all …]