Home
last modified time | relevance | path

Searched refs:rsc (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropView.java98 Resources rsc = context.getResources(); in setup() local
99 mShadow = (NinePatchDrawable) rsc.getDrawable(R.drawable.geometry_shadow); in setup()
100 mCropIndicator = rsc.getDrawable(R.drawable.camera_crop); in setup()
101 mIndicatorSize = (int) rsc.getDimension(R.dimen.crop_indicator_size); in setup()
102 mShadowMargin = (int) rsc.getDimension(R.dimen.shadow_margin); in setup()
103 mMargin = (int) rsc.getDimension(R.dimen.preview_margin); in setup()
104 mMinSideSize = (int) rsc.getDimension(R.dimen.crop_min_side); in setup()
105 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance); in setup()
106 mOverlayShadowColor = (int) rsc.getColor(R.color.crop_shadow_color); in setup()
107 mOverlayWPShadowColor = (int) rsc.getColor(R.color.crop_shadow_wp_color); in setup()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterBorder.java83 public Drawable getDrawable(int rsc) { in getDrawable() argument
84 Drawable drawable = mDrawables.get(rsc); in getDrawable()
85 if (drawable == null && mResources != null && rsc != 0) { in getDrawable()
86 … drawable = new BitmapDrawable(mResources, BitmapFactory.decodeResource(mResources, rsc)); in getDrawable()
87 mDrawables.put(rsc, drawable); in getDrawable()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java81 Resources rsc = context.getResources(); in setup() local
82 mCropIndicator = rsc.getDrawable(R.drawable.camera_crop); in setup()
83 mIndicatorSize = (int) rsc.getDimension(R.dimen.crop_indicator_size); in setup()
84 mMinSideSize = (int) rsc.getDimension(R.dimen.crop_min_side); in setup()
85 mTouchTolerance = (int) rsc.getDimension(R.dimen.crop_touch_tolerance); in setup()