Searched defs:state (Results 301 - 325 of 340) sorted by relevance

<<11121314

/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DMultiWaveView.java60 // Wave state machine
344 private void switchToState(int state, float x, float y) { argument
345 switch (state) {
506 // Force ring and targets to finish animation to final expanded state
510 // Animate handle back to the center based on current state.
648 // postpone this change until we return to the initial state
724 * Resets the widget to default state and cancels all animation. If animate is 'true', will
933 * Sets the current grabbed state, and dispatches a grabbed state change
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp398 * Native state for interacting with the NativeActivity class.
742 jbyte* state = (jbyte*)code->callbacks.onSaveInstanceState(code, &len); local
746 env->SetByteArrayRegion(array, 0, len, state);
749 if (state != NULL) {
750 free(state);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DSlidingChallengeLayout.java61 // Drawn to show the drag handle in closed state; crossfades to the challenge view
188 * Listener interface that reports changes in scroll state of the challenge area.
192 * The scroll state itself changed.
205 * while the scroll state is not <code>SCROLL_STATE_IDLE</code>.</p>
207 * @param scrollState The new scroll state of the challenge area.
348 void setScrollState(int state) { argument
349 if (mScrollState != state) {
350 mScrollState = state;
352 animateHandle(state == SCROLL_STATE_IDLE && !mChallengeShowing);
354 mScrollListener.onScrollStateChanged(state);
[all...]
/frameworks/base/services/java/com/android/server/
H A DMountService.java122 * Internal vold volume state constants
189 /** Map from path to state */
224 * Mounted OBB tracking information. Used to track the current state of all
526 final String state = entry.getValue();
528 if (state.equals(Environment.MEDIA_UNMOUNTED)) {
534 } else if (state.equals(Environment.MEDIA_SHARED)) {
536 * Bootstrap UMS enabled state since vold indicates
544 // Push mounted state for all emulated storage
631 private void updatePublicVolumeState(StorageVolume volume, String state) { argument
635 oldState = mVolumeStates.put(path, state);
[all...]
H A DWifiService.java90 // on device idle state, airplane mode and boot.
157 /* Persisted state that tracks the wifi & airplane interaction from settings */
159 /* Tracks current airplane mode state */
210 * supplicant in a scanning state. This allows supplicant to associate with
215 * The number of scans since the last network state change. When this
217 * supplicant to actually be scanning. When the network state changes to
349 //Re-establish connection to state machine
408 // reset & clear notification on any wifi state change
490 /* Start if Wi-Fi should be enabled or the saved state indicates Wi-Fi was on */
496 // state her
567 persistWifiState(int state) argument
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java85 * and leave it in a magnified state. A triple tapping when magnified would
86 * clear magnification and leave the screen in a not magnified state.
97 * In other words, the initial magnified state is sticky.
105 * 4. When in a permanent magnified state the user can use two or more fingers
109 * 5. When in a permanent magnified state the user can use three or more
226 // if this is the current state since it uses ScaleGestureDetecotr
230 throw new IllegalStateException("Unknown state: " + mCurrentState);
346 private void transitionToState(int state) { argument
348 switch (state) {
362 throw new IllegalArgumentException("Unknown state
[all...]
H A DTouchExplorer.java123 // The current state of the touch explorer.
254 // state. Therefore, there is not need to clean anything.
297 // Go to initial state.
339 throw new IllegalStateException("Illegal state: " + mCurrentState);
384 * Handles a motion event in touch exploring state.
412 + "touch exploring state!");
444 // This would lead to a state transition resulting in long
500 // clear the current state and try to detect.
573 // end since we transition to another state.
577 // We know that a new state transitio
1337 getStateSymbolicName(int state) argument
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkPolicyManagerService.java351 // TODO: traverse existing processes to know foreground state, or have
352 // activitymanager dispatch current state when new observer attached.
398 // listen for wifi state changes to catch metered hint
568 * Receiver that watches {@link WifiInfo} state changes to infer metered
569 * state. Ignores hints when policy is user-defined.
598 // metered state.
682 * current device state, such as when
989 for (NetworkState state : states) {
991 if (state.networkInfo.isConnected()) {
992 final String iface = state
1551 getNetworkQuotaInfo(NetworkState state) argument
1564 getNetworkQuotaInfoUnchecked(NetworkState state) argument
1594 isNetworkMetered(NetworkState state) argument
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerController.java48 * Controls the power state of the display.
54 * In particular, it does not share any state and it only communicates
79 // screen state returns. Playing the animation can also be somewhat slow.
237 // The important parts are mainly the screen state. Brightness changes may occur
242 // Set to true if a power state update is required.
246 /* The following state must only be accessed by the handler thread. */
248 // The currently requested power state.
249 // The power controller will progressively update its internal state to match
250 // the requested power state. Initially null until the first update.
253 // The current power state
1235 proximityToString(int state) argument
1248 wantScreenOn(int state) argument
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp210 int state = TICK_START; local
215 if (state == TICK_START ||
216 (state == TICK_OUTSIDE_1 && multipleAllowed)) {
223 state = TICK_INSIDE_1;
224 } else if (state == TICK_OUTSIDE_1) {
230 if (state == TICK_INSIDE_1) {
235 state = TICK_OUTSIDE_1;
259 int state = TICK_START; local
264 if (state == TICK_START ||
265 (state
[all...]
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java326 public void onRestoreInstanceState(Parcelable state) { argument
330 super.onRestoreInstanceState(state);
1876 * @return A RecipientChip in the selected state or null if the chip
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallManager.java103 // state registrants
232 * Get current coarse-grained voice call state.
234 * then the phone state is RINGING not OFFHOOK
251 * @return the service state of CallManager, which represents the
252 * highest priority state of all the service states of phones
376 // change the audio mode and request/abandon audio focus according to phone state,
393 // There is no active Fg calls, the OFFHOOK state
653 * state--that is, one call holding and one call active.
724 throw new CallStateException("cannot dial in current state");
817 * phone state
1690 getFirstCallOfState(ArrayList<Call> calls, Call.State state) argument
[all...]
H A DPhoneBase.java189 * state change notification. DefaultPhoneNotifier is
218 * of state change events
305 Log.d(LOG_TAG, "Event EVENT_CALL_RING Received state=" + getState());
308 PhoneConstants.State state = getState();
310 && ((state == PhoneConstants.State.RINGING) ||
311 (state == PhoneConstants.State.IDLE))) {
651 * Get state
832 PhoneConstants.DataState state) {
833 mNotifier.notifyDataConnection(this, reason, apnType, state);
831 notifyDataConnection(String reason, String apnType, PhoneConstants.DataState state) argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java173 // If mAnimatingAway != null, this is the state we should move to once the
177 // When instantiated from saved state, this is the saved state.
205 // True if the fragment is in the resumed state.
214 // True if this fragment has been restored from previously saved state.
279 // The real inner view that will save/restore state.
301 SavedState(Bundle state) { argument
302 mState = state;
347 * activity's state. It is strongly recommended that subclasses do not
514 * Set the initial saved state tha
521 setInitialSavedState(SavedState state) argument
[all...]
H A DFragmentManager.java126 * to an activity saving its state. If you try to commit a transaction
131 * in the state, and if changes are made after the state is saved then they
187 * Pop the top state off the back stack. Returns true if there was one
209 * @param name If non-null, this is the name of a previous back state
210 * to look for; if found, all states up to that state will be popped. The
212 * the named state itself is popped. If null, only the top state is popped.
236 * the named state itself is popped.
273 * persisted as saved state, an
1475 addBackStackState(BackStackRecord state) argument
1730 restoreAllState(Parcelable state, ArrayList<Fragment> nonConfig) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java126 * @hide Broadcast intent when the master mute state changes.
191 * @hide The new master volume mute state for the master mute changed intent.
874 * @param state The required solo state: true for solo ON, false for solo OFF
876 public void setStreamSolo(int streamType, boolean state) { argument
879 service.setStreamSolo(streamType, state, mICallBack);
903 * @param state The required mute state: true for mute ON, false for mute OFF
905 public void setStreamMute(int streamType, boolean state) { argument
908 service.setStreamMute(streamType, state, mICallBac
934 setMasterMute(boolean state) argument
943 setMasterMute(boolean state, int flags) argument
2426 setWiredDeviceConnectionState(int device, int state, String name) argument
2443 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletStatusBar.java889 public void disable(int state) { argument
891 int diff = state ^ old;
892 mDisabled = state;
896 boolean show = (state & StatusBarManager.DISABLE_CLOCK) == 0;
901 boolean show = (state & StatusBarManager.DISABLE_SYSTEM_INFO) == 0;
906 if ((state & StatusBarManager.DISABLE_EXPAND) != 0) {
916 if ((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) {
926 if ((state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) {
933 setNavigationVisibility(state);
935 if ((state
[all...]
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp1488 bool OMXCodec::isIntermediateState(State state) { argument
1489 return state == LOADED_TO_IDLE
1490 || state == IDLE_TO_EXECUTING
1491 || state == EXECUTING_TO_IDLE
1492 || state == IDLE_TO_LOADED
1493 || state == RECONFIGURING;
2079 ALOGW("Dropping OMX EVENT message - we're in ERROR state.");
2684 // releases the lock and ::init can notice the state change and
3251 // unblock the reader if we enter ERROR state.
3612 CODEC_LOGE("called start in the unexpected state
3708 OMX_STATETYPE state = OMX_StateInvalid; local
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java2230 public void activityStopped(IBinder token, Bundle state, argument
2237 data.writeBundle(state);
/frameworks/base/core/java/android/webkit/
H A DWebSettingsClassic.java145 String city, String state, String zipCode, String country,
154 mState = state;
1200 public synchronized void setPluginState(PluginState state) { argument
1201 if (mPluginState != state) {
1202 mPluginState = state;
143 AutoFillProfile(int uniqueId, String fullName, String email, String companyName, String addressLine1, String addressLine2, String city, String state, String zipCode, String country, String phoneNumber) argument
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java520 public void updateNetworkState(int state, NetworkInfo info) { argument
521 sendMessage(UPDATE_NETWORK_STATE, state, info);
524 private void handleUpdateNetworkState(int state, NetworkInfo info) { argument
525 mNetworkAvailable = (state == LocationProvider.AVAILABLE);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp524 // initialize our drawing state
1098 // (ie: in drawing state but not in current state)
1104 // in drawing state but not in current state
1119 const DisplayDeviceState& state(curr[j]);
1121 if (state.surface->asBinder() != draw[i].surface->asBinder()) {
1124 // from the drawing state, so that it get re-added
1135 if (state.layerStack != draw[i].layerStack) {
1136 disp->setLayerStack(state
1675 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java219 * Indicates that the pager is in an idle, settled state. The current page
244 * Callback interface for responding to changing state of the selected page.
268 * Called when the scroll state changes. Useful for discovering when the user
272 * @param state The new scroll state.
277 public void onPageScrollStateChanged(int state); argument
297 public void onPageScrollStateChanged(int state) { argument
630 * current page in the view hierarchy in an idle state. Defaults to 1.
641 * current page in the view hierarchy in an idle state. Pages beyond this
654 * @param limit How many pages will be kept offscreen in an idle state
1210 onRestoreInstanceState(Parcelable state) argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp91 ManualEditState state; member in struct:__anon29
1638 // Make sure that we are in a correct state.
1640 (pContext->state != ManualEditState_INITIALIZED),
2614 // Set the state to not initialized.
2615 pContext->state = ManualEditState_NOT_INITIALIZED;
2735 // Set the state to initialized.
2736 pContext->state = ManualEditState_INITIALIZED;
2775 // We start in Analyzing state
2776 pContext->state = ManualEditState_INITIALIZED;
2820 &&(pContext->state!
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java685 // we want to freeze the sysui state wherever it is
1166 public void disable(int state) { argument
1168 final int diff = state ^ old;
1169 mDisabled = state;
1173 old, state, diff));
1178 flagdbg.append(((state & StatusBarManager.DISABLE_EXPAND) != 0) ? "EXPAND" : "expand");
1180 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) ? "ICONS" : "icons");
1182 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) != 0) ? "ALERTS" : "alerts");
1184 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) ? "TICKER" : "ticker");
1186 flagdbg.append(((state
[all...]

Completed in 237 milliseconds

<<11121314