/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardUpdateMonitorCallback.java | 57 * @param state the current ringer state, as defined in 60 public void onRingerModeChanged(int state) { } argument 63 * Called when the phone state changes. String will be one of: 119 * Called when the SIM state changes. 195 * Called when the state of face unlock changed.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CastTile.java | 92 protected void handleUpdateState(BooleanState state, Object arg) { argument 93 state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); 94 state.label = mContext.getString(R.string.quick_settings_cast_title); 95 state.value = false; 96 state.autoMirrorDrawable = false; 100 if (device.state == CastDevice.STATE_CONNECTED) { 101 state.value = true; 102 state.label = getDeviceName(device); 103 } else if (device.state == CastDevice.STATE_CONNECTING) { 107 if (!state 162 setToggleState(boolean state) argument [all...] |
H A D | CellularTile.java | 86 protected void handleUpdateState(SignalState state, Object arg) { argument 87 state.visible = mController.hasMobileDataFeature(); 88 if (!state.visible) return; 97 state.icon = ResourceIcon.get(iconId); 98 state.isOverlayIconWide = cb.isDataTypeIconWide; 99 state.autoMirrorDrawable = !cb.noSim; 100 state.overlayIconId = cb.enabled && (cb.dataTypeIconId > 0) ? cb.dataTypeIconId : 0; 101 state.filter = iconId != R.drawable.ic_qs_no_sim; 102 state.activityIn = cb.enabled && cb.activityIn; 103 state 225 setToggleState(boolean state) argument [all...] |
H A D | IntentTile.java | 107 protected void handleUpdateState(State state, Object arg) { argument 110 state.visible = intent.getBooleanExtra("visible", true); 111 state.contentDescription = intent.getStringExtra("contentDescription"); 112 state.label = intent.getStringExtra("label"); 113 state.icon = null; 117 state.icon = new BytesIcon(iconBitmap); 126 state.icon = new PackageDrawableIcon(iconPackage, iconId); 128 state.icon = ResourceIcon.get(iconId);
|
H A D | WifiTile.java | 106 protected void handleUpdateState(SignalState state, Object arg) { argument 107 state.visible = true; 114 boolean enabledChanging = state.enabled != cb.enabled; 119 state.enabled = cb.enabled; 120 state.connected = wifiConnected; 121 state.activityIn = cb.enabled && cb.activityIn; 122 state.activityOut = cb.enabled && cb.activityOut; 123 state.filter = true; 126 if (!state.enabled) { 127 state 262 setToggleState(boolean state) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelBar.java | 48 public void go(int state) { argument 49 if (DEBUG) LOG("go state: %d -> %d", mState, state); 50 mState = state; 118 if (DEBUG) LOG("PanelBar.onTouch: state=%d ACTION_DOWN: panel %s %s", mState, panel, 149 * @param panel the panel which changed its expansion state 157 if (DEBUG) LOG("panelExpansionChanged: start state=%d panel=%s", mState, panel.getName()); 186 if (DEBUG) LOG("panelExpansionChanged: end state=%d [%s%s ]", mState,
|
H A D | StatusBarWindowManager.java | 34 * Encapsulates all logic for the status bar window state management. 64 * @param barHeight The height of the status bar in collapsed state. 93 private void applyKeyguardFlags(State state) { argument 94 if (state.keyguardShowing) { 103 private void adjustScreenOrientation(State state) { argument 104 if (state.isKeyguardShowingAndNotOccluded()) { 115 private void applyFocusableFlag(State state) { argument 116 if (state.isKeyguardShowingAndNotOccluded() && state.keyguardNeedsInput 117 && state 129 applyHeight(State state) argument 139 applyFitsSystemWindows(State state) argument 143 applyUserActivityTimeout(State state) argument 153 applyInputFeatures(State state) argument 165 apply(State state) argument 227 setStatusBarState(int state) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollState.java | 34 * A state of a {@link com.android.systemui.statusbar.stack.NotificationStackScrollLayout} which 90 ViewState state = mStateMap.get(child); 91 if (state == null) { 92 Log.wtf(CHILD_NOT_FOUND_TAG, "No child state was found when applying this state " + 96 if (!state.gone) { 103 float newAlpha = state.alpha; 104 float newYTranslation = state.yTranslation; 105 float newZTranslation = state.zTranslation; 106 float newScale = state 204 performSpeedBumpAnimation(int i, SpeedBumpView speedBump, ViewState state, long delay) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | BasicTexture.java | 26 // 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/policy/src/com/android/internal/policy/impl/ |
H A D | BarController.java | 34 * Controls state/behavior specific to a system bar window. 139 final int state = computeStateLw(wasVis, wasAnim, mWin, change); 140 final boolean stateChanged = updateStateLw(state); 163 private boolean updateStateLw(final int state) { argument 164 if (state != mState) { 165 mState = state; 166 if (DEBUG) Slog.d(mTag, "mState: " + StatusBarManager.windowStateToString(state)); 173 statusbar.setWindowState(mStatusBarManagerId, state); 176 if (DEBUG) Slog.w(mTag, "Error posting window state", e); 247 private void setTransientBarState(int state) { argument 267 transientBarStateToString(int state) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | UiModeManagerService.java | 106 // the dock state changes. The original ordered broadcast is sent with an initial result 131 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, 133 updateDockState(state); 284 pw.println("Current UI Mode Service state:"); 335 private static boolean isDeskDockState(int state) { argument 336 switch (state) { 629 TwilightState state = mTwilightManager.getCurrentState(); 630 if (state != null) { 631 mComputedNightMode = state.isNight();
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastRecord.java | 65 int state; field in class:BroadcastRecord 151 if (state != IDLE) { 153 switch (state) { 159 pw.print(prefix); pw.print("state="); pw.print(state); pw.println(stateStr); 202 state = IDLE;
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayDeviceInfo.java | 206 * Display state. 208 public int state = Display.STATE_ON; field in class:DisplayDeviceInfo 258 && state == other.state 285 state = other.state; 309 sb.append(", state ").append(Display.stateToString(state));
|
H A D | DisplayPowerState.java | 36 * Controls the display power state. 41 * This mechanism enables multiple properties of the display power state to be animated 87 // so prepare to set it to a known state when the state is next applied. 129 public void setScreenState(int state) { argument 130 if (mScreenState != state) { 132 Slog.d(TAG, "setScreenState: state=" + state); 135 mScreenState = state; 142 * Gets the desired screen state 352 setState(int state, int backlight) argument 428 requestDisplayState(int state) argument [all...] |
H A D | LocalDisplayAdapter.java | 118 static int getPowerModeForState(int state) { argument 119 switch (state) { 183 mInfo.state = mState; 228 public Runnable requestDisplayStateLocked(final int state) { argument 229 if (mState != state) { 232 final int mode = getPowerModeForState(state); 233 mState = state; 243 + Display.stateToString(state) + ", id=" + displayId + ")");
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
H A D | FingerprintService.java | 82 int state; field in class:FingerprintService.ClientData 175 if (clientData.state == STATE_ENROLLING) { 188 clientData.state = STATE_IDLE; // Nothing left to do 209 clientData.state = STATE_LISTENING; 220 clientData.state = STATE_ENROLLING; 231 clientData.state = STATE_LISTENING; 243 clientData.state = STATE_REMOVING; 258 clientData.state = STATE_LISTENING;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DeviceDiscoveryAction.java | 31 * Device discovery is launched when TV device is woken from "Standby" state 32 * or enabled "Control for Hdmi" from disabled state. 380 void handleTimerEvent(int state) { argument 381 if (mState == STATE_NONE || mState != state) {
|
H A D | HdmiCecFeatureAction.java | 35 * state as the process progresses, and if necessary, returns the result to the caller which 50 // Default state used in common by all the feature actions. 53 // Internal state indicating the progress of action. 99 * @param state the state associated with the time when the timer was created 101 abstract void handleTimerEvent(int state); argument 110 * Also carries the state of the action when the timer is created. Later this state is 114 * @param state state o 117 sendTimerMessage(int state, long delayMillis) argument 132 sendTimerMessage(int state, long delayMillis) argument 161 addTimer(int state, int delayMillis) argument [all...] |
H A D | HotplugDetectionAction.java | 87 void handleTimerEvent(int state) { argument 88 if (mState != state) {
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionStack.java | 34 * bump priority regardless of the old state. 43 * were entered from a non-priority state. 88 * Notify the priority tracker that a session's state changed. 91 * @param oldState Its old playback state. 92 * @param newState Its new playback state. 101 // playing state 105 // Just clear the volume cache when a state goes inactive 113 * state change. TODO add the old and new session state as params 348 private boolean containsState(int state, in argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NextAlarmConditionProvider.java | 140 private void notifyCondition(Uri id, AlarmClockInfo alarm, int state, String reason) { argument 142 if (DEBUG) Slog.d(TAG, "notifyCondition " + Condition.stateToString(state) 147 formattedAlarm, 0, state, Condition.FLAG_RELEVANT_NOW));
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
H A D | TwilightService.java | 110 * Gets the current twilight state. 112 * @return The current twilight state, or null if no information is available. 138 private void setTwilightState(TwilightState state) { argument 140 if (!Objects.equal(mTwilightState, state)) { 142 Slog.d(TAG, "Twilight state changed: " + state); 145 mTwilightState = state; 388 // set twilight state 389 TwilightState state = new TwilightState(isNight, yesterdaySunset, 392 Slog.d(TAG, "Updating twilight state [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | MountServiceTests.java | 64 public int state = -1; field in class:MountServiceTests.ObbObserver 68 public void onObbStateChange(String path, int state) { argument 69 Log.d(TAG, "Received message. path=" + path + ", state=" + state); 72 this.state = state; 79 assertTrue("Expected ObbObserver to have received a state change.", done); 84 assertTrue("Expected ObbObserver to have received a state change.", done); 85 return state; 90 this.state [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableConnection.java | 53 int state, 67 mState = state; 144 .append(", state:") 158 int state = source.readInt(); 176 state, 51 ParcelableConnection( PhoneAccountHandle phoneAccount, int state, int capabilities, Uri address, int addressPresentation, String callerDisplayName, int callerDisplayNamePresentation, IVideoProvider videoProvider, int videoState, boolean ringbackRequested, boolean isVoipAudioMode, StatusHints statusHints, DisconnectCause disconnectCause, List<String> conferenceableConnectionIds) argument
|
H A D | Phone.java | 38 * Called when the audio state changes. 47 * respond immediately by coming to the foreground to inform the user of the state of 57 * experience should add necessary state listeners to the specified {@code Call} and 69 * experience should remove any state listeners from the specified {@code Call} and 223 * Sets the microphone mute state. When this request is honored, there will be change to 226 * @param state {@code true} if the microphone should be muted; {@code false} otherwise. 228 public final void setMuted(boolean state) { argument 229 mInCallAdapter.mute(state); 266 * Obtains the current phone call audio state of the {@code Phone}. 268 * @return An object encapsulating the audio state [all...] |