Searched refs:state (Results 501 - 525 of 865) sorted by relevance

<<21222324252627282930>>

/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp346 sp<IMemory> SoundTriggerHwService::prepareServiceStateEvent_l(sound_trigger_service_state_t state) argument
356 *((sound_trigger_service_state_t *)eventMemory->pointer()) = state;
361 void SoundTriggerHwService::sendServiceStateEvent_l(sound_trigger_service_state_t state, argument
364 sp<IMemory> eventMemory = prepareServiceStateEvent_l(state);
761 sound_trigger_service_state_t state; local
766 state = (active && !mDescriptor.properties.concurrent_capture) ?
769 if (state == mServiceState) {
773 mServiceState = state;
780 if (state == SOUND_TRIGGER_STATE_ENABLED) {
788 // keep model in ACTIVE state s
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DRadioManager.java775 /** Get stereo enable state
776 * @return the enable state.
782 /** Get RDS or RBDS(if region is ITU2) enable state
783 * @return the enable state.
789 /** Get Traffic announcement enable state
790 * @return the enable state.
796 /** Get Alternate Frequency Switching enable state
797 * @return the enable state.
924 /** Set stereo enable state
925 * @param state Th
928 setStereo(boolean state) argument
937 setRds(boolean state) argument
946 setTa(boolean state) argument
955 setAf(boolean state) argument
1085 setStereo(boolean state) argument
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaSession.java332 * Get the current active state of this session.
395 * Update the current playback state.
397 * @param state The current state of playback
399 public void setPlaybackState(@Nullable PlaybackState state) { argument
400 mPlaybackState = state;
402 mBinder.setPlaybackState(state);
605 * Return true if this is considered an active playback state.
609 public static boolean isActiveState(int state) { argument
610 switch (state) {
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarHeaderView.java668 * Captures all layout values (position, visibility) for a certain state. This is used for
723 public void onToggleStateChanged(final boolean state) {
727 handleToggleStateChanged(state);
744 public void onScanStateChanged(final boolean state) {
748 handleScanStateChanged(state);
753 private void handleToggleStateChanged(boolean state) {
754 mQsDetailHeaderSwitch.setChecked(state);
757 private void handleScanStateChanged(boolean state) {
758 if (mScanState == state) return;
759 mScanState = state;
[all...]
/frameworks/rs/
H A DrsContext.cpp625 for (uint32_t i = 0; i < mFBOCache.mHal.state.colorTargetsCount; i ++) {
626 if (mFBOCache.mHal.state.colorTargets[i] != nullptr) {
627 return mFBOCache.mHal.state.colorTargets[i]->getType()->getDimX();
630 if (mFBOCache.mHal.state.depthTarget != nullptr) {
631 return mFBOCache.mHal.state.depthTarget->getType()->getDimX();
637 for (uint32_t i = 0; i < mFBOCache.mHal.state.colorTargetsCount; i ++) {
638 if (mFBOCache.mHal.state.colorTargets[i] != nullptr) {
639 return mFBOCache.mHal.state.colorTargets[i]->getType()->getDimY();
642 if (mFBOCache.mHal.state.depthTarget != nullptr) {
643 return mFBOCache.mHal.state
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java318 * Called when the conference state is updated.
321 * @param state state of the participant who is participated in the conference call
323 public void onCallConferenceStateUpdated(ImsCall call, ImsConferenceState state) { argument
328 * Called when the state of IMS conference participant(s) has changed.
331 * @param participants the participant(s) and their new state information.
374 * Called when the call moves the hold state to the conversation state.
375 * For example, when merging the active & hold call, the state of all the hold call
376 * will be changed from hold state t
384 onCallStateChanged(ImsCall call, int state) argument
1574 notifyConferenceStateUpdated(ImsConferenceState state) argument
2671 callSessionConferenceStateUpdated(ImsCallSession session, ImsConferenceState state) argument
2809 conferenceStateUpdated(ImsConferenceState state) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java92 * state during layout. Scrap views may be reused without becoming fully detached
222 * - There might be a problem in Recycling (e.g. custom Animations that set transient state and
916 * Removes the provided listener from child attached state listeners list.
979 SavedState state = new SavedState(super.onSaveInstanceState());
981 state.copyFrom(mPendingSavedState);
983 state.mLayoutState = mLayout.onSaveInstanceState();
985 state.mLayoutState = null;
988 return state;
992 protected void onRestoreInstanceState(Parcelable state) { argument
993 mPendingSavedState = (SavedState) state;
1129 setScrollState(int state) argument
3824 onScrollStateChanged(int state) argument
3828 dispatchOnScrollStateChanged(int state) argument
6015 onLayoutChildren(Recycler recycler, State state) argument
6104 scrollHorizontallyBy(int dx, Recycler recycler, State state) argument
6121 scrollVerticallyBy(int dy, Recycler recycler, State state) argument
6166 smoothScrollToPosition(RecyclerView recyclerView, State state, int position) argument
7192 onFocusSearchFailed(View focused, int direction, Recycler recycler, State state) argument
7302 onRequestChildFocus(RecyclerView parent, State state, View child, View focused) argument
7436 computeHorizontalScrollExtent(State state) argument
7451 computeHorizontalScrollOffset(State state) argument
7466 computeHorizontalScrollRange(State state) argument
7481 computeVerticalScrollExtent(State state) argument
7496 computeVerticalScrollOffset(State state) argument
7511 computeVerticalScrollRange(State state) argument
7529 onMeasure(Recycler recycler, State state, int widthSpec, int heightSpec) argument
7572 onRestoreInstanceState(Parcelable state) argument
7593 onScrollStateChanged(int state) argument
7647 onInitializeAccessibilityNodeInfo(Recycler recycler, State state, AccessibilityNodeInfoCompat info) argument
7684 onInitializeAccessibilityEvent(Recycler recycler, State state, AccessibilityEvent event) argument
7725 onInitializeAccessibilityNodeInfoForItem(Recycler recycler, State state, View host, AccessibilityNodeInfoCompat info) argument
7764 getSelectionModeForAccessibility(Recycler recycler, State state) argument
7780 getRowCountForAccessibility(Recycler recycler, State state) argument
7799 getColumnCountForAccessibility(Recycler recycler, State state) argument
7816 isLayoutHierarchical(Recycler recycler, State state) argument
7836 performAccessibilityAction(Recycler recycler, State state, int action, Bundle args) argument
7888 performAccessibilityActionForItem(Recycler recycler, State state, View view, int action, Bundle args) argument
7951 onDraw(Canvas c, RecyclerView parent, State state) argument
7972 onDrawOver(Canvas c, RecyclerView parent, State state) argument
8014 getItemOffsets(Rect outRect, View view, RecyclerView parent, State state) argument
9076 onSeekTargetStep(int dx, int dy, State state, Action action) argument
9087 onTargetFound(View targetView, State state, Action action) argument
[all...]
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.h91 audio_policy_dev_state_t state,
96 virtual void setPhoneState(audio_mode_t state);
284 // phone state, connected devices...
286 // otherwise it is determine by current state
287 // (device connected,phone state, force use, a2dp output...)
289 // 1 speed up process when the state is stable (when starting or stopping an output)
359 // true if given state represents a device in a telephony or VoIP call
360 virtual bool isStateInCall(int state);
369 audio_policy_dev_state_t state,
374 audio_policy_dev_state_t state,
[all...]
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java655 KeyEvent.DispatcherState state = getKeyDispatcherState();
656 if (state != null) {
657 state.startTracking(event, this);
661 KeyEvent.DispatcherState state = getKeyDispatcherState();
662 if (state != null) {
663 state.handleUpEvent(event);
1011 // If we are temporarily in the detach state, then do nothing.
/frameworks/base/libs/hwui/font/
H A DFont.cpp44 Font::Font(FontRenderer* state, const Font::FontDescription& desc) : argument
45 mState(state), mDescription(desc) { }
489 Font* Font::create(FontRenderer* state, const SkPaint* paint, const SkMatrix& matrix) { argument
491 Font* font = state->mActiveFonts.get(description);
494 font = new Font(state, description);
495 state->mActiveFonts.put(description, font);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DLocalRenderer.java213 // The current error state of this player. This is cleared when the state
214 // leaves an error state and set when it enters one. This should only be
316 Log.d(TAG, mDebugId + ": Entered error state, what: " + what + " extra: " + extra);
484 * player is in a state where it will never be ready returns false.
511 * player is in a state where it will never be ready returns false.
601 * Sends a state update if the listener exists
603 private void setState(int state) { argument
604 if (state == mState) {
607 Log.d(TAG, "Entering state "
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneConnection.java471 PostDialState state = mPostDialState;
474 ar.userObj = state;
486 * Set post dial state and acquire wake lock while switching to "started"
487 * state, the wake lock will be released if state switches out of "started"
488 * state or after WAKE_LOCK_TIMEOUT_MILLIS.
579 /*package*/ boolean update(ImsCall imsCall, ImsPhoneCall.State state) { argument
580 if (state == ImsPhoneCall.State.ACTIVE) {
581 // If the state of the call is active, but there is a pending request to the RIL to hold
586 Rlog.w(LOG_TAG, "update : state i
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java54 * Intent used to broadcast the change in connection state of the A2DP
59 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
60 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile.</li>
76 * Intent used to broadcast the change in the Playing state of the A2DP
81 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
82 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile. </li>
102 * A2DP sink device is streaming music. This state can be one of
109 * A2DP sink device is NOT streaming music. This state can be one of
218 * connection state intent for the profile will be broadcasted with
219 * the state
515 stateToString(int state) argument
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java248 private static String stateToString(int state) { argument
249 switch (state) {
254 default: return "Unexpected state=" + state;
334 // If we are closing, we want to clean up our state now even
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java102 public void setWindowState(int window, int state); argument
227 public void setWindowState(int window, int state) { argument
230 mHandler.obtainMessage(MSG_SET_WINDOW_STATE, window, state, null).sendToTarget();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java160 protected boolean onStateChange(int[] state) { argument
162 for (int i = 0; i < state.length; i++) {
163 if (state[i] == android.R.attr.state_pressed) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java99 public void setFeature(String name, boolean state) argument
101 if (FEATURE_PROCESS_NAMESPACES.equals(name) && state) {
104 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name) && state) {
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp214 const uint32_t enables = c->rasterizer.state.enables;
397 if (!(c->rasterizer.state.texture[i].enable))
438 const uint32_t enables = c->rasterizer.state.enables;
462 const uint32_t enables = c->rasterizer.state.enables;
486 if (!c->rasterizer.state.texture[i].enable)
491 if (c->rasterizer.state.texture[i].s_wrap == GGL_CLAMP) {
496 if (c->rasterizer.state.texture[i].t_wrap == GGL_CLAMP) {
548 const uint32_t enables = c->rasterizer.state.enables;
618 const uint32_t enables = c->rasterizer.state.enables;
634 const uint32_t enables = c->rasterizer.state
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp167 disp.state = egl_display_t::INITIALIZED;
269 if (cnx->dso && disp.state == egl_display_t::INITIALIZED) {
275 disp.state = egl_display_t::TERMINATED;
408 // we don't want to get into a state where we can't wake up.
410 "Invalid hibernation state, unable to awaken\n");
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp89 SLAndroidBufferQueueState state; local
90 (*caller)->GetState(caller, &state);
91 //fprintf(stdout, "ABQ state count=%lu, index=%lu\n", state.count, state.index);
94 if (state.index == 500) {
/frameworks/av/include/common_time/
H A DICommonClock.h83 virtual status_t getState(State* state) = 0;
/frameworks/av/include/media/
H A DIMediaPlayer.h62 virtual status_t isPlaying(bool* state) = 0;
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
H A DParameterManagerWrapper.h57 * Starts the platform state service.
69 * Checks if the platform state was correctly started (ie the policy parameter manager
74 * @return true if platform state is started correctly, false otherwise.
83 * @param[in] mode: Android Phone state (normal, ringtone, csv, in communication)
106 * Set the connection state of device(s).
109 * @param[in] devices mask of devices for which the state has changed.
110 * @param[in] state of availability of this(these) device(s).
116 status_t setDeviceConnectionState(audio_devices_t devices, audio_policy_dev_state_t state,
122 * Once all the criteria have been set, the client of the platform state must call
247 * set the value of a component state
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerInternal.java38 * Called by the power manager to request a new power state.
41 * begins adjusting the power state to match what was requested.
44 * @param request The requested power state.
51 * then try the request again later until the state converges.
91 * observe the new state.
150 * Describes the requested power state of the display.
153 * power state, such as whether the screen should be on or off and the current
156 * the PowerManagerService to focus on the global power state and not
174 // If true, the proximity sensor overrides the screen state when an object is
201 // The display does not enter a "ready" state i
311 onDisplayStateChange(int state) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java148 * called before the state of the Preference is about to be updated and
149 * before the state is persisted.
153 * @return True to update the state of the Preference with the new value.
591 * Makes sure the view (and any children) get the enabled state changed.
767 // Enabled state can change dependent preferences' states, so notify
810 * clickable 2) should not have the view set to the disabled state.
843 * update the preference's state with the new value.
932 * internal state is set. This allows the client to ignore the user value.
944 * user (but before the internal state has been updated).
954 * user (but before the internal state ha
1842 onRestoreInstanceState(Parcelable state) argument
[all...]

Completed in 4115 milliseconds

<<21222324252627282930>>