Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsFragmentBackgroundController.java111 DetailsParallaxDrawable mParallaxDrawable; field in DetailsFragmentBackgroundController
188 if (mParallaxDrawable != null) { in enableParallax()
203 mParallaxDrawable = new DetailsParallaxDrawable( in enableParallax()
209 mFragment.setBackgroundDrawable(mParallaxDrawable); in enableParallax()
213 mFragment.getParallax(), mParallaxDrawable.getCoverDrawable()); in enableParallax()
350 if (mParallaxDrawable == null) { in getCoverDrawable()
353 return mParallaxDrawable.getCoverDrawable(); in getCoverDrawable()
363 if (mParallaxDrawable == null) { in getBottomDrawable()
366 return mParallaxDrawable.getBottomDrawable(); in getBottomDrawable()
475 if (mParallaxDrawable != null) { in setParallaxDrawableMaxOffset()
DDetailsSupportFragmentBackgroundController.java114 DetailsParallaxDrawable mParallaxDrawable; field in DetailsSupportFragmentBackgroundController
191 if (mParallaxDrawable != null) { in enableParallax()
206 mParallaxDrawable = new DetailsParallaxDrawable( in enableParallax()
212 mFragment.setBackgroundDrawable(mParallaxDrawable); in enableParallax()
216 mFragment.getParallax(), mParallaxDrawable.getCoverDrawable()); in enableParallax()
353 if (mParallaxDrawable == null) { in getCoverDrawable()
356 return mParallaxDrawable.getCoverDrawable(); in getCoverDrawable()
366 if (mParallaxDrawable == null) { in getBottomDrawable()
369 return mParallaxDrawable.getBottomDrawable(); in getBottomDrawable()
478 if (mParallaxDrawable != null) { in setParallaxDrawableMaxOffset()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DDetailsFragmentTest.java66 return ((FitWidthBitmapDrawable) controller.mParallaxDrawable.getCoverDrawable()) in getCoverDrawableAlpha()
72 private DetailsParallaxDrawable mParallaxDrawable; field in DetailsFragmentTest.DetailsFragmentParallax
83 mParallaxDrawable = new DetailsParallaxDrawable( in onCreate()
95 backgroundManager.setDrawable(mParallaxDrawable); in onCreate()
110 ((FitWidthBitmapDrawable) mParallaxDrawable.getCoverDrawable()).setBitmap(bitmap); in onResume()
114 return mParallaxDrawable; in getParallaxDrawable()
DDetailsSupportFragmentTest.java69 return ((FitWidthBitmapDrawable) controller.mParallaxDrawable.getCoverDrawable()) in getCoverDrawableAlpha()
75 private DetailsParallaxDrawable mParallaxDrawable; field in DetailsSupportFragmentTest.DetailsSupportFragmentParallax
86 mParallaxDrawable = new DetailsParallaxDrawable( in onCreate()
98 backgroundManager.setDrawable(mParallaxDrawable); in onCreate()
113 ((FitWidthBitmapDrawable) mParallaxDrawable.getCoverDrawable()).setBitmap(bitmap); in onResume()
117 return mParallaxDrawable; in getParallaxDrawable()