Make symmetric identicons 9x9 instead of 5x5

This commit is contained in:
str4d
2016-01-26 19:36:21 +00:00
parent 9318a50cb7
commit 9749eefb90
2 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ import org.briarproject.api.crypto.CryptoComponent;
public class IdenticonDrawable extends Drawable {
private IdenticonBase mDelegate;
private static final int CENTER_COLUMN_INDEX = 3;
private static final int CENTER_COLUMN_INDEX = 5;
public IdenticonDrawable(final CryptoComponent crypto, byte[] toShow) {
super();
@@ -27,12 +27,12 @@ public class IdenticonDrawable extends Drawable {
@Override
protected int getRowCount() {
return 5;
return 9;
}
@Override
protected int getColumnCount() {
return 5;
return 9;
}
@Override

View File

@@ -28,7 +28,7 @@ import roboguice.RoboGuice;
public class SymmetricIdenticon extends IdenticonView {
private static final int CENTER_COLUMN_INDEX = 3;
private static final int CENTER_COLUMN_INDEX = 5;
@Inject private CryptoComponent mCrypto;
private IdenticonBase mDelegate;
@@ -58,12 +58,12 @@ public class SymmetricIdenticon extends IdenticonView {
@Override
protected int getRowCount() {
return 5;
return 9;
}
@Override
protected int getColumnCount() {
return 5;
return 9;
}
@Override