Code example for BitmapDrawable

Methods: setAntiAlias

			i.setLayoutParams(new CoverFlow.LayoutParams(260, 260));
			//Make sure we set anti-aliasing otherwise we get jaggies 
			BitmapDrawable drawable = (BitmapDrawable) i.getDrawable();
			return i;
			//return mImages[position]; 
		/** Returns the size (0.0f to 1.0f) of the views  
		   * depending on the 'offset' to the center. */ 
		public float getScale(boolean focused, int offset) {
			/* Formula: 1 / (2 ^ offset) */ 
			return Math.max(0, 1.0f / (float) Math.pow(2, Math.abs(offset)));
Stop searching for code, let great code find you!  Add Codota to your java IDE