/frameworks/base/core/java/android/app/ |
H A D | BackStackRecord.java | 928 * When custom fragment transitions are used, this sets up the state for each transition 960 TransitionState state = new TransitionState(); 965 state.nonExistentView = new View(mManager.mHost.getContext()); 970 configureTransitions(containerId, state, isBack, firstOutFragments, 978 configureTransitions(containerId, state, isBack, firstOutFragments, 982 return state; 1042 private ArrayMap<String, View> remapSharedElements(TransitionState state, Fragment outFragment, argument 1058 setBackNameOverrides(state, namedViews, false); 1062 setNameOverrides(state, namedViews, false); 1072 * We will add to the views before the end state o 1079 addTransitionTargets(final TransitionState state, final Transition enterTransition, final TransitionSet sharedElementTransition, final Transition overallTransition, final View container, final Fragment inFragment, final Fragment outFragment, final ArrayList<View> hiddenFragmentViews, final boolean isBack, final ArrayList<View> sharedElementTargets) argument 1135 callSharedElementEnd(TransitionState state, Fragment inFragment, Fragment outFragment, boolean isBack, ArrayMap<String, View> namedViews) argument 1145 setEpicenterIn(ArrayMap<String, View> namedViews, TransitionState state) argument 1156 mapSharedElementsIn(TransitionState state, boolean isBack, Fragment inFragment) argument 1242 configureTransitions(int containerId, TransitionState state, boolean isBack, SparseArray<Fragment> firstOutFragments, SparseArray<Fragment> lastInFragments) argument 1513 mapEnteringSharedElements(TransitionState state, Fragment inFragment, boolean isBack) argument 1564 setSharedElementEpicenter(Transition transition, final TransitionState state) argument 1579 popFromBackStack(boolean doStateMove, TransitionState state, SparseArray<Fragment> firstOutFragments, SparseArray<Fragment> lastInFragments) argument 1695 setNameOverrides(TransitionState state, ArrayList<String> sourceNames, ArrayList<String> targetNames) argument 1706 setBackNameOverrides(TransitionState state, ArrayMap<String, View> namedViews, boolean isEnd) argument 1726 setNameOverrides(TransitionState state, ArrayMap<String, View> namedViews, boolean isEnd) argument [all...] |
H A D | StatusBarManager.java | 229 public static String windowStateToString(int state) { argument 230 if (state == WINDOW_STATE_HIDING) return "WINDOW_STATE_HIDING"; 231 if (state == WINDOW_STATE_HIDDEN) return "WINDOW_STATE_HIDDEN"; 232 if (state == WINDOW_STATE_SHOWING) return "WINDOW_STATE_SHOWING";
|
/frameworks/base/core/java/android/preference/ |
H A D | MultiCheckPreference.java | 154 * Get the boolean state of a given value. 161 * Set the boolean state of a given value. 163 public void setValue(int index, boolean state) { argument 164 mSetValues[index] = state; 285 // No need to save instance state since it's persistent 295 protected void onRestoreInstanceState(Parcelable state) { argument 296 if (state == null || !state.getClass().equals(SavedState.class)) { 297 // Didn't save state for us in onSaveInstanceState 298 super.onRestoreInstanceState(state); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimationDrawable.java | 116 * @return true if the new visibility is different than its previous state 425 protected void setConstantState(@NonNull DrawableContainerState state) { argument 426 super.setConstantState(state); 428 if (state instanceof AnimationState) { 429 mAnimationState = (AnimationState) state; 433 private AnimationDrawable(AnimationState state, Resources res) { argument 434 final AnimationState as = new AnimationState(state, this, res); 436 if (state != null) {
|
H A D | VectorDrawable.java | 236 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) { argument 237 if (state == null) { 240 mVectorState = state; 241 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); 357 final VectorDrawableState state = mVectorState; 358 if (state.mTint != tint) { 359 state.mTint = tint; 360 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode); 367 final VectorDrawableState state [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 38 * on the device, including service state, signal strength, message 41 * Override the methods for the state that you wish to receive updates for, and 61 * Listen for changes to the network service state (cellular). 121 * Listen for changes to the device call state. 129 * Listen for changes to the data connection state (cellular). 204 * Listen for changes to LTE network state 229 * Subscription used to listen to the phone state changes 340 * Callback invoked when device service state changes. 387 * Callback invoked when device call state changes. 388 * @param state cal 397 onCallStateChanged(int state, String incomingNumber) argument 409 onDataConnectionStateChanged(int state) argument 416 onDataConnectionStateChanged(int state, int networkType) argument [all...] |
H A D | PhoneNumberUtils.java | 1272 int state = NANP_STATE_DIGIT; 1278 if (numDigits == 0 || state == NANP_STATE_PLUS) { 1279 state = NANP_STATE_ONE; 1292 if (state == NANP_STATE_PLUS) { 1296 } else if (state == NANP_STATE_ONE) { 1299 } else if (state != NANP_STATE_DASH && (numDigits == 3 || numDigits == 6)) { 1303 state = NANP_STATE_DIGIT; 1308 state = NANP_STATE_DASH; 1314 state = NANP_STATE_PLUS; 2669 int state [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSimPukView.java | 63 if (DEBUG) Log.v(TAG, "onSimStateChanged(subId=" + subId + ",state=" + simState + ")"); 81 private int state = ENTER_PUK; field in class:KeyguardSimPukView.StateMachine 85 if (state == ENTER_PUK) { 87 state = ENTER_PIN; 92 } else if (state == ENTER_PIN) { 94 state = CONFIRM_PIN; 99 } else if (state == CONFIRM_PIN) { 101 state = DONE; 105 state = ENTER_PIN; // try again? 118 state [all...] |
H A D | KeyguardUpdateMonitor.java | 158 // Device provisioning state 571 + " state: " + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE) 580 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); 581 mHandler.sendMessage(mHandler.obtainMessage(MSG_PHONE_STATE_CHANGED, state)); 666 SimData(State state, int slot, int id) { argument 667 simState = state; 673 State state; 687 state = IccCardConstants.State.PERM_DISABLED; 689 state = IccCardConstants.State.ABSENT; 692 state 1125 handleSimStateChange(int subId, int slotId, State state) argument 1436 isSimPinSecure(IccCardConstants.State state) argument 1484 getNextSubIdForState(State state) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewLayoutTest.java | 117 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 124 RecyclerView.State state) { 134 RecyclerView.State state) { 193 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 200 RecyclerView.State state) { 248 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 255 RecyclerView.State state) { 287 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 418 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 425 RecyclerView.State state) { [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | pitch_fr.cpp | 762 state = pointer to a pointer of structure type Pitch_fr_State. 780 Purpose: Allocates state memory and initializes state memory 795 int Pitch_fr_init (Pitch_frState **state) 799 if (state == (Pitch_frState **) NULL){ 803 *state = NULL; 807 // fprintf(stderr, "Pitch_fr_init: can not malloc state structure\n"); 812 *state = s; 839 Word16 Pitch_fr_init(Pitch_frState **state) argument 843 if (state 942 Pitch_fr_reset(Pitch_frState *state) argument 1034 Pitch_fr_exit(Pitch_frState **state) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | LocalBluetoothAdapter.java | 31 * those related to state transitions of the adapter itself. 33 * <p>Connection and bonding state changes affecting specific devices 175 // Always sync state, in case it changed while paused 180 synchronized void setBluetoothStateInt(int state) { argument 181 mState = state; 183 if (state == BluetoothAdapter.STATE_ON) { 192 // Returns true if the state changed; false otherwise.
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiSettingsStore.java | 36 /* Persisted state that tracks the wifi & airplane interaction from settings */ 38 /* Tracks current airplane mode state */ 47 /* Tracks if we have checked the saved wi-fi state after boot */ 95 // When wifi state is disabled, we do not care 117 /* On airplane mode disable, restore wifi state if necessary */ 135 private void persistWifiState(int state) { argument 137 mPersistWifiState = state; 138 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state); 158 * The settings app tracks the saved state, but the framework has to check it at boot to
|
/frameworks/support/design/src/android/support/design/internal/ |
H A D | NavigationMenuPresenter.java | 162 Bundle state = new Bundle(); 166 state.putSparseParcelableArray(STATE_HIERARCHY, hierarchy); 169 state.putBundle(STATE_ADAPTER, mAdapter.createInstanceState()); 171 return state; 176 Bundle state = (Bundle) parcelable; 177 SparseArray<Parcelable> hierarchy = state.getSparseParcelableArray(STATE_HIERARCHY); 181 Bundle adapterState = state.getBundle(STATE_ADAPTER); 469 Bundle state = new Bundle(); 471 state.putInt(STATE_CHECKED_ITEM, mCheckedItem.getItemId()); 473 return state; 476 restoreInstanceState(Bundle state) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 283 // we keep a copy of all of the state so we can send it out when folks 538 if (VDBG) log("listen: call onSSC state=" + mServiceState[phoneId]); 703 public void notifyCallState(int state, String incomingNumber) { argument 709 log("notifyCallState: state=" + state + " incomingNumber=" + incomingNumber); 718 r.callback.onCallStateChanged(state, incomingNumberOrEmpty); 726 broadcastCallStateChanged(state, incomingNumber, 730 public void notifyCallStateForSubscriber(int subId, int state, String incomingNumber) { argument 736 + " state=" + state 761 notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) argument 1009 notifyDataActivity(int state) argument 1013 notifyDataActivityForSubscriber(int subId, int state) argument 1035 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1043 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1385 broadcastServiceStateChanged(ServiceState state, int subId) argument 1429 broadcastCallStateChanged(int state, String incomingNumber, int subId) argument 1466 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument 1521 broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument 1661 set(Time t, String s, int subId, int phoneId, ServiceState state) argument 1675 logServiceStateChanged(String s, int subId, int phoneId, ServiceState state) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollAlgorithm.java | 138 // The state of the local variables are saved in an algorithmState to easily subdivide it 155 // Due to the overScroller, the stackscroller can have negative scroll state. This is 212 StackViewState state = resultState.getViewStateForView(child); 213 float newYTranslation = state.yTranslation + state.height * (1f - state.scale) / 2f; 214 float newHeight = state.height * state.scale; 231 float clippingCorrection = state.dimmed 233 : mRoundedRectCornerRadius * state 273 updateChildClippingAndBackground(StackViewState state, float realHeight, float clipHeight, float backgroundHeight) argument 347 updateVisibleChildren(StackScrollState resultState, StackScrollAlgorithmState state) argument 379 updateNotGoneIndex(StackScrollState resultState, StackScrollAlgorithmState state, int notGoneIndex, ExpandableView v) argument [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AHierarchicalStateMachine.h | 55 void changeState(const sp<AState> &state);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.cpp | 91 void StatusTracker::markComponent(int id, ComponentState state, argument 94 state == IDLE ? "idle" : "active"); 99 state, 138 // Wait for state updates 147 ALOGE("%s: Error waiting on state changes: %s (%d)", 164 // Collect all pending state updates and see if the device 170 // Only collect changes to overall device state 173 // For each pending component state update, check if we've transitioned 174 // to a new overall device state 180 // Update single component state [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPresenter.java | 41 * of menu state so that it does not attempt to hide the action bar 130 * Returns an ID for determining how to save/restore instance state. 136 * Returns a Parcelable describing the current state of the presenter. 139 * @return The saved instance state 144 * Supplies the previously saved instance state to be restored. 145 * @param state The previously saved instance state 147 public void onRestoreInstanceState(Parcelable state); argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DialogViewAnimator.java | 68 int state = 0; 73 state |= child.getMeasuredWidthAndState() & MEASURED_STATE_MASK; 79 state |= (child.getMeasuredHeightAndState() >> MEASURED_HEIGHT_STATE_SHIFT) 83 childState = combineMeasuredStates(childState, state);
|
/frameworks/base/libs/hwui/ |
H A D | LayerCache.cpp | 86 layer->state = Layer::kState_DeletedFromCache; 110 layer->state = Layer::kState_RemovedFromCache; 168 layer->state = Layer::kState_InCache; 172 layer->state = Layer::kState_FailedToCache;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SignalTileView.java | 104 protected void handleStateChanged(QSTile.State state) { argument 105 super.handleStateChanged(state); 106 final SignalState s = (SignalState) state; 120 if (state.autoMirrorDrawable && drawable != null) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | MobileSignalController.java | 59 // Since some pieces of the phone state are interdependent we store it locally, 97 // Get initial data sim state. 131 * Start listening for phone state changes. 144 * Stop listening for phone state changes. 312 // should pick one soon after, so we shouldn't be in this state 359 * Updates the current state based on mServiceState, mSignalStrength, mDataNetType, 437 public void onServiceStateChanged(ServiceState state) { argument 439 Log.d(mTag, "onServiceStateChanged voiceState=" + state.getVoiceRegState() 440 + " dataState=" + state.getDataRegState()); 442 mServiceState = state; 447 onDataConnectionStateChanged(int state, int networkType) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | DataConnectionStats.java | 87 boolean visible = (simReadyOrUnknown || isCdma()) // we only check the sim state for GSM 96 Log.w(TAG, "Error noting data connection state", e); 138 public void onServiceStateChanged(ServiceState state) { 139 mServiceState = state; 144 public void onDataConnectionStateChanged(int state, int networkType) { 145 mDataState = state;
|
/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) {
|