Lines Matching defs:Config

183      * Config}, without affecting the underlying allocation backing the bitmap.
205 * @see #setConfig(Config)
207 public void reconfigure(int width, int height, Config config) {
225 * <p>Convenience method for calling {@link #reconfigure(int, int, Config)}
229 * the view system, see {@link #reconfigure(int, int, Config)} for more
232 * @see #reconfigure(int, int, Config)
234 * @see #setConfig(Config)
241 * <p>Convenience method for calling {@link #reconfigure(int, int, Config)}
245 * the view system, see {@link #reconfigure(int, int, Config)} for more
248 * @see #reconfigure(int, int, Config)
250 * @see #setConfig(Config)
257 * <p>Convenience method for calling {@link #reconfigure(int, int, Config)}
261 * the view system, see {@link #reconfigure(int, int, Config)} for more
264 * @see #reconfigure(int, int, Config)
268 public void setConfig(Config config) {
384 public enum Config {
446 private static Config sConfigs[] = {
450 Config(int ni) {
454 static Config nativeToConfig(int ni) {
553 public Bitmap copy(Config config, boolean isMutable) {
686 Config newConfig = Config.ARGB_8888;
687 final Config config = source.getConfig();
692 newConfig = Config.RGB_565;
695 newConfig = Config.ALPHA_8;
701 newConfig = Config.ARGB_8888;
718 bitmap = createBitmap(neww, newh, transformed ? Config.ARGB_8888 : newConfig,
752 public static Bitmap createBitmap(int width, int height, Config config) {
768 int height, Config config) {
785 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) {
805 Config config, boolean hasAlpha) {
813 if (config == Config.ARGB_8888 && !hasAlpha) {
842 int width, int height, Config config) {
867 int offset, int stride, int width, int height, Config config) {
905 public static Bitmap createBitmap(int colors[], int width, int height, Config config) {
927 int width, int height, Config config) {
1012 * {@link Bitmap.Config#RGB_565}.</p>
1029 return mIsPremultiplied && getConfig() != Config.RGB_565 && hasAlpha();
1160 * #reconfigure(int, int, Config)}, {@link #setWidth(int)}, {@link #setHeight(int)}, {@link
1161 * #setConfig(Bitmap.Config)}, and {@link BitmapFactory.Options#inBitmap
1167 * @see #reconfigure(int, int, Config)
1182 public final Config getConfig() {
1183 return Config.nativeToConfig(nativeConfig(mNativeBitmap));