Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java572 private int mMaxItemId = -1; field in LauncherProvider.DatabaseHelper
605 if (mMaxItemId == -1) { in initIds()
606 mMaxItemId = initializeMaxItemId(getWritableDatabase()); in initIds()
617 mMaxItemId = 1; in onCreate()
623 mMaxItemId = initializeMaxItemId(db); in onCreate()
938 if (mMaxItemId < 0) { in generateNewItemId()
941 mMaxItemId += 1; in generateNewItemId()
942 return mMaxItemId; in generateNewItemId()
956 mMaxItemId = Math.max(id, mMaxItemId); in checkId()
994 mMaxItemId = initializeMaxItemId(db); in loadFavorites()