int function ( int arg0 ) { int loc0 = arg0 >>> 24 ; if ( loc0 == 255 ) { return PixelFormat . OPAQUE ; } else if ( loc0 == 0 ) { return PixelFormat . TRANSPARENT ; } else { return PixelFormat . TRANSLUCENT ; } }
gets the opacity from a color . inspired by android colordrawable . concode_field_sep PlaceHolder placeHolder concode_field_sep int multiplyColorAlpha