/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | ListDocumentHolder.java | 109 * @param state Current display state. 112 public void bind(Cursor cursor, String modelId, State state) { argument 162 if (state.showSize && docSize > -1) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | AirplaneModeTile.java | 85 protected void handleUpdateState(BooleanState state, Object arg) { argument 88 state.value = airplaneMode; 89 state.label = mContext.getString(R.string.airplane_mode); 91 state.icon = mEnable; 93 state.icon = mDisable; 95 state.contentDescription = state.label; 96 state.minimalAccessibilityClassName = state.expandedAccessibilityClassName
|
H A D | ColorInversionTile.java | 94 protected void handleUpdateState(BooleanState state, Object arg) { argument 97 state.value = enabled; 98 state.label = mContext.getString(R.string.quick_settings_inversion_label); 99 state.icon = enabled ? mEnable : mDisable; 100 state.minimalAccessibilityClassName = state.expandedAccessibilityClassName 102 state.contentDescription = state.label;
|
H A D | DataSaverTile.java | 96 protected void handleUpdateState(BooleanState state, Object arg) { argument 97 state.value = arg instanceof Boolean ? (Boolean) arg 99 state.label = mContext.getString(R.string.data_saver); 100 state.contentDescription = state.label; 101 state.icon = ResourceIcon.get(state.value ? R.drawable.ic_data_saver 103 state.minimalAccessibilityClassName = state.expandedAccessibilityClassName
|
H A D | LocationTile.java | 99 protected void handleUpdateState(BooleanState state, Object arg) { argument 104 // state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); 105 state.value = locationEnabled; 106 checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_SHARE_LOCATION); 108 state.icon = mEnable; 109 state.label = mContext.getString(R.string.quick_settings_location_label); 110 state.contentDescription = mContext.getString( 113 state.icon = mDisable; 114 state.label = mContext.getString(R.string.quick_settings_location_label); 115 state [all...] |
H A D | UserTile.java | 81 protected void handleUpdateState(State state, Object arg) { argument 84 state.label = p.first; 86 state.contentDescription = p.first; 87 state.icon = new Icon() { 94 // TODO: Default state.
|
H A D | WorkModeTile.java | 92 protected void handleUpdateState(BooleanState state, Object arg) { argument 94 state.value = (Boolean) arg; 96 state.value = mProfileController.isWorkModeEnabled(); 99 state.label = mContext.getString(R.string.quick_settings_work_mode_label); 100 if (state.value) { 101 state.icon = mEnable; 102 state.contentDescription = mContext.getString( 105 state.icon = mDisable; 106 state.contentDescription = mContext.getString( 109 state [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CastController.java | 42 public int state = STATE_DISCONNECTED; field in class:CastController.CastDevice
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollState.java | 33 * A state of a {@link com.android.systemui.statusbar.stack.NotificationStackScrollLayout} which 106 StackViewState state = mStateMap.get(child); 107 if (!applyState(child, state)) { 112 boolean visible = state.clipTopAmount < mClearAllTopPadding; 116 boolean visible = state.clipTopAmount <= 0; 126 * @return whether the state was applied correctly 128 public boolean applyState(ExpandableView view, StackViewState state) { argument 129 if (state == null) { 130 Log.wtf(CHILD_NOT_FOUND_TAG, "No child state was found when applying this state " 186 applyViewState(View view, ViewState state) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | NightModeTile.java | 84 protected void handleUpdateState(State state, Object arg) { argument 87 state.icon = ResourceIcon.get(enabled ? R.drawable.ic_night_mode 89 state.label = mContext.getString(R.string.night_mode); 90 state.contentDescription = mContext.getString(R.string.night_mode);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | UpdateLockService.java | 73 void sendLockChangedBroadcast(boolean state) { argument 78 .putExtra(UpdateLock.NOW_IS_CONVENIENT, state)
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserState.java | 38 // User is in the locked state. 40 // User is in the unlocking state. 42 // User is in the running state. 54 public int state = STATE_BOOTING; field in class:UserState 70 if (state == oldState) { 74 Slog.w(TAG, "Expected user " + mHandle.getIdentifier() + " in state " 75 + stateToString(oldState) + " but was in state " + stateToString(state)); 82 Slog.i(TAG, "User " + mHandle.getIdentifier() + " state changed from " 83 + stateToString(state) 89 stateToString(int state) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DevicePowerStatusAction.java | 90 void handleTimerEvent(int state) { argument 91 if (mState != state) { 94 if (state == STATE_WAITING_FOR_REPORT_POWER_STATUS) {
|
H A D | OneTouchPlayAction.java | 40 // if the TV is brought of out standby state. 115 void handleTimerEvent(int state) { argument 116 if (mState != state) { 119 if (state == STATE_WAITING_FOR_REPORT_POWER_STATUS) {
|
H A D | OneTouchRecordAction.java | 101 // If recording started successfully, change state and keep this action until <Record Off> 119 void handleTimerEvent(int state) { argument 120 if (mState != state) { 121 Slog.w(TAG, "Timeout in invalid state:[Expected:" + mState + ", Actual:" + state + "]");
|
H A D | PowerStatusMonitorAction.java | 87 void handleTimerEvent(int state) { argument
|
H A D | SendKeyAction.java | 49 // State in which the long press is being checked at the beginning. The state is set in 108 Slog.w(TAG, "Not in a valid state"); 165 public void handleTimerEvent(int state) { argument 181 Slog.w(TAG, "Not in a valid state");
|
H A D | SystemAudioStatusAction.java | 118 void handleTimerEvent(int state) { argument 119 if (mState != state) {
|
H A D | TimerRecordingAction.java | 161 void handleTimerEvent(int state) { argument 162 if (mState != state) { 163 Slog.w(TAG, "Timeout in invalid state:[Expected:" + mState + ", Actual:" + state + "]");
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | AudioState.java | 26 * Encapsulates the telecom audio state, including the current audio routing, supported audio 66 public AudioState(AudioState state) { argument 67 isMuted = state.isMuted(); 68 route = state.getRoute(); 69 supportedRouteMask = state.getSupportedRouteMask(); 72 public AudioState(CallAudioState state) { argument 73 isMuted = state.isMuted(); 74 route = state.getRoute(); 75 supportedRouteMask = state.getSupportedRouteMask(); 86 AudioState state [all...] |
H A D | CallAudioState.java | 25 * Encapsulates the telecom audio state, including the current audio routing, supported audio 79 public CallAudioState(CallAudioState state) { argument 80 isMuted = state.isMuted(); 81 route = state.getRoute(); 82 supportedRouteMask = state.getSupportedRouteMask(); 87 public CallAudioState(AudioState state) { argument 88 isMuted = state.isMuted(); 89 route = state.getRoute(); 90 supportedRouteMask = state.getSupportedRouteMask(); 101 CallAudioState state [all...] |
H A D | ConferenceParticipant.java | 24 * Parcelable representation of a participant's state in a conference call. 46 * The state of the participant in the conference. 58 * @param state The state of the participant in the conference. 60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { argument 64 mState = state; 79 int state = source.readInt(); 80 return new ConferenceParticipant(handle, displayName, endpoint, state); 151 * The state of the participant in the conference.
|
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/ |
H A D | MapView.java | 112 public void onSaveInstanceState(Bundle state) { argument 115 public void onRestoreInstanceState(Bundle state) { argument
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | SupplicantState.java | 26 * state. This is more fine-grained than most users will be interested in. 31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>. 35 * This state indicates that client is not associated, but is likely to 36 * start looking for an access point. This state is entered when a 44 * This state is entered if the network interface is disabled. 51 * Inactive state (wpa_supplicant disabled). 53 * This state is entered if there are no enabled networks in the 63 * This state is entered when wpa_supplicant starts scanning for a 71 * This state is entered when wpa_supplicant has found a suitable BSS 80 * This state i 169 isValidState(SupplicantState state) argument 175 isHandshakeState(SupplicantState state) argument 198 isConnecting(SupplicantState state) argument 221 isDriverActive(SupplicantState state) argument [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraStateHolder.java | 30 * Construct a new instance of @{link CameraStateHolder} with an initial state. 32 * @param state The initial state. 34 public CameraStateHolder(int state) { argument 35 setState(state); 40 * Change to a new state. 42 * @param state The new state. 44 public synchronized void setState(int state) { argument 45 if (mState != state) { [all...] |