Searched refs:BitmapWorkerOptions (Results 1 - 14 of 14) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
H A DAccountSettingsActivity.java32 import com.android.tv.settings.widget.BitmapWorkerOptions;
69 BitmapWorkerOptions bitmapWorkerOptions = new BitmapWorkerOptions.Builder(this)
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DDrawableDownloader.java91 BitmapDrawable findDrawable(BitmapWorkerOptions options) {
101 if (options.getHeight() != BitmapWorkerOptions.MAX_IMAGE_DIMENSION_PX) {
105 } else if (options.getWidth() != BitmapWorkerOptions.MAX_IMAGE_DIMENSION_PX) {
114 BitmapDrawable findLargestDrawable(BitmapWorkerOptions options) {
223 public final Drawable loadBitmapBlocking(BitmapWorkerOptions options) {
235 protected Drawable doInBackground(BitmapWorkerOptions... params) {
251 public void loadBitmap(BitmapWorkerOptions options, final ImageView imageView) {
266 protected Drawable doInBackground(BitmapWorkerOptions... params) {
284 public void getBitmap(BitmapWorkerOptions options, final BitmapCallback callback) {
298 protected Drawable doInBackground(BitmapWorkerOptions
[all...]
H A DBitmapWorkerOptions.java33 public class BitmapWorkerOptions { class
77 public BitmapWorkerOptions build() {
78 BitmapWorkerOptions options = new BitmapWorkerOptions();
157 private BitmapWorkerOptions() { method in class:BitmapWorkerOptions
H A DBitmapDownloader.java133 public final Bitmap loadBitmapBlocking(BitmapWorkerOptions options) {
145 protected Bitmap doInBackground(BitmapWorkerOptions... params) {
162 public void loadBitmap(BitmapWorkerOptions options, final ImageView imageView) {
177 protected Bitmap doInBackground(BitmapWorkerOptions... params) {
195 public void getBitmap(BitmapWorkerOptions options, final BitmapCallback callback) {
205 protected Bitmap doInBackground(BitmapWorkerOptions... params) {
264 private void addBitmapToMemoryCache(BitmapWorkerOptions key, Bitmap bitmap, boolean isScaled) {
287 private Bitmap getBitmapFromMemCache(BitmapWorkerOptions key) {
288 if (key.getHeight() != BitmapWorkerOptions.MAX_IMAGE_DIMENSION_PX) {
333 public Bitmap getLargestBitmapFromMemCache(BitmapWorkerOptions ke
[all...]
H A DBitmapWorkerTask.java54 * @see BitmapWorkerOptions
56 public class BitmapWorkerTask extends AsyncTask<BitmapWorkerOptions, Void, Bitmap> {
76 protected Bitmap doInBackground(BitmapWorkerOptions... params) {
81 protected Bitmap retrieveBitmap(BitmapWorkerOptions workerOptions) {
127 BitmapWorkerOptions outputOptions) throws IOException {
158 private Bitmap scaleBitmapIfNecessary(BitmapWorkerOptions outputOptions, Bitmap bitmap) {
195 private Bitmap decodeBitmap(InputStream in, BitmapWorkerOptions options)
259 private Bitmap getBitmapFromHttp(BitmapWorkerOptions options) throws IOException {
277 private Bitmap getBitmapFromContent(BitmapWorkerOptions options) throws IOException {
319 private static Bitmap createIconBitmap(Drawable drawable, BitmapWorkerOptions workerOption
[all...]
H A DDrawableLoader.java54 * @see BitmapWorkerOptions
56 class DrawableLoader extends AsyncTask<BitmapWorkerOptions, Void, Drawable> {
94 protected Drawable doInBackground(BitmapWorkerOptions... params) {
99 protected Drawable retrieveDrawable(BitmapWorkerOptions workerOptions) {
153 BitmapWorkerOptions outputOptions) throws IOException {
180 private Drawable decodeBitmap(InputStream in, BitmapWorkerOptions options)
269 private Drawable getBitmapFromHttp(BitmapWorkerOptions options) throws IOException {
287 private Drawable getBitmapFromContent(BitmapWorkerOptions options)
308 Log.w(TAG, "Get null resourceUri from BitmapWorkerOptions.");
353 private Drawable getAccountImage(BitmapWorkerOptions option
[all...]
H A DSettingsToast.java94 bitmapDownloader.getBitmap(new BitmapWorkerOptions.Builder(mContext).resource(
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DAccountImageChangeObserver.java30 import com.android.tv.settings.widget.BitmapWorkerOptions;
113 public synchronized void registerChangeUriIfPresent(BitmapWorkerOptions options) {
H A DTransitionImage.java33 import com.android.tv.settings.widget.BitmapWorkerOptions;
206 BitmapWorkerOptions key = new BitmapWorkerOptions.Builder(context)
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DMenuItemPresenter.java37 import com.android.tv.settings.widget.BitmapWorkerOptions;
136 BitmapWorkerOptions bitmapWorkerOptions = new BitmapWorkerOptions.Builder(context)
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DBaseContentFragment.java39 import com.android.tv.settings.widget.BitmapWorkerOptions;
209 bitmapDownloader.getBitmap(new BitmapWorkerOptions.Builder(
373 bitmapDownloader.getBitmap(new BitmapWorkerOptions.Builder(mActivity).resource(
H A DActionAdapter.java45 import com.android.tv.settings.widget.BitmapWorkerOptions;
324 BitmapDownloader.getInstance(mContext).getBitmap(new BitmapWorkerOptions.Builder(
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
H A DDialogActionAdapter.java45 import com.android.tv.settings.widget.BitmapWorkerOptions;
245 new BitmapWorkerOptions.Builder(
H A DDialogFragment.java57 import com.android.tv.settings.widget.BitmapWorkerOptions;
464 bitmapDownloader.getBitmap(new BitmapWorkerOptions.Builder(

Completed in 165 milliseconds