summaryrefslogtreecommitdiffstats
path: root/src/com/cyngn/theme/chooser/ComponentSelector.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyngn/theme/chooser/ComponentSelector.java')
-rw-r--r--src/com/cyngn/theme/chooser/ComponentSelector.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/com/cyngn/theme/chooser/ComponentSelector.java b/src/com/cyngn/theme/chooser/ComponentSelector.java
index 25d25a8..d693c7e 100644
--- a/src/com/cyngn/theme/chooser/ComponentSelector.java
+++ b/src/com/cyngn/theme/chooser/ComponentSelector.java
@@ -527,16 +527,16 @@ public class ComponentSelector extends LinearLayout
int pkgNameIndex = cursor.getColumnIndex(ThemesContract.ThemesColumns.PKG_NAME);
((ImageView) v.findViewById(R.id.slot1)).setImageBitmap(
- Utils.loadBitmapBlob(cursor, wifiIndex));
+ Utils.loadBitmapFile(cursor, wifiIndex));
((ImageView) v.findViewById(R.id.slot2)).setImageBitmap(
- Utils.loadBitmapBlob(cursor, signalIndex));
+ Utils.loadBitmapFile(cursor, signalIndex));
((ImageView) v.findViewById(R.id.slot3)).setImageBitmap(
- Utils.loadBitmapBlob(cursor, bluetoothIndex));
+ Utils.loadBitmapFile(cursor, bluetoothIndex));
((ImageView) v.findViewById(R.id.slot4)).setImageBitmap(
- Utils.loadBitmapBlob(cursor, batteryIndex));
+ Utils.loadBitmapFile(cursor, batteryIndex));
setTitle(((TextView) v.findViewById(R.id.title)), cursor);
v.findViewById(R.id.container).setBackground(
- new BitmapDrawable(Utils.loadBitmapBlob(cursor, backgroundIndex)));
+ new BitmapDrawable(Utils.loadBitmapFile(cursor, backgroundIndex)));
v.setTag(cursor.getString(pkgNameIndex));
v.setOnClickListener(mItemClickListener);
return v;
@@ -551,10 +551,10 @@ public class ComponentSelector extends LinearLayout
int pkgNameIndex = cursor.getColumnIndex(ThemesContract.ThemesColumns.PKG_NAME);
((ImageView) v.findViewById(R.id.back)).setImageBitmap(
- Utils.loadBitmapBlob(cursor, backIndex));
+ Utils.loadBitmapFile(cursor, backIndex));
setTitle(((TextView) v.findViewById(R.id.title)), cursor);
v.findViewById(R.id.container).setBackground(
- new BitmapDrawable(Utils.loadBitmapBlob(cursor, backgroundIndex)));
+ new BitmapDrawable(Utils.loadBitmapFile(cursor, backgroundIndex)));
v.setTag(cursor.getString(pkgNameIndex));
v.setOnClickListener(mItemClickListener);
return v;
@@ -586,7 +586,7 @@ public class ComponentSelector extends LinearLayout
int pkgNameIndex = cursor.getColumnIndex(ThemesContract.ThemesColumns.PKG_NAME);
((ImageView) v.findViewById(R.id.icon)).setImageBitmap(
- Utils.loadBitmapBlob(cursor, iconIndex));
+ Utils.loadBitmapFile(cursor, iconIndex));
setTitle(((TextView) v.findViewById(R.id.title)), cursor);
v.setTag(cursor.getString(pkgNameIndex));
v.setOnClickListener(mItemClickListener);
@@ -601,7 +601,7 @@ public class ComponentSelector extends LinearLayout
int pkgNameIndex = cursor.getColumnIndex(ThemesContract.ThemesColumns.PKG_NAME);
((ImageView) v.findViewById(R.id.icon)).setImageBitmap(
- Utils.loadBitmapBlob(cursor, styleIndex));
+ Utils.loadBitmapFile(cursor, styleIndex));
setTitle(((TextView) v.findViewById(R.id.title)), cursor);
v.setTag(cursor.getString(pkgNameIndex));
v.setOnClickListener(mItemClickListener);
@@ -626,7 +626,7 @@ public class ComponentSelector extends LinearLayout
cursor.moveToPosition(position - EXTRA_WALLPAPER_COMPONENTS);
int pkgNameIndex = cursor.getColumnIndex(ThemesContract.ThemesColumns.PKG_NAME);
iv.setImageBitmap(
- Utils.loadBitmapBlob(cursor, wallpaperIndex));
+ Utils.loadBitmapFile(cursor, wallpaperIndex));
setTitle(((TextView) v.findViewById(R.id.title)), cursor);
v.setTag(cursor.getString(pkgNameIndex));
}
@@ -642,7 +642,7 @@ public class ComponentSelector extends LinearLayout
int pkgNameIndex = cursor.getColumnIndex(ThemesContract.ThemesColumns.PKG_NAME);
((ImageView) v.findViewById(R.id.preview)).setImageBitmap(
- Utils.loadBitmapBlob(cursor, wallpaperIndex));
+ Utils.loadBitmapFile(cursor, wallpaperIndex));
setTitle(((TextView) v.findViewById(R.id.title)), cursor);
v.setTag(cursor.getString(pkgNameIndex));
v.setOnClickListener(mItemClickListener);
@@ -784,4 +784,4 @@ public class ComponentSelector extends LinearLayout
public void onSelectorOpened();
public void onSelectorClosed();
}
-} \ No newline at end of file
+}