/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsLoader.java | 92 public RecentsLoader(Context context, RootsCache roots, State state) { argument 95 mState = state;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | FragmentTuner.java | 47 public FragmentTuner(Context context, State state) { argument 49 mState = state; 52 public static FragmentTuner pick(Context context, State state) { argument 53 switch (state.action) { 55 return new FilesTuner(context, state); 57 return new DocumentsTuner(context, state); 100 public DocumentsTuner(Context context, State state) { argument 101 super(context, state); 205 public FilesTuner(Context context, State state) { argument 206 super(context, state); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSIconView.java | 74 public void setIcon(QSTile.State state) { argument 75 setIcon((ImageView) mIcon, state); 78 protected void setIcon(ImageView iv, QSTile.State state) { argument 79 if (!Objects.equals(state.icon, iv.getTag(R.id.qs_icon_tag))) { 80 Drawable d = state.icon != null 81 ? iv.isShown() && mAnimationEnabled ? state.icon.getDrawable(mContext) 82 : state.icon.getInvisibleDrawable(mContext) : null; 83 int padding = state.icon != null ? state.icon.getPadding() : 0; 84 if (d != null && state [all...] |
H A D | SignalTileView.java | 109 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/qs/customize/ |
H A D | TileQueryHelper.java | 77 final QSTile.State state = tile.newTileState(); 78 tile.getState().copyTo(state); 79 // Ignore the current state and get the generic label instead. 80 state.label = tile.getTileLabel(); 84 addTile(spec, null, state, true); 108 private void addTile(String spec, CharSequence appLabel, State state, boolean isSystem) { argument 113 info.state = state; 114 info.state.minimalAccessibilityClassName = info.state 135 public QSTile.State state; field in class:TileQueryHelper.TileInfo [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | FlashlightTile.java | 102 protected void handleUpdateState(BooleanState state, Object arg) { argument 103 state.label = mHost.getContext().getString(R.string.quick_settings_flashlight_label); 109 state.icon = new DrawableIcon(icon); 110 state.label = new SpannableStringBuilder().append(state.label, 113 state.contentDescription = mContext.getString( 119 if (value == state.value) { 122 state.value = value; 124 state.value = mFlashlightController.isEnabled(); 126 final AnimationIcon icon = state [all...] |
H A D | HotspotTile.java | 116 protected void handleUpdateState(AirplaneBooleanState state, Object arg) { argument 117 state.label = mContext.getString(R.string.quick_settings_hotspot_label); 119 checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_CONFIG_TETHERING); 121 state.value = (boolean) arg; 123 state.value = mController.isHotspotEnabled(); 125 state.icon = state.value ? mEnable : mDisable; 126 boolean wasAirplane = state.isAirplaneMode; 127 state.isAirplaneMode = mAirplaneMode.getValue() != 0; 128 if (state [all...] |
H A D | RotationLockTile.java | 90 protected void handleUpdateState(BooleanState state, Object arg) { argument 95 state.value = !rotationLocked; 100 state.label = mContext.getString(label); 101 state.icon = portrait ? mAutoToPortrait : mAutoToLandscape; 103 state.label = mContext.getString(R.string.quick_settings_rotation_unlocked_label); 104 state.icon = portrait ? mPortraitToAuto : mLandscapeToAuto; 106 state.contentDescription = getAccessibilityString(rotationLocked); 107 state.minimalAccessibilityClassName = state.expandedAccessibilityClassName 129 * Get the correct accessibility string based on the state [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | AccessPointControllerImpl.java | 148 public void onWifiStateChanged(int state) { argument
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | NewDeviceAction.java | 191 public void handleTimerEvent(int state) { argument 192 if (mState == STATE_NONE || mState != state) { 195 if (state == STATE_WAITING_FOR_SET_OSD_NAME) { 202 } else if (state == STATE_WAITING_FOR_DEVICE_VENDOR_ID) {
|
H A D | SystemAudioAction.java | 34 // Transient state to differentiate with STATE_NONE where the on-finished callback 187 final void handleTimerEvent(int state) { argument 188 if (mState != state) {
|
H A D | VolumeControlAction.java | 198 void handleTimerEvent(int state) { argument 199 if (state != STATE_WAIT_FOR_NEXT_VOLUME_PRESS) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | CountdownConditionProvider.java | 157 private static final Condition newCondition(long time, int state) { argument 159 "", "", "", 0, state,Condition.FLAG_RELEVANT_NOW);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | IntentFilterVerificationState.java | 53 public void setState(int state) { argument 54 if (state > STATE_VERIFICATION_FAILURE || state < STATE_UNDEFINED) { 57 mState = state; 111 int state = STATE_UNDEFINED; 113 state = STATE_VERIFICATION_SUCCESS; 115 state = STATE_VERIFICATION_FAILURE; 118 setState(state);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_lights_LightsService.cpp | 110 light_state_t state; local 118 memset(&state, 0, sizeof(light_state_t)); 131 state.color = colorARGB; 132 state.flashMode = flashMode; 133 state.flashOnMS = onMS; 134 state.flashOffMS = offMS; 137 state.brightnessMode = brightnessMode; 141 devices->lights[light]->set_light(devices->lights[light], &state);
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableConference.java | 47 int state, 57 mState = state; 74 .append(", state: ") 136 int state = source.readInt(); 148 return new ParcelableConference(phoneAccount, state, capabilities, properties, 45 ParcelableConference( PhoneAccountHandle phoneAccount, int state, int connectionCapabilities, int connectionProperties, List<String> connectionIds, IVideoProvider videoProvider, int videoState, long connectTimeMillis, StatusHints statusHints, Bundle extras) argument
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseDataConnectionState.java | 25 * Contains precise data connection state. 30 * <li>Data connection state. 56 public PreciseDataConnectionState(int state, int networkType, argument 59 mState = state; 90 * Get data connection state 263 sb.append("Data Connection state: " + mState);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccCardConstants.java | 27 /* UNKNOWN means the ICC state is unknown */ 39 //TODO: we can remove this state in the future if Bug 18489776 analysis 64 * UNKNOWN is a transient state, for example, after user inputs ICC pin under 65 * PIN_REQUIRED state, the query for ICC status returns UNKNOWN before it 93 public static State intToState(int state) throws IllegalArgumentException { argument 94 switch(state) {
|
H A D | OperatorInfo.java | 63 State state) { 69 mState = state; 88 * See state strings defined in ril.h RIL_REQUEST_QUERY_AVAILABLE_NETWORKS 101 "RIL impl error: Invalid network state '" + s + "'"); 151 (State) in.readSerializable()); /*state*/ 60 OperatorInfo(String operatorAlphaLong, String operatorAlphaShort, String operatorNumeric, State state) argument
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A D | UsageLogActivity.java | 134 holder.state = (TextView) convertView.findViewById(android.R.id.text2); 145 if (holder.state != null) { 146 holder.state.setText(eventToString(event.getEventType())); 178 public TextView state; field in class:UsageLogActivity.ViewHolder
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable.h | 49 SymbolState state = SymbolState::kUndefined; member in struct:aapt::Symbol
|
/frameworks/base/tools/aapt2/proto/ |
H A D | ProtoHelpers.cpp | 54 pb::SymbolStatus_Visibility serializeVisibilityToPb(SymbolState state) { argument 55 switch (state) {
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingStateCallback.java | 32 * A camera device listener that implements blocking operations on state changes. 34 * <p>Provides wait calls that block until the next unobserved state of the 55 private void setCurrentState(int state) { argument 56 if (VERBOSE) Log.v(TAG, "Camera device state now " + stateToString(state)); 58 mRecentStates.put(state); 60 throw new RuntimeException("Unable to set device state", e); 73 * Device has not reported any state yet 78 * Device is in the first-opened state (transitory) 143 * Wait until the desired state i 153 waitForState(int state, long timeout) argument 222 stateToString(int state) argument [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequenceJNI.cpp | 96 FrameSequenceState* state = frameSequence->createState(); local 97 return reinterpret_cast<jlong>(state); 101 // Frame sequence state
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SoftApManager.java | 41 * The internal state machine runs under "WifiStateMachine" thread context. 59 * Listener for soft AP state changes. 63 * Invoke when AP state changed. 64 * @param state new AP state 65 * @param failureReason reason when in failed state 67 void onStateChanged(int state, int failureReason); argument 103 * Update AP state. 104 * @param state new AP state 107 updateApState(int state, int reason) argument [all...] |