determine whether or not this is a public-visible and non-deprecated format . in particular , @hide formats will return false . any other indirect formats such as transparent or translucent will return false . concode_field_sep int RGBA_8888 concode_elem_sep int RGB_565 concode_elem_sep int YCbCr_422_SP concode_elem_sep int YCbCr_422_I concode_elem_sep int TRANSPARENT concode_elem_sep int bitsPerPixel concode_elem_sep int LA_88 concode_elem_sep int RGB_332 concode_elem_sep int JPEG concode_elem_sep int RGBX_8888 concode_elem_sep int TRANSLUCENT concode_elem_sep int RGBA_4444 concode_elem_sep int YCbCr_420_SP concode_elem_sep int RGBA_5551 concode_elem_sep int A_8 concode_elem_sep int OPAQUE concode_elem_sep int bytesPerPixel concode_elem_sep int RGB_888 concode_elem_sep int L_8 concode_elem_sep int UNKNOWN concode_field_sep void getPixelFormatInfo concode_elem_sep boolean formatHasAlpha
boolean function ( int arg0 ) { switch ( arg0 ) { case RGBA_8888 : case RGBX_8888 : case RGB_888 : case RGB_565 : return true ; } return false ; }