Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/menu/
DPlaybackProgressBar.java31 private final LayerDrawable mProgressDrawable; field in PlaybackProgressBar
57 mProgressDrawable = in PlaybackProgressBar()
59 mPrimaryDrawable = mProgressDrawable.findDrawableByLayerId(android.R.id.progress); in PlaybackProgressBar()
61 mProgressDrawable.findDrawableByLayerId(android.R.id.secondaryProgress); in PlaybackProgressBar()
70 mProgressDrawable.draw(canvas); in onDraw()
127 mProgressDrawable.setBounds(0, 0, width, height); in refreshProgress()
148 int width = mProgressDrawable.getBounds().width(); in setProgressBound()
149 int height = mProgressDrawable.getBounds().height(); in setProgressBound()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java164 private MaterialProgressDrawable mProgressDrawable; field in PreviewFragment
350 mProgressDrawable = new MaterialProgressDrawable(getActivity().getApplicationContext(), in onCreateView()
352 mProgressDrawable.setAlpha(255); in onCreateView()
353 mProgressDrawable.setBackgroundColor(getResources().getColor(R.color.material_white_100, in onCreateView()
355 mProgressDrawable.setColorSchemeColors(getAttrColor( in onCreateView()
358 mProgressDrawable.updateSizes(MaterialProgressDrawable.LARGE); in onCreateView()
359 mLoadingIndicator.setImageDrawable(mProgressDrawable); in onCreateView()
368 if (mProgressDrawable != null) { in onCreateView()
369 mProgressDrawable.start(); in onCreateView()
486 if (mProgressDrawable != null) { in onDestroy()
[all …]