Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperDisabledFragment.java25 import com.android.wallpaper.module.FormFactorChecker;
26 import com.android.wallpaper.module.FormFactorChecker.FormFactor;
57 FormFactorChecker formFactorChecker = in onCreateView()
62 if (formFactor == FormFactorChecker.FORM_FACTOR_DESKTOP) { in onCreateView()
DWallpaperPickerDelegate.java40 import com.android.wallpaper.module.FormFactorChecker;
41 import com.android.wallpaper.module.FormFactorChecker.FormFactor;
102 final FormFactorChecker formFactorChecker = injector.getFormFactorChecker(activity); in WallpaperPickerDelegate()
309 if (mFormFactor == FormFactorChecker.FORM_FACTOR_MOBILE) { in notifyDoneFetchingCategories()
DTopLevelPickerActivity.java61 import com.android.wallpaper.module.FormFactorChecker;
191 if (mDelegate.getFormFactor() == FormFactorChecker.FORM_FACTOR_MOBILE) { in onCreate()
639FormFactorChecker formFactorChecker = InjectorProvider.getInjector().getFormFactorChecker(this); in onSaveInstanceState()
640 if (formFactorChecker.getFormFactor() == FormFactorChecker.FORM_FACTOR_DESKTOP) { in onSaveInstanceState()
657 if (mDelegate.getFormFactor() != FormFactorChecker.FORM_FACTOR_MOBILE) { in getCategorySelectorFragment()
776 if (mDelegate.getFormFactor() == FormFactorChecker.FORM_FACTOR_DESKTOP) { in onActivityResult()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java70 import com.android.wallpaper.module.FormFactorChecker;
71 import com.android.wallpaper.module.FormFactorChecker.FormFactor;
234 if (mFormFactor != FormFactorChecker.FORM_FACTOR_DESKTOP) {
473 && mFormFactor == FormFactorChecker.FORM_FACTOR_MOBILE) { in fetchWallpapers()
524 if (mFormFactor == FormFactorChecker.FORM_FACTOR_DESKTOP) { in onCreateView()
813 if (mFormFactor == FormFactorChecker.FORM_FACTOR_MOBILE && !mTestingMode) { in startRotation()
829 if (mFormFactor == FormFactorChecker.FORM_FACTOR_DESKTOP) { in startRotation()
852 && mFormFactor == FormFactorChecker.FORM_FACTOR_MOBILE) { in startRotation()
863 } else if (mFormFactor == FormFactorChecker.FORM_FACTOR_DESKTOP) { in startRotation()
869 if (mFormFactor == FormFactorChecker.FORM_FACTOR_DESKTOP) { in startRotation()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java32 import com.android.wallpaper.module.FormFactorChecker;
33 import com.android.wallpaper.module.FormFactorChecker.FormFactor;
247 FormFactorChecker formFactorChecker = in getTileSize()
253 if (formFactor == FormFactorChecker.FORM_FACTOR_MOBILE) { in getTileSize()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestFormFactorChecker.java18 import com.android.wallpaper.module.FormFactorChecker;
23 public class TestFormFactorChecker implements FormFactorChecker {
DTestInjector.java33 import com.android.wallpaper.module.FormFactorChecker;
71 private FormFactorChecker mFormFactorChecker;
196 public FormFactorChecker getFormFactorChecker(Context unused) { in getFormFactorChecker()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultCategoryProvider.java45 import com.android.wallpaper.module.FormFactorChecker.FormFactor;
200 FormFactorChecker formFactorChecker = in doInBackground()
228 if (formFactor == FormFactorChecker.FORM_FACTOR_MOBILE) { in doInBackground()
399 return formFactor == FormFactorChecker.FORM_FACTOR_DESKTOP in getMyPhotosCategory()
DBaseWallpaperInjector.java41 private FormFactorChecker mFormFactorChecker;
154 public synchronized FormFactorChecker getFormFactorChecker(Context context) { in getFormFactorChecker()
DFormFactorChecker.java23 public interface FormFactorChecker { interface
DDefaultFormFactorChecker.java26 public class DefaultFormFactorChecker implements FormFactorChecker {
DInjector.java47 FormFactorChecker getFormFactorChecker(Context context); in getFormFactorChecker()