Searched refs:State (Results 76 - 100 of 212) sorted by relevance

123456789

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsCache.java39 import com.android.documentsui.BaseActivity.State;
343 public Collection<RootInfo> getMatchingRootsBlocking(State state) {
352 static List<RootInfo> getMatchingRoots(Collection<RootInfo> roots, State state) {
362 if (state.action == State.ACTION_CREATE && !supportsCreate) continue;
363 if (state.action == State.ACTION_OPEN_COPY_DESTINATION && !supportsCreate) continue;
365 if (state.action == State.ACTION_OPEN_TREE && !supportsIsChild) continue;
374 if ((state.action != State.ACTION_CREATE ||
375 state.action != State.ACTION_OPEN_TREE ||
376 state.action != State.ACTION_OPEN_COPY_DESTINATION) && empty) continue;
H A DRecentLoader.java20 import static com.android.documentsui.BaseActivity.State.SORT_ORDER_LAST_MODIFIED;
37 import com.android.documentsui.BaseActivity.State;
82 private final State mState;
86 private final int mSortOrder = State.SORT_ORDER_LAST_MODIFIED;
155 public RecentLoader(Context context, RootsCache roots, State state) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTile.java32 import com.android.systemui.qs.QSTile.State;
50 * State management done on a looper provided by the host. Tiles should update state in
54 public abstract class QSTile<TState extends State> implements Listenable {
314 void onStateChanged(State state);
430 public static class State { class in class:QSTile
438 public boolean copyTo(State other) {
474 public static class BooleanState extends State {
478 public boolean copyTo(State other) {
493 public static final class SignalState extends State {
503 public boolean copyTo(State othe
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java78 IccCardConstants.State mSimState = IccCardConstants.State.READY;
193 mSimState = IccCardConstants.State.ABSENT;
196 mSimState = IccCardConstants.State.CARD_IO_ERROR;
199 mSimState = IccCardConstants.State.READY;
205 mSimState = IccCardConstants.State.PIN_REQUIRED;
208 mSimState = IccCardConstants.State.PUK_REQUIRED;
211 mSimState = IccCardConstants.State.NETWORK_LOCKED;
214 mSimState = IccCardConstants.State.UNKNOWN;
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java23 import android.net.NetworkInfo.State;
217 State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
245 // waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.DISCONNECTED,
253 waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED,
265 assertEquals("mobile not connected", State.CONNECTED,
277 waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
/frameworks/native/include/input/
H A DVelocityTracker.h211 struct State { struct in class:android::IntegratingVelocityTrackerStrategy
221 State mPointerState[MAX_POINTER_ID + 1];
223 void initState(State& state, nsecs_t eventTime, float xpos, float ypos) const;
224 void updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const;
225 void populateEstimator(const State& state, VelocityTracker::Estimator* outEstimator) const;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallManager.java273 public PhoneConstants.State getState() {
274 PhoneConstants.State s = PhoneConstants.State.IDLE;
277 if (phone.getState() == PhoneConstants.State.RINGING) {
278 s = PhoneConstants.State.RINGING;
279 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) {
280 if (s == PhoneConstants.State.IDLE) s = PhoneConstants.State.OFFHOOK;
292 public PhoneConstants.State getState(int subId) {
293 PhoneConstants.State
[all...]
H A DConnection.java127 public Call.State mPreHandoverState = Call.State.IDLE;
280 * Returns getCall().getState() or Call.State.IDLE if not
283 public Call.State getState() {
289 return Call.State.IDLE;
299 public Call.State getStateBeforeHandover() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DEvents.java26 import com.android.systemui.volume.VolumeDialogController.State;
179 public static void writeState(long time, State state) {
215 void writeState(long time, State state);
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DImsCallSession.java42 public static class State { class in class:ImsCallSession
85 private State() { method in class:ImsCallSession.State
538 * The value returned must be one of the states in {@link State}.
544 return State.INVALID;
550 return State.INVALID;
567 case State.IDLE:
568 case State.INITIATED:
569 case State.NEGOTIATING:
570 case State.ESTABLISHING:
571 case State
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DRilMessageDecoder.java27 import com.android.internal.util.State;
126 private class StateStart extends State {
141 private class StateCmdParamsReady extends State {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java100 * {@link #onLayoutChildren(RecyclerView.Recycler, RecyclerView.State)} is run.
414 protected int getExtraLayoutSpace(RecyclerView.State state) {
423 public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state,
454 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) {
630 void onAnchorReady(RecyclerView.Recycler recycler, RecyclerView.State state,
638 RecyclerView.State state, int startOffset, int endOffset) {
692 private void updateAnchorInfoForLayout(RecyclerView.Recycler recycler, RecyclerView.State state,
721 RecyclerView.State state, AnchorInfo anchorInfo) {
762 private boolean updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) {
848 RecyclerView.State stat
[all...]
/frameworks/av/include/common_time/
H A DICommonClock.h54 enum State { enum in class:android::ICommonClock
83 virtual status_t getState(State* state) = 0;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.h70 enum State { enum in struct:android::NuPlayer::RTSPSource
98 State mState;
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.h54 enum State { enum in struct:android::ARTSPConnection
81 State mState;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAnimationsTest.java136 RecyclerView.State state) {
273 AnimationLayoutManager lm, RecyclerView.State state) {
281 RecyclerView.State state) {
339 RecyclerView.State state) {
352 RecyclerView.State state) {
439 RecyclerView.State state) {
453 AnimationLayoutManager layoutManager, RecyclerView.State state) {
807 RecyclerView.State state) {
832 AnimationLayoutManager lm, RecyclerView.State state) {
838 public void onScroll(int dx, RecyclerView.Recycler recycler, RecyclerView.State stat
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java372 DctConstants.State apnContextState = apnContext.getState();
374 (apnContextState == DctConstants.State.FAILED));
529 protected void setState(DctConstants.State s) {
535 public DctConstants.State getState(String apnType) {
540 return DctConstants.State.FAILED;
555 public DctConstants.State getOverallState() {
567 return DctConstants.State.CONNECTED;
586 return DctConstants.State.IDLE;
591 return DctConstants.State.CONNECTING;
594 return DctConstants.State
[all...]
H A DDcSwitchStateMachine.java22 import com.android.internal.util.State;
86 private class IdleState extends State {
150 private class EmergencyState extends State {
198 private class AttachingState extends State {
310 private class AttachedState extends State {
364 private class DetachingState extends State {
434 private class DefaultState extends State {
/frameworks/base/libs/common_time/
H A Dcommon_time_server.h54 ICommonClock::State getState();
155 ICommonClock::State mState;
156 void setState(ICommonClock::State s);
314 static const char* stateToString(ICommonClock::State s);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardUpdateMonitorCallback.java123 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { }
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java38 public class IntentTile extends QSTile<QSTile.State> {
77 protected State newTileState() {
78 return new State();
116 protected void handleUpdateState(State state, Object arg) {
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrameReader.h45 enum State { Q0, Q1, Accept, NumOfStates = 2, Reject = -1 }; enum in class:mcld::EhFrameReader
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNotificationController.java149 NetworkInfo.State state = NetworkInfo.State.DISCONNECTED;
153 if ((state == NetworkInfo.State.DISCONNECTED)
154 || (state == NetworkInfo.State.UNKNOWN)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java156 parent.attachFake(this, GsmCall.State.DIALING);
200 if (getState() != GsmCall.State.HOLDING) {
214 public GsmCall.State getState() {
216 return GsmCall.State.DISCONNECTED;
423 boolean wasHolding = (getState() == GsmCall.State.HOLDING);
483 if (changed && !wasHolding && (getState() == GsmCall.State.HOLDING)) {
504 mParent.attachFake(this, GsmCall.State.HOLDING);
673 || mParent.mState == GsmCall.State.DIALING
674 || mParent.mState == GsmCall.State.ALERTING;
678 parentFromDCState (DriverCall.State stat
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp334 const Layer::State& s(getDrawingState());
339 const Layer::State& s(getDrawingState());
355 const State& s(getDrawingState());
462 const State& s(getDrawingState());
588 const State& s(getCurrentState());
735 const State& s(getDrawingState());
820 const Layer::State& s(getDrawingState());
841 bool Layer::isOpaque(const Layer::State& s) const
856 const Layer::State& s(mDrawingState);
902 const Layer::State
[all...]

Completed in 836 milliseconds

123456789