Searched refs:State (Results 101 - 125 of 197) sorted by relevance

12345678

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsCache.java39 import com.android.documentsui.DocumentsActivity.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;
364 if (state.action == State.ACTION_OPEN_TREE && !supportsIsChild) continue;
370 if (state.action != State.ACTION_CREATE && empty) continue;
H A DDirectoryFragment.java20 import static com.android.documentsui.DocumentsActivity.State.ACTION_CREATE;
21 import static com.android.documentsui.DocumentsActivity.State.ACTION_MANAGE;
22 import static com.android.documentsui.DocumentsActivity.State.MODE_GRID;
23 import static com.android.documentsui.DocumentsActivity.State.MODE_LIST;
24 import static com.android.documentsui.DocumentsActivity.State.MODE_UNKNOWN;
25 import static com.android.documentsui.DocumentsActivity.State.SORT_ORDER_UNKNOWN;
79 import com.android.documentsui.DocumentsActivity.State;
240 final State state = getDisplayState(DirectoryFragment.this);
344 final State state = getDisplayState(this);
366 final State stat
[all...]
H A DRecentsCreateFragment.java48 import com.android.documentsui.DocumentsActivity.State;
98 final State state = ((DocumentsActivity) getActivity()).getDisplayState();
148 private final State mState;
150 public RecentsCreateLoader(Context context, RootsCache roots, State state) {
H A DSortingCursorWrapper.java19 import static com.android.documentsui.DocumentsActivity.State.SORT_ORDER_DISPLAY_NAME;
20 import static com.android.documentsui.DocumentsActivity.State.SORT_ORDER_LAST_MODIFIED;
21 import static com.android.documentsui.DocumentsActivity.State.SORT_ORDER_SIZE;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipConnectionBase.java65 protected void setState(Call.State state) {
122 if (getState() != Call.State.HOLDING) {
/frameworks/rs/
H A DrsElement.h42 struct State { struct in struct:android::renderscript::Element::Hal
56 State state;
H A DrsType.h39 struct State { struct in struct:android::renderscript::Type::Hal
55 State state;
/frameworks/av/include/media/stagefright/
H A DOMXCodec.h133 enum State { enum in struct:android::OMXCodec
198 State mState;
331 static bool isIntermediateState(State state);
338 void setState(State newState);
H A DMediaCodec.h151 enum State { enum in struct:android::MediaCodec
220 State mState;
274 void setState(State newState);
/frameworks/base/libs/common_time/
H A Dcommon_clock_service.h45 virtual status_t getState(ICommonClock::State* state);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DDctConstants.java35 * getDataConnectionState() maps State to DataState
40 public enum State { enum in class:DctConstants
H A DPhoneConstants.java34 public enum State { enum in class:PhoneConstants
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java731 private static class State { class in class:CameraStreamer
769 private State mState = new State();
996 return mState.current() != State.STATE_STOPPED;
1110 if (mState.current() != State.STATE_RUNNING) {
1142 if (mState.current() == State.STATE_STOPPED) {
1143 mState.set(State.STATE_RUNNING);
1150 if (mState.current() == State.STATE_RUNNING) {
1155 mState.set(State.STATE_STOPPED);
1160 if (mState.current() == State
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPinView.java21 import com.android.internal.telephony.IccCardConstants.State;
59 public void onSimStateChanged(int subId, int slotId, State simState) {
77 mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipSession.java35 public static class State { class in class:SipSession
102 private State() { method in class:SipSession.State
300 * {@link State}.
309 return State.NOT_DEFINED;
358 * in {@link State#READY_TO_CALL}.
376 * session state is in {@link State#READY_TO_CALL}.
391 * the session state is in {@link State#READY_TO_CALL}.
412 * {@link State#INCOMING_CALL}.
430 * in {@link State#IN_CALL},
431 * {@link State#INCOMING_CAL
[all...]
H A DSipAudioCall.java243 case SipSession.State.READY_TO_CALL:
246 case SipSession.State.INCOMING_CALL:
249 case SipSession.State.OUTGOING_CALL:
252 case SipSession.State.OUTGOING_CALL_RING_BACK:
330 * The value returned must be one of the states in {@link SipSession.State}.
336 if (mSipSession == null) return SipSession.State.READY_TO_CALL;
921 && (SipSession.State.IN_CALL == getState())) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAccessibilityTest.java67 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) {
83 RecyclerView.State state) {
94 RecyclerView.State state) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileView.java41 import com.android.systemui.qs.QSTile.State;
295 protected void handleStateChanged(QSTile.State state) {
309 protected void setIcon(ImageView iv, QSTile.State state) {
325 public void onStateChanged(QSTile.State state) {
337 handleStateChanged((State) msg.obj);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentTasksLoader.java76 private enum State { LOADING, LOADED, CANCELLED }; enum in class:RecentTasksLoader
77 private State mState = State.CANCELLED;
315 mState = State.CANCELLED;
420 if (mState != State.CANCELLED) {
423 mState = State.LOADING;
547 mState = State.LOADED;
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java54 import com.android.internal.util.State;
766 private State mDefaultState;
768 private State mInitialState;
769 private State mStartingState;
770 private State mTetheredState;
772 private State mUnavailableState;
865 class InitialState extends State {
895 class StartingState extends State {
953 class TetheredState extends State {
1088 class UnavailableState extends State {
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiWatchdogStateMachine.java40 import com.android.internal.util.State;
445 class DefaultState extends State {
487 class WatchdogDisabledState extends State {
522 class WatchdogEnabledState extends State {
597 class NotConnectedState extends State {
607 class VerifyingLinkState extends State {
683 class ConnectedState extends State {
708 class OnlineWatchState extends State {
745 class LinkMonitoringState extends State {
859 class OnlineState extends State {
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DStaggeredGridLayoutManager.java532 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) {
654 void updateAnchorInfoForLayout(RecyclerView.State state, AnchorInfo anchorInfo) {
668 private boolean updateAnchorFromChildren(RecyclerView.State state, AnchorInfo anchorInfo) {
680 boolean updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) {
907 public int computeHorizontalScrollOffset(RecyclerView.State state) {
911 private int computeScrollOffset(RecyclerView.State state) {
923 public int computeVerticalScrollOffset(RecyclerView.State state) {
928 public int computeHorizontalScrollExtent(RecyclerView.State state) {
932 private int computeScrollExtent(RecyclerView.State state) {
944 public int computeVerticalScrollExtent(RecyclerView.State stat
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java32 import android.net.NetworkInfo.State;
194 if (mWifiNetworkInfo.getState() == State.CONNECTED) {
262 public void recordNetworkState(int networkType, State networkState) {
277 public void setStateTransitionCriteria(int networkType, State initState,
278 StateTransitionDirection transitionDir, State targetState) {
434 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) {
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java163 public enum State { NOT_LOADED, LOADED, ERROR_LOADING }; enum in class:BitmapRegionTileSource.BitmapSource
164 private State mState = State.NOT_LOADED;
178 mState = State.ERROR_LOADING;
194 mState = State.LOADED;
199 public State getLoadingState() {
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java26 import android.net.NetworkInfo.State;
159 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) {
487 State.CONNECTED, WIFI_CONNECTION_TIMEOUT));

Completed in 4137 milliseconds

12345678