Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java182 int mWallpaperWidth; field in Workspace
850 mWallpaperWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in setWallpaperDimension()
853 mWallpaperWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in setWallpaperDimension()
858 mWallpaperManager.suggestDesiredDimensions(mWallpaperWidth, mWallpaperHeight); in setWallpaperDimension()
886 int wallpaperTravelWidth = Math.min(mWallpaperTravelWidth, mWallpaperWidth); in wallpaperOffsetForCurrentScroll()
889 (mWallpaperWidth - wallpaperTravelWidth) / 2; // center it in wallpaperOffsetForCurrentScroll()
890 float offset = offsetInDips / (float) mWallpaperWidth; in wallpaperOffsetForCurrentScroll()