mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 22:59:54 +01:00
Make symmetric identicons 9x9 instead of 5x5
This commit is contained in:
@@ -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 {
|
|||||||
|
|
||||||
@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;
|
|||||||
|
|
||||||
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 {
|
|||||||
|
|
||||||
@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
|
||||||
|
|||||||
Reference in New Issue
Block a user