Skip to content
Snippets Groups Projects
Commit 9749eefb authored by str4d's avatar str4d
Browse files

Make symmetric identicons 9x9 instead of 5x5

parent 9318a50c
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ import org.briarproject.api.crypto.CryptoComponent; ...@@ -15,7 +15,7 @@ import org.briarproject.api.crypto.CryptoComponent;
public class IdenticonDrawable extends Drawable { public class IdenticonDrawable extends Drawable {
private IdenticonBase mDelegate; 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) { public IdenticonDrawable(final CryptoComponent crypto, byte[] toShow) {
super(); super();
...@@ -27,12 +27,12 @@ public class IdenticonDrawable extends Drawable { ...@@ -27,12 +27,12 @@ public class IdenticonDrawable extends Drawable {
@Override @Override
protected int getRowCount() { protected int getRowCount() {
return 5; return 9;
} }
@Override @Override
protected int getColumnCount() { protected int getColumnCount() {
return 5; return 9;
} }
@Override @Override
......
...@@ -28,7 +28,7 @@ import roboguice.RoboGuice; ...@@ -28,7 +28,7 @@ import roboguice.RoboGuice;
public class SymmetricIdenticon extends IdenticonView { 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; @Inject private CryptoComponent mCrypto;
private IdenticonBase mDelegate; private IdenticonBase mDelegate;
...@@ -58,12 +58,12 @@ public class SymmetricIdenticon extends IdenticonView { ...@@ -58,12 +58,12 @@ public class SymmetricIdenticon extends IdenticonView {
@Override @Override
protected int getRowCount() { protected int getRowCount() {
return 5; return 9;
} }
@Override @Override
protected int getColumnCount() { protected int getColumnCount() {
return 5; return 9;
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment