Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DUndoManager.java64 private int mHistorySize = 20; field in UndoManager
137 p.writeInt(mHistorySize); in saveInstanceState()
183 mHistorySize = p.readInt(); in restoreInstanceState()
215 mHistorySize = size; in setHistorySize()
216 if (mHistorySize >= 0 && countUndos(null) > mHistorySize) { in setHistorySize()
217 forgetUndos(null, countUndos(null) - mHistorySize); in setHistorySize()
225 return mHistorySize; in getHistorySize()
613 if (mHistorySize >= 0 && N > mHistorySize) { in pushWorkingState()
614 forgetUndos(null, N - mHistorySize); in pushWorkingState()