Home
last modified time | relevance | path

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

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DRecyclingBitmapDrawable.java63 checkState(); in setIsDisplayed()
84 checkState(); in setIsCached()
88 private synchronized void checkState() { in checkState() method in RecyclingBitmapDrawable
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DLabelMaker.java122 checkState(STATE_INITIALIZED, STATE_ADDING); in beginAdding()
176 checkState(STATE_ADDING, STATE_ADDING); in add()
264 checkState(STATE_ADDING, STATE_INITIALIZED); in endAdding()
313 checkState(STATE_INITIALIZED, STATE_DRAWING); in beginDrawing()
340 checkState(STATE_DRAWING, STATE_DRAWING); in draw()
355 checkState(STATE_DRAWING, STATE_INITIALIZED); in endDrawing()
363 private void checkState(int oldState, int newState) { in checkState() method in LabelMaker
/development/tools/idegen/src/com/android/idegen/
DModuleIndexes.java93 Preconditions.checkState(moduleNameToMakeFileMap != null, in getMakeFile()
DModuleCache.java71 Preconditions.checkState(indexes != null, "You must call init() first."); in getAndCacheByName()