Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java191 private int mMode; field in LunarView.LunarThread
318 if (mMode == STATE_RUNNING) setState(STATE_PAUSE); in pause()
360 if (mMode == STATE_RUNNING) updatePhysics(); in run()
475 mMode = mode; in setState()
477 if (mMode == STATE_RUNNING) { in setState()
489 if (mMode == STATE_READY) in setState()
491 else if (mMode == STATE_PAUSE) in setState()
493 else if (mMode == STATE_LOSE) in setState()
495 else if (mMode == STATE_WIN) in setState()
504 if (mMode == STATE_LOSE) mWinsInARow = 0; in setState()
[all …]
/development/samples/Snake/src/com/example/android/snake/
DSnakeView.java43 private int mMode = READY; field in SnakeView
262 if (mMode == READY | mMode == LOSE) { in moveSnake()
273 if (mMode == PAUSE) { in moveSnake()
330 int oldMode = mMode; in setMode()
331 mMode = newMode; in setMode()
370 return mMode; in getGameState()
411 if (mMode == RUNNING) { in update()
/development/samples/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/
DThemedNavBarKeyboard.java132 private InputViewMode mMode = InputViewMode.SYSTEM_OWNED_NAV_BAR_LAYOUT; field in ThemedNavBarKeyboard.KeyboardLayoutView
224 return mMode == InputViewMode.FLOATING_LAYOUT; in isFloatingMode()
246 mMode = InputViewMode.FLOATING_LAYOUT; in switchToFloatingMode()
279 mMode = InputViewMode.SYSTEM_OWNED_NAV_BAR_LAYOUT; in switchToSeparateNavBarMode()
300 mMode = InputViewMode.IME_OWNED_NAV_BAR_LAYOUT; in switchToExtendedNavBarMode()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DViewfinderProcessor.java49 private int mMode; field in ViewfinderProcessor
102 mMode = mode; in setRenderMode()
153 if (mCheckMerge && mMode == MODE_HDR) { in run()
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/
DDrawableTintingFragment.java108 private PorterDuff.Mode mMode; field in DrawableTintingFragment
197 mMode = MODES[0]; in onCreateView()
261 mMode = mode; in updateTint()
269 mImage.setColorFilter(mHintColor, mMode); in updateTint()