Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 4 of 4) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DNumericSprite.java37 String digit = sStrike.substring(i, i+1); in initialize() local
38 mLabelId[i] = mLabelMaker.add(gl, digit, paint); in initialize()
73 int digit = c - '0'; in draw() local
74 mLabelMaker.draw(gl, x, y, mLabelId[digit]); in draw()
75 x += mWidth[digit]; in draw()
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardService.java148 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) in HexStringToByteArray()
149 + Character.digit(s.charAt(i+1), 16)); in HexStringToByteArray()
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java143 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) in HexStringToByteArray()
144 + Character.digit(s.charAt(i+1), 16)); in HexStringToByteArray()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java442 int digit = (int) (lval % 10); in formatFloat() local
444 out[index--] = (char) (digit + '0'); in formatFloat()