Lines Matching defs:Config
282 public enum Config {
340 private static Config sConfigs[] = {
344 Config(int ni) {
348 static Config nativeToConfig(int ni) {
440 public Bitmap copy(Config config, boolean isMutable) {
567 Config newConfig = Config.ARGB_8888;
568 final Config config = source.getConfig();
573 newConfig = Config.RGB_565;
576 newConfig = Config.ALPHA_8;
582 newConfig = Config.ARGB_8888;
599 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig,
632 public static Bitmap createBitmap(int width, int height, Config config) {
648 int height, Config config) {
665 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) {
685 Config config, boolean hasAlpha) {
693 if (config == Config.ARGB_8888 && !hasAlpha) {
724 int width, int height, Config config) {
749 int offset, int stride, int width, int height, Config config) {
787 public static Bitmap createBitmap(int colors[], int width, int height, Config config) {
809 int width, int height, Config config) {
894 * {@link Bitmap.Config#RGB_565}.</p>
904 return getConfig() != Config.RGB_565 && hasAlpha();
1007 public final Config getConfig() {
1008 return Config.nativeToConfig(nativeConfig(mNativeBitmap));