Searched defs:context (Results 1 - 16 of 16) sorted by relevance

/gdk/samples/PhotoEditor/src/com/android/photoeditor/
H A DEffectsGroup.java43 public EffectsGroup(Context context, AttributeSet attrs) { argument
44 super(context, attrs);
46 downArrow = context.getResources().getDrawable(R.drawable.arrow_down);
47 rightArrow = context.getResources().getDrawable(R.drawable.arrow_right);
H A DLoadScreennailTask.java42 private final Context context; field in class:LoadScreennailTask
45 public LoadScreennailTask(Context context, Callback callback) { argument
46 this.context = context;
58 return new BitmapUtils(context).getBitmap(params[0], SCREENNAIL_WIDTH, SCREENNAIL_HEIGHT);
64 Toast.makeText(context, R.string.loading_failure, Toast.LENGTH_SHORT).show();
H A DIconIndicator.java34 public IconIndicator(Context context, AttributeSet attrs, int defStyle) { argument
35 super(context, attrs, defStyle);
36 TypedArray a = context
38 Drawable icons[] = loadIcons(context.getResources(), a.getResourceId(
47 public IconIndicator(Context context, AttributeSet attrs) { argument
48 this(context, attrs, 0);
H A DBitmapUtils.java51 private final Context context; field in class:BitmapUtils
53 public BitmapUtils(Context context) { argument
54 this.context = context;
81 is = context.getContentResolver().openInputStream(uri);
99 Cursor cursor = context.getContentResolver().query(uri, IMAGE_PROJECTION, null, null, null);
124 is = context.getContentResolver().openInputStream(uri);
177 directory = context.getCacheDir().getAbsolutePath();
H A DEffectsBar.java66 public EffectsBar(Context context, AttributeSet attrs) { argument
67 super(context, attrs);
H A DSaveCopyTask.java59 private final Context context; field in class:SaveCopyTask
64 public SaveCopyTask(Context context, Uri sourceUri, Callback callback) { argument
65 this.context = context;
91 String message = (result == null) ? context.getString(R.string.saving_failure)
92 : context.getString(R.string.photo_saved, saveFileName);
93 Toast.makeText(context, message, Toast.LENGTH_SHORT).show();
100 + context.getString(R.string.edited_photo_bucket_name);
102 return new BitmapUtils(context).saveBitmap(
115 ContentResolver contentResolver = context
[all...]
H A DActionBar.java57 public ActionBar(Context context, AttributeSet attrs) { argument
58 super(context, attrs);
H A DPhotoView.java43 public PhotoView(Context context, AttributeSet attrs) { argument
44 super(context, attrs);
H A DToolbar.java47 public Toolbar(Context context, AttributeSet attrs) { argument
48 super(context, attrs);
/gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/
H A DDoodleView.java51 public DoodleView(Context context, AttributeSet attrs) { argument
52 super(context, attrs);
H A DTouchView.java57 public TouchView(Context context, AttributeSet attrs) { argument
58 super(context, attrs);
62 context, new GestureDetector.SimpleOnGestureListener() {
H A DColorWheel.java79 public ColorWheel(Context context, AttributeSet attrs) { argument
80 super(context, attrs);
82 Resources resources = context.getResources();
H A DCropView.java86 public CropView(Context context, AttributeSet attrs) { argument
87 super(context, attrs);
89 Resources resources = context.getResources();
H A DRotateView.java65 public RotateView(Context context, AttributeSet attrs) { argument
66 super(context, attrs);
H A DScaleWheel.java68 public ScaleWheel(Context context, AttributeSet attrs) { argument
69 super(context, attrs);
71 Resources resources = context.getResources();
/gdk/samples/bitmap-plasma-llvm/src/com/example/plasma/llvm/
H A DPlasma.java94 public PlasmaView(Context context) { argument
95 super(context);

Completed in 840 milliseconds