/gdk/samples/PhotoEditor/src/com/android/photoeditor/ |
H A D | EffectsGroup.java | 43 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 D | LoadScreennailTask.java | 42 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 D | IconIndicator.java | 34 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 D | BitmapUtils.java | 51 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 D | EffectsBar.java | 66 public EffectsBar(Context context, AttributeSet attrs) { argument 67 super(context, attrs);
|
H A D | SaveCopyTask.java | 59 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 D | ActionBar.java | 57 public ActionBar(Context context, AttributeSet attrs) { argument 58 super(context, attrs);
|
H A D | PhotoView.java | 43 public PhotoView(Context context, AttributeSet attrs) { argument 44 super(context, attrs);
|
H A D | Toolbar.java | 47 public Toolbar(Context context, AttributeSet attrs) { argument 48 super(context, attrs);
|
/gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/ |
H A D | DoodleView.java | 51 public DoodleView(Context context, AttributeSet attrs) { argument 52 super(context, attrs);
|
H A D | TouchView.java | 57 public TouchView(Context context, AttributeSet attrs) { argument 58 super(context, attrs); 62 context, new GestureDetector.SimpleOnGestureListener() {
|
H A D | ColorWheel.java | 79 public ColorWheel(Context context, AttributeSet attrs) { argument 80 super(context, attrs); 82 Resources resources = context.getResources();
|
H A D | CropView.java | 86 public CropView(Context context, AttributeSet attrs) { argument 87 super(context, attrs); 89 Resources resources = context.getResources();
|
H A D | RotateView.java | 65 public RotateView(Context context, AttributeSet attrs) { argument 66 super(context, attrs);
|
H A D | ScaleWheel.java | 68 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 D | Plasma.java | 94 public PlasmaView(Context context) { argument 95 super(context);
|