Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DPreloadReceiver.java40 final int workspaceResId = !TextUtils.isEmpty(name) in onReceive() local
46 Log.d(TAG, "workspace name: " + name + " id: " + workspaceResId); in onReceive()
51 provider.loadDefaultFavoritesIfNecessary(workspaceResId, overridePrevious); in onReceive()
DLauncherProvider.java233 int workspaceResId = restrictionLayoutId; in loadDefaultFavoritesIfNecessary() local
236 if (workspaceResId == 0) { in loadDefaultFavoritesIfNecessary()
237 workspaceResId = origWorkspaceResId; in loadDefaultFavoritesIfNecessary()
241 if (workspaceResId == 0) { in loadDefaultFavoritesIfNecessary()
242 workspaceResId = sp.getInt(DEFAULT_WORKSPACE_RESOURCE_ID, R.xml.default_workspace); in loadDefaultFavoritesIfNecessary()
244 editor.putInt(DEFAULT_WORKSPACE_RESOURCE_ID, workspaceResId); in loadDefaultFavoritesIfNecessary()
254 mOpenHelper.loadFavorites(mOpenHelper.getWritableDatabase(), workspaceResId); in loadDefaultFavoritesIfNecessary() local
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java511 int workspaceResId = partnerRes.getIdentifier(Partner.RES_DEFAULT_LAYOUT, in loadDefaultFavoritesIfNecessary() local
513 if (workspaceResId != 0) { in loadDefaultFavoritesIfNecessary()
515 mOpenHelper, partnerRes, workspaceResId); in loadDefaultFavoritesIfNecessary()