Home | History | Annotate | Download | only in dialpadview

Lines Matching defs:hex

389     String hex = deviceId.length() == 15 ? deviceId.substring(0, 14) : deviceId;
392 // back to just showing the raw hex
393 if (hex.length() == 14 && showDecimal) {
394 ((TextView) row.findViewById(R.id.deviceid_hex)).setText(hex);
395 ((TextView) row.findViewById(R.id.deviceid_dec)).setText(getDecimalFromHex(hex));
414 generateBarcode(hex, barcode.getWidth(), barcode.getHeight());
425 private static String getDecimalFromHex(String hex) {
426 final String part1 = hex.substring(0, 8);
427 final String part2 = hex.substring(8);
433 LogUtil.e("SpecialCharSequenceMgr.getDecimalFromHex", "unable to parse hex", e);
443 LogUtil.e("SpecialCharSequenceMgr.getDecimalFromHex", "unable to parse hex", e);
466 private static Bitmap generateBarcode(String hex, int width, int height) {
468 String data = Uri.encode(hex);