Home
last modified time | relevance | path

Searched refs:initialState (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/paging/common/src/main/java/android/arch/paging/
DContiguousPagedList.java66 NullPaddedList<T> initialState = dataSource.loadInitial( in ContiguousPagedList() local
69 if (initialState != null) { in ContiguousPagedList()
70 mPositionOffset = initialState.getPositionOffset(); in ContiguousPagedList()
72 mLeadingNullCount = initialState.getLeadingNullCount(); in ContiguousPagedList()
73 mList = new ArrayList<>(initialState.mList); in ContiguousPagedList()
74 mTrailingNullCount = initialState.getTrailingNullCount(); in ContiguousPagedList()
76 if (initialState.getLeadingNullCount() == 0 in ContiguousPagedList()
77 && initialState.getTrailingNullCount() == 0 in ContiguousPagedList()
84 if (initialState.size() != 0) { in ContiguousPagedList()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetBehaviorActivity.java49 int initialState = intent.getIntExtra(EXTRA_INITIAL_STATE, -1); in onContentViewSet() local
50 if (initialState != -1) { in onContentViewSet()
52 mBehavior.setState(initialState); in onContentViewSet()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DOperation.java27 public Operation(int initialState, BackupRestoreTask callbackObj, int type) { in Operation() argument
28 state = initialState; in Operation()
/frameworks/support/lifecycle/runtime/src/main/java/android/arch/lifecycle/
DLifecycleRegistry.java144 State initialState = mState == DESTROYED ? DESTROYED : INITIALIZED; in addObserver() local
145 ObserverWithState statefulObserver = new ObserverWithState(observer, initialState); in addObserver()
318 ObserverWithState(LifecycleObserver observer, State initialState) { in ObserverWithState() argument
320 mState = initialState; in ObserverWithState()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1229 private final void setInitialState(State initialState) { in setInitialState() argument
1230 if (mDbg) mSm.log("setInitialState: initialState=" + initialState.getName()); in setInitialState()
1231 mInitialState = initialState; in setInitialState()
1375 public final void setInitialState(State initialState) { in setInitialState() argument
1376 mSmHandler.setInitialState(initialState); in setInitialState()
/frameworks/support/paging/runtime/src/androidTest/java/android/support/v7/recyclerview/extensions/
DListAdapterHelperTest.java85 public void initialState() { in initialState() method in ListAdapterHelperTest
/frameworks/support/paging/runtime/src/androidTest/java/android/arch/paging/
DPagedListAdapterHelperTest.java110 public void initialState() { in initialState() method in PagedListAdapterHelperTest
/frameworks/base/services/core/java/com/android/server/
DNsdService.java117 State initialState = isNsdEnabled() ? mEnabledState : mDisabledState; in NsdStateMachine() local
118 setInitialState(initialState); in NsdStateMachine()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp527 void addLed(int32_t deviceId, int32_t led, bool initialState) { in addLed() argument
529 device->leds.add(led, initialState); in addLed()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java671 Operation(int initialState, BackupRestoreTask callbackObj, int type) { in Operation() argument
672 state = initialState; in Operation()