/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | CaptureSequencer.cpp | 141 result = String8::format(" Current capture state: %s\n", 202 ALOGV("Camera %d: New capture state %s", 246 switch (l.mParameters.state) { 253 l.mParameters.state = Parameters::STOPPED; 256 l.mParameters.state = Parameters::RECORD; 260 "in state %s!", 262 Parameters::getStateName(l.mParameters.state)); 302 l.mParameters.state == Parameters::STILL_CAPTURE) { 306 l.mParameters.state == Parameters::STILL_CAPTURE && 399 // Waiting to see PRECAPTURE state [all...] |
H A D | Parameters.cpp | 773 // Set up initial state for non-Camera.Parameters state variables 800 state = STOPPED; 1001 if (state >= PREVIEW) { 1068 if (state >= PREVIEW) { 1539 if (state == RECORD) { 1816 const char* Parameters::getStateName(State state) { argument 1818 switch(state) { 1827 return "Unknown state!";
|
H A D | Parameters.h | 35 * Current camera state; this is the full state of the Camera under the old 37 * format, plus other state). The enum values are mostly based off the 43 * Parameters and other state 91 uint8_t focusState; // Latest focus state from HAL 131 // These parameters are also part of the camera API-visible state, but not 149 // Overall camera state 158 } state; member in struct:android::camera2::Parameters 250 static const char *getStateName(State state);
|
H A D | StreamingProcessor.cpp | 490 if (l.mParameters.state != Parameters::RECORD && 491 l.mParameters.state != Parameters::VIDEO_SNAPSHOT) {
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 990 int waitControllerLocked(int pid, int state) { argument 1047 mState = state;
|
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
H A D | Ime.java | 138 private void runSetEnabled(boolean state) { argument 147 boolean res = mImm.setInputMethodEnabled(id, state); 148 if (state) {
|
/frameworks/base/cmds/ip-up-vpn/ |
H A D | ip-up-vpn.c | 68 FILE *state = fopen(DIR ".tmp", "wb"); local 69 if (!state) { 70 ALOGE("Cannot create state: %s", strerror(errno)); 76 fprintf(state, "%s\n", argv[1]); 77 fprintf(state, "%s/32\n", argv[4]); 78 fprintf(state, "0.0.0.0/0\n"); 79 fprintf(state, "%s %s\n", env("DNS1"), env("DNS2")); 80 fprintf(state, "\n"); 137 fprintf(state, "%s\n", interface); 138 fprintf(state, " [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 1180 private static String enabledSettingToString(int state) { argument 1181 switch (state) { 1203 private void runSetEnabledSetting(int state) { argument 1226 mPm.setApplicationEnabledSetting(pkg, state, 0, userId); 1227 System.err.println("Package " + pkg + " new state: " 1236 mPm.setComponentEnabledSetting(cn, state, 0, userId); 1237 System.err.println("Component " + cn.toShortString() + " new state: " 1526 System.err.println("pm enable, disable, disable-user: these commands change the enabled state");
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 167 * maintains all state and member information and remains attached to 171 * it is <em>stopped</em>. It still retains all state and member information, 178 * completely restarted and restored to its previous state.</li> 181 * <p>The following diagram shows the important state paths of an Activity. 196 * of "global" state in onCreate(), and release all remaining resources in 225 * to do appropriate work when the activity changes state. All 270 * frozen state, if there was one. 352 * in such a background state, allowing you to save away any dynamic instance 353 * state in your activity into the given Bundle, to be later received in 365 * is not in the killable state unti 975 createDialog(Integer dialogId, Bundle state, Bundle args) argument [all...] |
H A D | ActivityGroup.java | 67 Bundle state = mLocalActivityManager.saveInstanceState(); 68 if (state != null) { 69 outState.putBundle(STATES_KEY, state);
|
H A D | ActivityManagerNative.java | 2230 public void activityStopped(IBinder token, Bundle state, argument 2237 data.writeBundle(state);
|
H A D | ActivityThread.java | 268 Bundle state; field in class:ActivityThread.ActivityClientRecord 597 Bundle state, List<ResultInfo> pendingResults, 607 r.state = state; 2000 Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, 2006 r.state = state; 2101 if (r.state != null) { 2102 r.state.setClassLoader(cl); 2144 mInstrumentation.callActivityOnCreate(activity, r.state); 595 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument 1999 startActivityNow(Activity parent, String id, Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, Activity.NonConfigurationInstances lastNonConfigurationInstances) argument 3044 Bundle state; field in class:ActivityThread.StopInfo [all...] |
H A D | ApplicationPackageManager.java | 814 Drawable.ConstantState state = wr.get(); 815 if (state != null) { 817 Log.v(TAG, "Get cached drawable state for " + name + ": " + state); 822 // which means the state should already contain the proper 825 return state.newDrawable(); 837 if (DEBUG_ICONS) Log.v(TAG, "Added cached drawable state for " + name + ": " + dr);
|
H A D | ApplicationThreadNative.java | 137 Bundle state = data.readBundle(); 146 scheduleLaunchActivity(intent, b, ident, info, curConfig, compatInfo, state, ri, pi, 683 Bundle state, List<ResultInfo> pendingResults, 695 data.writeBundle(state); 681 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument
|
H A D | DatePickerDialog.java | 183 Bundle state = super.onSaveInstanceState(); 184 state.putInt(YEAR, mDatePicker.getYear()); 185 state.putInt(MONTH, mDatePicker.getMonth()); 186 state.putInt(DAY, mDatePicker.getDayOfMonth()); 187 return state;
|
H A D | ExpandableListActivity.java | 205 protected void onRestoreInstanceState(Bundle state) { argument 207 super.onRestoreInstanceState(state); 211 * Updates the screen state (current list and other views) when the
|
H A D | Fragment.java | 164 * in particular during state restore, and needs to be able to find this 166 * a runtime exception will occur in some cases during state restore. 201 * up to resumed state (interacting with the user) are: 211 * state of its view hierarchy has been restored. 230 * <li> {@link #onDestroy} called to do final cleanup of the fragment's state. 341 * pressing back will pop it to return the user to whatever previous state 348 static final int INVALID_STATE = -1; // Invalid state used as a null value. 363 // If mAnimatingAway != null, this is the state we should move to once the 367 // When instantiated from saved state, this is the saved state 488 SavedState(Bundle state) argument 712 setInitialSavedState(SavedState state) argument [all...] |
H A D | FragmentManager.java | 129 * to an activity saving its state. If you try to commit a transaction 134 * in the state, and if changes are made after the state is saved then they 190 * Pop the top state off the back stack. This function is asynchronous -- it 211 * @param name If non-null, this is the name of a previous back state 212 * to look for; if found, all states up to that state will be popped. The 214 * the named state itself is popped. If null, only the top state is popped. 238 * the named state itself is popped. 275 * persisted as saved state, an 1466 addBackStackState(BackStackRecord state) argument 1710 restoreAllState(Parcelable state, ArrayList<Fragment> nonConfig) argument [all...] |
H A D | IActivityManager.java | 96 public void activityStopped(IBinder token, Bundle state, argument
|
H A D | IApplicationThread.java | 57 Bundle state, List<ResultInfo> pendingResults, 55 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument
|
H A D | ListActivity.java | 152 * // requerying or closing it as the activity changes state. 217 protected void onRestoreInstanceState(Bundle state) { argument 219 super.onRestoreInstanceState(state); 232 * Updates the screen state (current list and other views) when the
|
H A D | LocalActivityManager.java | 58 Bundle instanceState; // Last retrieved freeze state. 59 int curState = RESTORED; // Current state the activity is in. 89 /** Current state the owner (ActivityGroup) is in */ 152 // the launching of the activity gets its state a little ahead 155 // group's state catches up. 247 * include an explicit component, we can restore the state for a different 248 * activity class than was previously running when the state was saved (if 380 * all state are removed from the group. 438 * Restore a state that was previously returned by {@link #saveInstanceState}. This 441 * user later navigates to them the correct state wil 451 dispatchCreate(Bundle state) argument [all...] |
H A D | NativeActivity.java | 228 byte[] state = onSaveInstanceStateNative(mNativeHandle); 229 if (state != null) { 230 outState.putByteArray(KEY_NATIVE_SAVED_STATE, state);
|
H A D | TabActivity.java | 83 protected void onRestoreInstanceState(Bundle state) { argument 84 super.onRestoreInstanceState(state); 86 String cur = state.getString("currentTab"); 120 * Updates the screen state (current list and other views) when the
|
H A D | TimePickerDialog.java | 107 // initialize state 143 Bundle state = super.onSaveInstanceState(); 144 state.putInt(HOUR, mTimePicker.getCurrentHour()); 145 state.putInt(MINUTE, mTimePicker.getCurrentMinute()); 146 state.putBoolean(IS_24_HOUR, mTimePicker.is24HourView()); 147 return state;
|