Searched refs:state (Results 401 - 425 of 1016) sorted by relevance

<<11121314151617181920>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSignalTileView.java109 public void setIcon(QSTile.State state) { argument
110 final SignalState s = (SignalState) state;
124 if (state.autoMirrorDrawable && drawable != null) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelBar.java44 public void go(int state) { argument
45 if (DEBUG) LOG("go state: %d -> %d", mState, state);
46 mState = state;
96 if (DEBUG) LOG("PanelBar.onTouch: state=%d ACTION_DOWN: panel %s %s", mState, panel,
119 if (SPEW) LOG("panelExpansionChanged: start state=%d", mState);
141 if (SPEW) LOG("panelExpansionChanged: end state=%d [%s%s ]", mState,
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DEvents.java180 public static void writeState(long time, State state) { argument
182 sCallback.writeState(time, state);
216 void writeState(long time, State state); argument
H A DUtil.java100 public static String playbackStateStateToString(int state) { argument
101 switch (state) {
106 default: return "UNKNOWN_" + state;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DTimerRecordingAction.java161 void handleTimerEvent(int state) { argument
162 if (mState != state) {
163 Slog.w(TAG, "Timeout in invalid state:[Expected:" + mState + ", Actual:" + state + "]");
H A DVolumeControlAction.java198 void handleTimerEvent(int state) { argument
199 if (state != STATE_WAIT_FOR_NEXT_VOLUME_PRESS) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDrawableUtils.java139 final Drawable.ConstantState state = drawable.getConstantState();
140 if (state instanceof DrawableContainer.DrawableContainerState) {
142 (DrawableContainer.DrawableContainerState) state;
166 * Fixed by toggling it's state to force a filter creation.
171 // The drawable doesn't have a state, so set it to be checked
174 // Else the drawable does have a state, so clear it
177 // Now set the original state
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java343 * Get the current active state of this session.
404 * Update the current playback state.
406 * @param state The current state of playback
408 public void setPlaybackState(PlaybackStateCompat state) { argument
409 mImpl.setPlaybackState(state);
598 * The state of playback should be updated to {@link PlaybackStateCompat#STATE_PAUSED}
607 * allow other session play seamlessly. The state of playback should be updated to
620 * other session play seamlessly. The state of playback should be updated to
632 * session play seamlessly. The state o
1124 setPlaybackState(PlaybackStateCompat state) argument
1382 setPlaybackState(PlaybackStateCompat state) argument
1683 sendState(PlaybackStateCompat state) argument
2233 setPlaybackState(PlaybackStateCompat state) argument
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java840 * Returns true if this node is in an enabled state.
884 * Returns true if this node is currently in a checked state.
1107 public void setAssistBlocked(boolean state) { argument
1109 | (state ? ViewNode.FLAGS_ASSIST_BLOCKED : 0);
1113 public void setEnabled(boolean state) { argument
1115 | (state ? 0 : ViewNode.FLAGS_DISABLED);
1119 public void setClickable(boolean state) { argument
1121 | (state ? ViewNode.FLAGS_CLICKABLE : 0);
1125 public void setLongClickable(boolean state) { argument
1127 | (state
1131 setContextClickable(boolean state) argument
1137 setFocusable(boolean state) argument
1143 setFocused(boolean state) argument
1149 setAccessibilityFocused(boolean state) argument
1155 setCheckable(boolean state) argument
1161 setChecked(boolean state) argument
1167 setSelected(boolean state) argument
1173 setActivated(boolean state) argument
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpDispatcherTests.cpp57 // Create op, and wrap with basic state.
60 auto state = BakedOpState::tryConstruct(allocator, *snapshot, *op); local
61 ASSERT_NE(nullptr, state);
72 [](BakedOpRenderer& renderer, const BakedOpState& state) { \
73 BakedOpDispatcher::on##Type(renderer, static_cast<const Type&>(*(state.op)), state); \
77 unmergedReceivers[op->opId](renderer, *state);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsCreateFragment.java97 final State state = ((BaseActivity) getActivity()).getDisplayState();
102 return new RecentsCreateLoader(context, roots, state);
111 if (mAdapter.isEmpty() && !state.hasLocationChanged()
112 && state.action != ACTION_CREATE
162 public RecentsCreateLoader(Context context, RootsCache roots, State state) { argument
165 mState = state;
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DNotificationHelper.java130 public void onPlaybackStateChanged(PlaybackState state) {
131 mPlaybackState = state;
132 Log.d(TAG, "Received new playback state" + state);
160 final int state = mPlaybackState.getState();
161 switch (state) {
197 if (state == PlaybackState.STATE_PLAYING) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DDefaultPhoneNotifierTest.java89 //mock data activity state
191 //mock forground/background/ringing call and call state
276 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.NOT_SUPPORTED);
277 mDefaultPhoneNotifierUT.notifyVoLteServiceStateChanged(mPhone, state);
278 verify(mTelephonyRegisteryMock).notifyVoLteServiceStateChanged(state);
280 state = new VoLteServiceState(VoLteServiceState.HANDOVER_COMPLETED);
281 mDefaultPhoneNotifierUT.notifyVoLteServiceStateChanged(mPhone, state);
282 verify(mTelephonyRegisteryMock).notifyVoLteServiceStateChanged(state);
/frameworks/av/include/media/
H A DAudioSystem.h53 static status_t muteMicrophone(bool state);
54 static status_t isMicrophoneMuted(bool *state);
77 // returns true in *state if tracks are active on the specified stream or have been active
79 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
80 // returns true in *state if tracks are active for what qualifies as remote playback
83 static status_t isStreamActiveRemotely(audio_stream_type_t stream, bool *state,
85 // returns true in *state if a recorder is currently recording with the specified source
86 static status_t isSourceActive(audio_source_t source, bool *state);
199 static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state,
203 static status_t setPhoneState(audio_mode_t state);
[all...]
/frameworks/av/media/libstagefright/include/
H A DSimpleSoftOMXComponent.h135 virtual OMX_ERRORTYPE getState(OMX_STATETYPE *state);
138 void onChangeState(OMX_STATETYPE state);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java122 * Broadcast Action: The state of the local Bluetooth adapter has been
136 * intents to request the current power state. Possible values are:
146 * intents to request the previous power state. Possible values are:
370 * Intent used to broadcast the change in connection state of the local
385 * {@link #EXTRA_CONNECTION_STATE} - The current connection state.
386 * {@link #EXTRA_PREVIOUS_CONNECTION_STATE}- The previous connection state.
402 * This extra represents the current connection state.
410 * This extra represents the previous connection state.
416 * Broadcast Action: The Bluetooth adapter state has changed in LE only mode.
426 * when Bluetooth state i
[all...]
/frameworks/base/core/java/android/printservice/
H A DIPrintServiceClient.aidl35 boolean setPrintJobState(in PrintJobId printJobId, int state, String error);
/frameworks/base/core/java/android/service/quicksettings/
H A DTile.java27 * A Tile holds the state of a tile that will be displayed
40 * An unavailable state indicates that for some reason this tile is not currently
42 * icon will be tinted differently to reflect this state.
47 * This represents a tile that is currently in a disabled state but is still interactable.
49 * A disabled state indicates that the tile is not currently active (e.g. wifi disconnected or
50 * bluetooth disabled), but is still interactable by the user to modify this state. Tiles
52 * icon will be tinted differently to reflect this state, but still be distinct from unavailable.
58 * cast is casting). This is the default state.
107 * The current state of the tile.
118 * Sets the current state fo
125 setState(int state) argument
[all...]
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl55 void setWindowState(int window, int state);
/frameworks/base/core/tests/coretests/src/android/animation/
H A DStateListAnimatorTest.java45 assertNotNull("A state list animator should be returned", stateListAnimator);
56 public void setState(int[] state) {
58 super.setState(state);
67 assertTrue("When view is attached, state list drawable's setState should be called",
72 assertNull("When a new state list animator is assigned, previous one should be detached",
76 assertEquals("The new state list animator should be attached to the view",
79 assertNotNull("When view is detached from window, state list animator should still keep the"
87 assertNotNull("A state list animator should be returned", stateListAnimator);
91 assertEquals("first tuple should have one state", 1, tuple1.getSpecs().length);
97 assertTrue("Tuple two should match the expected state",
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSubActivityScreen.java69 protected void onRestoreInstanceState(Bundle state) { argument
70 super.onRestoreInstanceState(state);
/frameworks/base/media/java/android/media/session/
H A DISession.aidl43 void setPlaybackState(in PlaybackState state);
H A DPlaybackState.java34 * Playback state for a {@link MediaSession}. This includes a state like
188 * This is the default playback state and indicates that no media has been
240 * State indicating this item is currently in an error state. The error
241 * message should also be set when entering this state.
250 * state when the connection finishes or enter {@link #STATE_NONE}.
295 private PlaybackState(int state, long position, long updateTime, float speed, argument
299 mState = state;
327 bob.append("state=").append(mState);
360 * Get the current state o
526 getRccStateFromState(int state) argument
896 setState(@tate int state, long position, float playbackSpeed, long updateTime) argument
938 setState(@tate int state, long position, float playbackSpeed) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java26 // The state of a BasicTexture indicates whether its data is loaded to GL memory.
57 protected BasicTexture(GLCanvas canvas, int id, int state) { argument
60 mState = state;
/frameworks/base/services/core/java/com/android/server/
H A DUpdateLockService.java73 void sendLockChangedBroadcast(boolean state) { argument
78 .putExtra(UpdateLock.NOW_IS_CONVENIENT, state)

Completed in 2769 milliseconds

<<11121314151617181920>>