/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboard.java | 77 public void setParameters(final int numKeys, final int numColumn, final int keyWidth, in setParameters() argument 82 if (parentKeyboardWidth / keyWidth < Math.min(numKeys, numColumn)) { in setParameters() 84 + parentKeyboardWidth + " " + keyWidth + " " + numKeys + " " + numColumn); in setParameters() 89 final int numRows = (numKeys + numColumn - 1) / numColumn; in setParameters() 91 final int numColumns = isMoreKeysFixedColumn ? Math.min(numKeys, numColumn) in setParameters() 92 : getOptimizedColumns(numKeys, numColumn); in setParameters() 94 final int topKeys = numKeys % numColumns; in setParameters() 217 private static int getTopRowEmptySlots(final int numKeys, final int numColumns) { in getTopRowEmptySlots() argument 218 final int remainings = numKeys % numColumns; in getTopRowEmptySlots() 222 private int getOptimizedColumns(final int numKeys, final int maxColumns) { in getOptimizedColumns() argument [all …]
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | Provisioner.java | 63 public static int provisionCerts(int numKeys, int secLevel, byte[] geekChain, byte[] challenge, in provisionCerts() argument 65 if (numKeys < 1) { in provisionCerts() 66 Log.e(TAG, "Request at least 1 key to be signed. Num requested: " + numKeys); in provisionCerts() 72 SystemInterface.generateCsr(false /* testMode */, numKeys, secLevel, geekChain, in provisionCerts()
|
D | SystemInterface.java | 71 public static byte[] generateCsr(boolean testMode, int numKeys, int secLevel, in generateCsr() argument 77 numKeys, in generateCsr()
|
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/ |
D | SystemInterfaceTest.java | 156 int numKeys = 10; in testGenerateCSRProvisionAndUseKey() local 159 for (int i = 0; i < numKeys; i++) { in testGenerateCSRProvisionAndUseKey() 163 SystemInterface.generateCsr(true /* testMode */, numKeys, in testGenerateCSRProvisionAndUseKey() 182 assertEquals(numKeys, publicKeys.getDataItems().size()); in testGenerateCSRProvisionAndUseKey() 185 X509Certificate[][] certChain = new X509Certificate[numKeys][3]; in testGenerateCSRProvisionAndUseKey() 186 for (int i = 0; i < numKeys; i++) { in testGenerateCSRProvisionAndUseKey() 280 int numKeys = 1; in testDecryptProtectedPayload() local 285 SystemInterface.generateCsr(true /* testMode */, numKeys, in testDecryptProtectedPayload()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardBuilderMaxOrderTests.java | 49 private static MoreKeysKeyboardParams createParams(final int numKeys, final int maxColumns, in createParams() argument 52 params.setParameters(numKeys, maxColumns, WIDTH, HEIGHT, coordXInParent, KEYBOARD_WIDTH, in createParams()
|
D | MoreKeysKeyboardBuilderAutoOrderTests.java | 49 private static MoreKeysKeyboardParams createParams(final int numKeys, final int columnNum, in createParams() argument 52 params.setParameters(numKeys, columnNum, WIDTH, HEIGHT, coordXInParent, KEYBOARD_WIDTH, in createParams()
|
D | MoreKeysKeyboardBuilderFixedOrderTests.java | 49 private static MoreKeysKeyboardParams createParams(final int numKeys, final int columnNum, in createParams() argument 52 params.setParameters(numKeys, columnNum, WIDTH, HEIGHT, coordXInParent, KEYBOARD_WIDTH, in createParams()
|