Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerSetupView.java53 private int mInputPointer = -1; field in TimerSetupView
238 if (mInputPointer == -1 && digit == 0) { in append()
243 if (mInputPointer == mInput.length - 1) { in append()
248 System.arraycopy(mInput, 0, mInput, 1, mInputPointer + 1); in append()
250 mInputPointer++; in append()
259 if (mInputPointer == 0) { in append()
267 if (mInputPointer < 0) { in delete()
271 System.arraycopy(mInput, 1, mInput, 0, mInputPointer); in delete()
272 mInput[mInputPointer] = 0; in delete()
273 mInputPointer--; in delete()
[all …]
DTimerSetupView.kt50 private var mInputPointer = -1 variable
211 if (mInputPointer == -1 && digit == 0) { in append()
216 if (mInputPointer == mInput.size - 1) { in append()
221 System.arraycopy(mInput, 0, mInput, 1, mInputPointer + 1) in append()
223 mInputPointer++ in append()
232 if (mInputPointer == 0) { in append()
240 if (mInputPointer < 0) { in delete()
244 System.arraycopy(mInput, 1, mInput, 0, mInputPointer) in delete()
245 mInput[mInputPointer] = 0 in delete()
246 mInputPointer-- in delete()
[all …]