Searched refs:dockState (Results 1 – 8 of 8) sorted by relevance
48 <pre>int dockState = battery.getIntExtra(EXTRA_DOCK_STATE, -1);49 boolean isDocked = dockState != Intent.EXTRA_DOCK_STATE_UNDOCKED;</pre>62 <pre>boolean isCar = dockState == EXTRA_DOCK_STATE_CAR;63 boolean isDesk = dockState == EXTRA_DOCK_STATE_DESK || 64 dockState == EXTRA_DOCK_STATE_LE_DESK ||65 dockState == EXTRA_DOCK_STATE_HE_DESK;</pre>
58 <pre>int dockState = battery.getIntExtra(EXTRA_DOCK_STATE, -1);59 boolean isDocked = dockState != Intent.EXTRA_DOCK_STATE_UNDOCKED;</pre>74 <pre>boolean isCar = dockState == EXTRA_DOCK_STATE_CAR;75 boolean isDesk = dockState == EXTRA_DOCK_STATE_DESK || 76 dockState == EXTRA_DOCK_STATE_LE_DESK ||77 dockState == EXTRA_DOCK_STATE_HE_DESK;</pre>
2778 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, in onReceive() local2780 if (mDockState != dockState) { in onReceive()2781 mDockState = dockState; in onReceive()
4985 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, in onReceive() local4988 switch (dockState) { in onReceive()5007 if (!((dockState == Intent.EXTRA_DOCK_STATE_LE_DESK) || in onReceive()5008 ((dockState == Intent.EXTRA_DOCK_STATE_UNDOCKED) && in onReceive()5012 mDockState = dockState; in onReceive()