Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DSectionDecorationInfo.java37 public SectionDecorationInfo(Context context, int roundRegions, boolean decorateTogether) { in SectionDecorationInfo() argument
40 isFlagEnabled(roundRegions, ROUND_TOP_LEFT), in SectionDecorationInfo()
41 isFlagEnabled(roundRegions, ROUND_TOP_RIGHT), in SectionDecorationInfo()
42 isFlagEnabled(roundRegions, ROUND_BOTTOM_LEFT), in SectionDecorationInfo()
43 isFlagEnabled(roundRegions, ROUND_BOTTOM_RIGHT)); in SectionDecorationInfo()
45 mIsTopRound = isFlagEnabled(roundRegions, ROUND_TOP_LEFT) && in SectionDecorationInfo()
46 isFlagEnabled(roundRegions, ROUND_TOP_RIGHT); in SectionDecorationInfo()
47 mIsBottomRound = isFlagEnabled(roundRegions, ROUND_BOTTOM_LEFT) && in SectionDecorationInfo()
48 isFlagEnabled(roundRegions, ROUND_BOTTOM_RIGHT); in SectionDecorationInfo()
DBaseAllAppsAdapter.java305 int roundRegions = ROUND_TOP_LEFT | ROUND_TOP_RIGHT; in onBindViewHolder() local
307 roundRegions |= (ROUND_BOTTOM_LEFT | ROUND_BOTTOM_RIGHT); in onBindViewHolder()
310 new SectionDecorationInfo(mActivityContext, roundRegions, in onBindViewHolder()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/allapps/
DAlphabeticalAppsListTest.java239 int roundRegions = mAlphabeticalAppsList.getRoundRegions(index, in getRoundRegions_whenIndexIsMiddleOfLastRow_roundNothing() local
242 assertEquals(ROUND_NOTHING, roundRegions); in getRoundRegions_whenIndexIsMiddleOfLastRow_roundNothing()
249 int roundRegions = mAlphabeticalAppsList.getRoundRegions(index, in getRoundRegions_whenIndexIsInEndOfLastRow_roundBottomRight() local
252 assertEquals(ROUND_BOTTOM_RIGHT, roundRegions); in getRoundRegions_whenIndexIsInEndOfLastRow_roundBottomRight()
259 int roundRegions = mAlphabeticalAppsList.getRoundRegions(index, in getRoundRegions_whenIndexIsInBeginningOfLastRow_roundBottomLeft() local
262 assertEquals(ROUND_BOTTOM_LEFT, roundRegions); in getRoundRegions_whenIndexIsInBeginningOfLastRow_roundBottomLeft()
269 int roundRegions = mAlphabeticalAppsList.getRoundRegions(index, in getRoundRegions_whenIndexIsInMiddleOfLastRow_roundNothing() local
272 assertEquals(ROUND_NOTHING, roundRegions); in getRoundRegions_whenIndexIsInMiddleOfLastRow_roundNothing()
279 int roundRegions = mAlphabeticalAppsList.getRoundRegions(index, in getRoundRegions_whenIndexIsInMiddleRow_roundNothing() local
282 assertEquals(ROUND_NOTHING, roundRegions); in getRoundRegions_whenIndexIsInMiddleRow_roundNothing()
[all …]