Searched refs:state (Results 201 - 225 of 865) sorted by relevance

1234567891011>>

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaRecorderStateUnitTestTemplate.java65 * Calls method under test in the given state of the MediaRecorder object.
67 * @param state the MediaRecorder state in which the method under test is called.
69 private void callMediaRecorderMethodUnderTestInState(MediaRecorderStateErrors.MediaRecorderState state) { argument
70 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state);
71 setMediaRecorderToState(state);
77 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state);
82 * object to the corresponding state, give
215 setMediaRecorderToState(MediaRecorderStateErrors.MediaRecorderState state) argument
251 setStateError(MediaRecorderStateErrors.MediaRecorderState state, boolean error) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintProgressFragment.java36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileView.java297 protected void handleStateChanged(QSTile.State state) { argument
299 setIcon((ImageView) mIcon, state);
302 mDualLabel.setText(state.label);
303 mDualLabel.setContentDescription(state.dualLabelContentDescription);
304 mTopBackgroundView.setContentDescription(state.contentDescription);
306 mLabel.setText(state.label);
307 setContentDescription(state.contentDescription);
311 protected void setIcon(ImageView iv, QSTile.State state) { argument
312 if (!Objects.equals(state.icon, iv.getTag(R.id.qs_icon_tag))) {
313 Drawable d = state
328 onStateChanged(QSTile.State state) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockIcon.java103 int state = getState();
104 boolean anyFingerprintIcon = state == STATE_FINGERPRINT || state == STATE_FINGERPRINT_ERROR;
105 if (state != mLastState || mDeviceInteractive != mLastDeviceInteractive) {
106 int iconRes = getAnimationResForTransition(mLastState, state, mLastDeviceInteractive,
112 iconRes = getIconForState(state);
153 mLastState = state;
195 private int getIconForState(int state) { argument
196 switch (state) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCastController.java42 public int state = STATE_DISCONNECTED; field in class:CastController.CastDevice
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIPhoneStateListener.aidl36 void onCallStateChanged(int state, String incomingNumber);
37 void onDataConnectionStateChanged(int state, int networkType);
/frameworks/native/include/android/
H A Dstorage_manager.h98 typedef void (*AStorageManager_obbCallbackFunc)(const char* filename, const int32_t state, void* data);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java85 mState = stateFromDCState (dc.state);
89 attachFake(Connection conn, State state) { argument
92 mState = state;
138 newState = stateFromDCState(dc.state);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCall.java87 mState = stateFromDCState (dc.state);
91 attachFake(Connection conn, State state) { argument
94 mState = state;
139 newState = stateFromDCState(dc.state);
/frameworks/rs/driver/
H A DrsdProgramRaster.cpp36 switch (pr->mHal.state.cull) {
/frameworks/support/v4/java/android/support/v4/app/
H A DBackStackRecord.java649 TransitionState state = null;
658 state = beginTransition(firstOutFragments, lastInFragments, false);
661 int transitionStyle = state != null ? 0 : mTransitionStyle;
662 int transition = state != null ? 0 : mTransition;
665 int enterAnim = state != null ? 0 : op.enterAnim;
666 int exitAnim = state != null ? 0 : op.exitAnim;
871 public TransitionState popFromBackStack(boolean doStateMove, TransitionState state, argument
881 if (state == null) {
883 state = beginTransition(firstOutFragments, lastInFragments, true);
886 setNameOverrides(state, mSharedElementTargetName
1088 remapSharedElements(TransitionState state, Fragment outFragment, boolean isBack) argument
1130 configureTransitions(int containerId, TransitionState state, boolean isBack, SparseArray<Fragment> firstOutFragments, SparseArray<Fragment> lastInFragments) argument
1229 prepareSharedElementTransition(final TransitionState state, final View sceneRoot, final Object sharedElementTransition, final Fragment inFragment, final Fragment outFragment, final boolean isBack, final ArrayList<View> sharedElementTargets) argument
1260 callSharedElementEnd(TransitionState state, Fragment inFragment, Fragment outFragment, boolean isBack, ArrayMap<String, View> namedViews) argument
1272 setEpicenterIn(ArrayMap<String, View> namedViews, TransitionState state) argument
1283 mapSharedElementsIn(TransitionState state, boolean isBack, Fragment inFragment) argument
1339 mapEnteringSharedElements(TransitionState state, Fragment inFragment, boolean isBack) argument
1357 excludeHiddenFragmentsAfterEnter(final View sceneRoot, final TransitionState state, final int containerId, final Object transition) argument
1369 excludeHiddenFragments(TransitionState state, int containerId, Object transition) argument
1404 setNameOverrides(TransitionState state, ArrayList<String> sourceNames, ArrayList<String> targetNames) argument
1415 setBackNameOverrides(TransitionState state, ArrayMap<String, View> namedViews, boolean isEnd) argument
1433 setNameOverrides(TransitionState state, ArrayMap<String, View> namedViews, boolean isEnd) argument
[all...]
/frameworks/webview/chromium/plat_support/
H A Ddraw_sw.h33 SkCanvasState* state; // The externalize state in skia format. member in struct:AwPixelInfo
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c143 SLuint32 state; local
144 state = SL_PLAYSTATE_PLAYING;
145 result = (*playerPlay)->SetPlayState(playerPlay, state);
242 state = SL_PLAYSTATE_PAUSED;
245 state = SL_PLAYSTATE_STOPPED;
248 state = SL_PLAYSTATE_PLAYING;
250 result = (*playerPlay)->SetPlayState(playerPlay, state);
255 if (newstate != state)
256 printf("\rSetPlayState(%u) -> GetPlayState(%u)\r\n", (unsigned) state,
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp65 l.mParameters.state = Parameters::DISCONNECTED;
176 result.append(Parameters::getStateName(p.state));
288 result.append(" Focus state: ");
409 if (l.mParameters.state == Parameters::DISCONNECTED) return;
410 l.mParameters.state = Parameters::DISCONNECTED;
445 // Remove all ZSL stream state before disconnect; needed to work around b/15408128.
507 if (l.mParameters.state == Parameters::RECORD ||
508 l.mParameters.state == Parameters::VIDEO_SNAPSHOT) {
554 Parameters::State state; local
557 state
903 Parameters::State state; local
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java49 * Drawable that shows a ripple effect in response to state changes. The
50 * anchoring position of the ripple for a given state may be specified by
51 * calling {@link #setHotspot(float, float)} with the corresponding state
250 for (int state : stateSet) {
251 if (state == R.attr.state_enabled) {
253 } else if (state == R.attr.state_focused) {
255 } else if (state == R.attr.state_pressed) {
374 * @param color Ripple color as a color state list.
456 * Initializes the constant state from the values in the typed array.
459 final RippleState state
972 createConstantState(LayerState state, Resources res) argument
1016 RippleDrawable(RippleState state, Resources res) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp1254 vadState1 *st, /* i/o : VAD state struct */
1263 /* adapt speed on own state */
1267 { /* low state */
1271 { /* high state */
1372 vadState1 *st, /* i/o : VAD state struct */
1578 state -- double pointer to type vadState1 -- pointer to memory to
1582 state -- points to initalized area in memory.
1596 Allocates state memory and initializes state memory
1635 Word16 vad1_init(vadState1 **state) argument
1721 vad1_reset(vadState1 *state) argument
1846 vad1_exit(vadState1 **state) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsCache.java144 * Load roots from authorities that are in stopped state. Normal
343 public Collection<RootInfo> getMatchingRootsBlocking(State state) { argument
347 return getMatchingRoots(mRoots.values(), state);
352 static List<RootInfo> getMatchingRoots(Collection<RootInfo> roots, State state) { argument
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;
367 if (!state.showAdvanced && advanced) continue;
369 if (state.localOnly && !localOnly) continue;
372 if (state
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java52 // Connection state
58 // Logical state
274 private void onDisplayStateChanged(Connection connection, RemoteDisplayState state) { argument
277 Slog.d(TAG, this + ": State changed, state=" + state);
279 setDisplayState(state);
295 private void setDisplayState(RemoteDisplayState state) { argument
296 if (!Objects.equals(mDisplayState, state)) {
297 mDisplayState = state;
322 void onDisplayStateChanged(RemoteDisplayProviderProxy provider, RemoteDisplayState state); argument
406 postStateChanged(final RemoteDisplayState state) argument
436 onStateChanged(RemoteDisplayState state) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIDynamicInterfaceManagement.c41 // check interface state
43 SLuint8 state = *interfaceStateP; local
44 switch (state) {
48 // change state to indicate we are now adding the interface
64 // re-lock mutex to update state
69 state = INTERFACE_ADDED;
71 state = INTERFACE_INITIALIZED;
78 state = INTERFACE_INITIALIZED;
88 // mutex is locked, update state
89 *interfaceStateP = state;
299 SLuint8 state = *interfaceStateP; local
[all...]
H A DIPlay.c22 static SLresult IPlay_SetPlayState(SLPlayItf self, SLuint32 state) argument
26 switch (state) {
40 if (state != oldState) {
44 // We are comparing the old state (left) vs. new state (right).
45 // Note that the old state is 3 bits wide, but new state is only 2 bits wide.
46 // That is why the old state is on the left and new state is on the right.
47 switch ((oldState << 2) | state) {
126 SLuint32 state = thiz->mState; local
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DStaggeredGridLayoutManager.java72 * When scroll state is changed to {@link RecyclerView#SCROLL_STATE_IDLE}, StaggeredGrid will
83 * It will animate to the following state:
153 * Saved state needs this information to properly layout on restore.
158 * Saved state and onLayout needs this information to re-layout properly
280 public void onScrollStateChanged(int state) { argument
281 if (state == RecyclerView.SCROLL_STATE_IDLE) {
550 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { argument
556 if (state.getItemCount() == 0) {
569 updateAnchorInfoForLayout(state, anchorInfo);
598 updateLayoutState(anchorInfo.mPosition, state);
682 updateAnchorInfoForLayout(RecyclerView.State state, AnchorInfo anchorInfo) argument
696 updateAnchorFromChildren(RecyclerView.State state, AnchorInfo anchorInfo) argument
708 updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) argument
935 computeHorizontalScrollOffset(RecyclerView.State state) argument
939 computeScrollOffset(RecyclerView.State state) argument
951 computeVerticalScrollOffset(RecyclerView.State state) argument
956 computeHorizontalScrollExtent(RecyclerView.State state) argument
960 computeScrollExtent(RecyclerView.State state) argument
972 computeVerticalScrollExtent(RecyclerView.State state) argument
977 computeHorizontalScrollRange(RecyclerView.State state) argument
981 computeScrollRange(RecyclerView.State state) argument
993 computeVerticalScrollRange(RecyclerView.State state) argument
1049 onRestoreInstanceState(Parcelable state) argument
1110 onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler recycler, RecyclerView.State state, View host, AccessibilityNodeInfoCompat info) argument
1166 getRowCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) argument
1175 getColumnCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) argument
1244 fixEndGap(RecyclerView.Recycler recycler, RecyclerView.State state, boolean canOffsetChildren) argument
1260 fixStartGap(RecyclerView.Recycler recycler, RecyclerView.State state, boolean canOffsetChildren) argument
1276 updateLayoutState(int anchorPosition, RecyclerView.State state) argument
1398 fill(RecyclerView.Recycler recycler, LayoutState layoutState, RecyclerView.State state) argument
1838 scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1844 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1858 smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) argument
1910 scrollBy(int dt, RecyclerView.Recycler recycler, RecyclerView.State state) argument
[all...]
/frameworks/rs/
H A DrsElement.cpp64 delete [] mHal.state.fields;
65 delete [] mHal.state.fieldArraySizes;
66 delete [] mHal.state.fieldNames;
67 delete [] mHal.state.fieldNameLengths;
68 delete [] mHal.state.fieldOffsetBytes;
173 mHal.state.dataType = mComponent.getType();
174 mHal.state.dataKind = mComponent.getKind();
175 mHal.state.vectorSize = mComponent.getVectorSize();
182 mHal.state.elementSizeBytes = getSizeBytes();
193 mHal.state
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A De_pv_amrwbdec.h117 int16 state; member in struct:__anon404
126 Decoder_State state; member in struct:__anon405
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.h38 * State tracking for idle and other collective state transitions.
43 * internal state correctly, which means the notifyStatus call to the parent may
56 // New components start in the idle state.
62 // Set the state of a tracked component to be idle. Ignores unknown IDs; can
68 // Set the state of a tracked component to be active. Ignores unknown IDs.
82 void markComponent(int id, ComponentState state,
92 ComponentState state; member in struct:android::camera3::StatusTracker::StateChange
95 // A queue of yet-to-be-processed state changes to components
108 // Merged fence for all processed state changes
110 // Current overall device state
[all...]
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java64 * - Shared elements positions and size are set to match the end state of the calling
100 * - Shared elements positions and size are set to match the end state of the calling
580 SharedElementOriginalState state = new SharedElementOriginalState();
581 state.mLeft = view.getLeft();
582 state.mTop = view.getTop();
583 state.mRight = view.getRight();
584 state.mBottom = view.getBottom();
585 state.mMeasuredWidth = view.getMeasuredWidth();
586 state.mMeasuredHeight = view.getMeasuredHeight();
587 state
609 createSnapshots(Bundle state, Collection<String> names) argument
[all...]

Completed in 2384 milliseconds

1234567891011>>