Lines Matching refs:config

430      * setting the new bitmap's config to the one specified, and then copying
435 * @param config The desired config for the resulting bitmap
440 public Bitmap copy(Config config, boolean isMutable) {
442 Bitmap b = nativeCopy(mNativeBitmap, config.nativeInt, isMutable);
568 final Config config = source.getConfig();
570 if (config != null) {
571 switch (config) {
629 * @param config The bitmap config to create.
632 public static Bitmap createBitmap(int width, int height, Config config) {
633 return createBitmap(width, height, config, true);
644 * @param config The bitmap config to create.
648 int height, Config config) {
649 return createBitmap(display, width, height, config, true);
658 * @param config The bitmap config to create.
665 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) {
666 return createBitmap(null, width, height, config, hasAlpha);
677 * @param config The bitmap config to create.
685 Config config, boolean hasAlpha) {
689 Bitmap bm = nativeCreate(null, 0, width, width, height, config.nativeInt, true);
693 if (config == Config.ARGB_8888 && !hasAlpha) {
717 * @param config The bitmap config to create. If the config does not
724 int width, int height, Config config) {
725 return createBitmap(null, colors, offset, stride, width, height, config);
742 * @param config The bitmap config to create. If the config does not
749 int offset, int stride, int width, int height, Config config) {
765 config.nativeInt, false);
781 * @param config The bitmap config to create. If the config does not
787 public static Bitmap createBitmap(int colors[], int width, int height, Config config) {
788 return createBitmap(null, colors, 0, width, width, height, config);
802 * @param config The bitmap config to create. If the config does not
809 int width, int height, Config config) {
810 return createBitmap(display, colors, 0, width, width, height, config);
1004 * If the bitmap's internal config is in one of the public formats, return
1005 * that config, otherwise return null.
1011 /** Returns true if the bitmap's config supports per-pixel alpha, and
1016 * also return false. If a config such as ARGB_8888 is not so flagged,
1349 * Given another bitmap, return true if it has the same dimensions, config,