Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/format/
DTimeFormatter.java197 CharBuffer formatBuffer = CharBuffer.wrap(pattern); in formatInternal() local
198 while (formatBuffer.remaining() > 0) { in formatInternal()
200 char currentChar = formatBuffer.get(formatBuffer.position()); in formatInternal()
202 outputCurrentChar = handleToken(formatBuffer, wallTime, zoneInfoData); in formatInternal()
205 outputBuilder.append(formatBuffer.get(formatBuffer.position())); in formatInternal()
207 formatBuffer.position(formatBuffer.position() + 1); in formatInternal()
211 private boolean handleToken(CharBuffer formatBuffer, ZoneInfoData.WallTime wallTime, in handleToken() argument
216 while (formatBuffer.remaining() > 1) { in handleToken()
218 formatBuffer.position(formatBuffer.position() + 1); in handleToken()
219 char currentChar = formatBuffer.get(formatBuffer.position()); in handleToken()