Searched refs:state (Results 176 - 200 of 749) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/hdmi/
H A DNewDeviceAction.java169 public void handleTimerEvent(int state) { argument
170 if (mState == STATE_NONE || mState != state) {
173 if (state == STATE_WAITING_FOR_SET_OSD_NAME) {
176 } else if (state == STATE_WAITING_FOR_DEVICE_VENDOR_ID) {
/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.java46 default: throw new RuntimeException ("illegal call state:" + dcState);
101 mState = stateFromDCState (dc.state);
105 attachFake(Connection conn, State state) { argument
108 mState = state;
154 newState = stateFromDCState(dc.state);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCall.java47 default: throw new RuntimeException ("illegal call state:" + dcState);
104 mState = stateFromDCState (dc.state);
108 attachFake(Connection conn, State state) { argument
111 mState = state;
156 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.java651 TransitionState state = null;
660 state = beginTransition(firstOutFragments, lastInFragments, false);
663 int transitionStyle = state != null ? 0 : mTransitionStyle;
664 int transition = state != null ? 0 : mTransition;
667 int enterAnim = state != null ? 0 : op.enterAnim;
668 int exitAnim = state != null ? 0 : op.exitAnim;
872 public TransitionState popFromBackStack(boolean doStateMove, TransitionState state, argument
881 if (state == null) {
883 state = beginTransition(firstOutFragments, lastInFragments, true);
886 setNameOverrides(state, mSharedElementTargetName
1087 remapSharedElements(TransitionState state, Fragment outFragment, boolean isBack) argument
1129 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
1265 callSharedElementEnd(TransitionState state, Fragment inFragment, Fragment outFragment, boolean isBack, ArrayMap<String, View> namedViews) argument
1277 setEpicenterIn(ArrayMap<String, View> namedViews, TransitionState state) argument
1288 mapSharedElementsIn(TransitionState state, boolean isBack, Fragment inFragment) argument
1344 mapEnteringSharedElements(TransitionState state, Fragment inFragment, boolean isBack) argument
1362 excludeHiddenFragmentsAfterEnter(final View sceneRoot, final TransitionState state, final int containerId, final Object transition) argument
1374 excludeHiddenFragments(TransitionState state, int containerId, Object transition) argument
1409 setNameOverrides(TransitionState state, ArrayList<String> sourceNames, ArrayList<String> targetNames) argument
1420 setBackNameOverrides(TransitionState state, ArrayMap<String, View> namedViews, boolean isEnd) argument
1438 setNameOverrides(TransitionState state, ArrayMap<String, View> namedViews, boolean isEnd) argument
[all...]
/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/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java223 // we keep a copy of all of the state so we can send it out when folks
357 if (VDBG) log("listen: call onSSC state=" + mServiceState[phoneId]);
487 public void notifyCallState(int state, String incomingNumber) { argument
493 log("notifyCallState: state=" + state + " incomingNumber=" + incomingNumber);
501 r.callback.onCallStateChanged(state, incomingNumber);
509 broadcastCallStateChanged(state, incomingNumber, SubscriptionManager.DEFAULT_SUB_ID);
512 public void notifyCallStateForSubscriber(long subId, int state, String incomingNumber) { argument
518 + " state=" + state
542 notifyServiceStateForPhoneId(int phoneId, long subId, ServiceState state) argument
768 notifyDataActivity(int state) argument
772 notifyDataActivityForSubscriber(long subId, int state) argument
792 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
800 notifyDataConnectionForSubscriber(long subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1137 broadcastServiceStateChanged(ServiceState state, long subId) argument
1175 broadcastCallStateChanged(int state, String incomingNumber, long subId) argument
1200 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, long subId) argument
1255 broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
1355 set(Time t, String s, long subId, int phoneId, ServiceState state) argument
1368 logServiceStateChanged(String s, long subId, int phoneId, ServiceState state) argument
[all...]
/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
897 Parameters::State state; 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
82 * It will animate to the following state:
152 * Saved state needs this information to properly layout on restore.
157 * Saved state and onLayout needs this information to re-layout properly
261 public void onScrollStateChanged(int state) { argument
262 if (state == RecyclerView.SCROLL_STATE_IDLE) {
531 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { argument
534 mLazySpanLookup.mAdapterSize = state.getItemCount();
546 updateAnchorInfoForLayout(state, anchorInfo);
577 updateLayoutStateToFillStart(anchorInfo.mPosition, state);
655 updateAnchorInfoForLayout(RecyclerView.State state, AnchorInfo anchorInfo) argument
669 updateAnchorFromChildren(RecyclerView.State state, AnchorInfo anchorInfo) argument
681 updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) argument
908 computeHorizontalScrollOffset(RecyclerView.State state) argument
912 computeScrollOffset(RecyclerView.State state) argument
923 computeVerticalScrollOffset(RecyclerView.State state) argument
928 computeHorizontalScrollExtent(RecyclerView.State state) argument
932 computeScrollExtent(RecyclerView.State state) argument
943 computeVerticalScrollExtent(RecyclerView.State state) argument
948 computeHorizontalScrollRange(RecyclerView.State state) argument
952 computeScrollRange(RecyclerView.State state) argument
963 computeVerticalScrollRange(RecyclerView.State state) argument
1003 onRestoreInstanceState(Parcelable state) argument
1063 onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler recycler, RecyclerView.State state, View host, AccessibilityNodeInfoCompat info) argument
1118 getRowCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) argument
1127 getColumnCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) argument
1162 fixEndGap(RecyclerView.Recycler recycler, RecyclerView.State state, boolean canOffsetChildren) argument
1178 fixStartGap(RecyclerView.Recycler recycler, RecyclerView.State state, boolean canOffsetChildren) argument
1194 updateLayoutStateToFillStart(int anchorPosition, RecyclerView.State state) argument
1212 updateLayoutStateToFillEnd(int anchorPosition, RecyclerView.State state) argument
1302 fill(RecyclerView.Recycler recycler, LayoutState layoutState, RecyclerView.State state) argument
1672 scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1678 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1692 smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) argument
1744 scrollBy(int dt, RecyclerView.Recycler recycler, RecyclerView.State state) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java215 private VectorDrawable(VectorDrawableState state, Resources res, Theme theme) { argument
216 if (theme != null && state.canApplyTheme()) {
218 mVectorState = new VectorDrawableState(state);
221 mVectorState = state;
224 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode);
310 final VectorDrawableState state = mVectorState;
311 if (state.mTint != tint) {
312 state.mTint = tint;
313 mTintFilter = updateTintFilter(mTintFilter, tint, state
[all...]
H A DRippleDrawable.java46 * Drawable that shows a ripple effect in response to state changes. The
47 * anchoring position of the ripple for a given state may be specified by
48 * calling {@link #setHotspot(float, float)} with the corresponding state
270 for (int state : stateSet) {
271 if (state == R.attr.state_enabled) {
274 if (state == R.attr.state_focused) {
277 if (state == R.attr.state_pressed) {
410 * Initializes the constant state from the values in the typed array.
413 final RippleState state = mState;
416 state
900 createConstantState(LayerState state, Resources res) argument
971 RippleDrawable(RippleState state, Resources res, Theme theme) argument
[all...]
H A DStateListDrawable.java38 * Each state Drawable is defined in a nested <code>&lt;item></code> element. For more
93 // in case the new state matches our current state...
211 * Gets the state set at an index.
213 * @param index The index of the state set.
214 * @return The state set at the index.
237 * Gets the index of the drawable with the provided state set.
239 * @param stateSet the state set to look up
240 * @return the index of the provided state set, or -1 if not found
325 void setConstantState(StateListState state) { argument
331 StateListDrawable(StateListState state, Resources res) argument
341 StateListDrawable(StateListState state) argument
[all...]
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c106 static void SHA1Transform(uint32_t state[5], const uint8_t buffer[64]);
133 static void SHA1Transform(uint32_t state[5], argument
149 /* Copy context->state[] to working vars */
150 a = state[0];
151 b = state[1];
152 c = state[2];
153 d = state[3];
154 e = state[4];
184 /* Add the working vars back into context.state[] */
185 state[
[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/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java52 // Connection state
58 // Logical state
273 private void onDisplayStateChanged(Connection connection, RemoteDisplayState state) { argument
276 Slog.d(TAG, this + ": State changed, state=" + state);
278 setDisplayState(state);
294 private void setDisplayState(RemoteDisplayState state) { argument
295 if (!Objects.equals(mDisplayState, state)) {
296 mDisplayState = state;
321 void onDisplayStateChanged(RemoteDisplayProviderProxy provider, RemoteDisplayState state); argument
405 postStateChanged(final RemoteDisplayState state) argument
435 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/rs/
H A DrsAllocation.cpp35 mHal.state.mipmapControl = RS_ALLOCATION_MIPMAP_NONE;
36 mHal.state.usageFlags = usages;
37 mHal.state.mipmapControl = mc;
38 mHal.state.userProvidedPtr = ptr;
73 const Type *type = mHal.state.type;
74 mHal.state.yuv = type->getDimYuv();
75 mHal.state.hasFaces = type->getDimFaces();
76 mHal.state.hasMipmaps = type->getDimLOD();
77 mHal.state.elementSizeBytes = type->getElementSizeBytes();
78 mHal.state
[all...]
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:__anon388
126 Decoder_State state; member in struct:__anon389
/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.java63 * - Shared elements positions and size are set to match the end state of the calling
99 * - Shared elements positions and size are set to match the end state of the calling
508 SharedElementOriginalState state = new SharedElementOriginalState();
509 state.mLeft = view.getLeft();
510 state.mTop = view.getTop();
511 state.mRight = view.getRight();
512 state.mBottom = view.getBottom();
513 state.mMeasuredWidth = view.getMeasuredWidth();
514 state.mMeasuredHeight = view.getMeasuredHeight();
515 state
537 createSnapshots(Bundle state, Collection<String> names) argument
[all...]
/frameworks/base/core/java/android/printservice/
H A DIPrintServiceClient.aidl34 boolean setPrintJobState(in PrintJobId printJobId, int state, String error);

Completed in 698 milliseconds

1234567891011>>