Searched refs:state (Results 251 - 275 of 749) sorted by relevance

<<11121314151617181920>>

/frameworks/native/include/gui/
H A DBufferSlot.h93 static const char* bufferStateName(BufferState state);
95 // mBufferState is the current state of this buffer slot.
130 // consumer. This is set when a buffer in ACQUIRED state is freed.
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestPhoneNotifier.java55 PhoneConstants.DataState state) {
54 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
/frameworks/rs/
H A DrsFBOCache.h51 State state; member in struct:android::renderscript::FBOCache::Hal
H A DrsPath.h36 State state; member in struct:android::renderscript::Path::__anon1511
H A DrsGrallocConsumer.cpp44 if (a->mHal.state.yuv) {
45 bq->setDefaultBufferFormat(a->mHal.state.yuv);
128 mAlloc->mHal.state.type->getElementSizeBytes();
129 mAlloc->mHal.state.nativeBuffer = mAcquiredBuffer.mGraphicBuffer->getNativeBuffer();
130 mAlloc->mHal.state.timestamp = b.mTimestamp;
144 if (mAlloc->mHal.state.yuv) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuPresenter.java46 * of menu state so that it does not attempt to hide the action bar
135 * Returns an ID for determining how to save/restore instance state.
141 * Returns a Parcelable describing the current state of the presenter.
144 * @return The saved instance state
149 * Supplies the previously saved instance state to be restored.
150 * @param state The previously saved instance state
152 public void onRestoreInstanceState(Parcelable state); argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerTest.java221 RecyclerView.State state = new RecyclerView.State();
222 state.mItemCount = 1000;
223 glm.onAnchorReady(state, glm.mAnchorInfo);
227 glm.onAnchorReady(state, glm.mAnchorInfo);
231 glm.onAnchorReady(state, glm.mAnchorInfo);
235 glm.onAnchorReady(state, glm.mAnchorInfo);
340 public void onBeforeLayout(RecyclerView.Recycler recycler, RecyclerView.State state) {
341 if (!state.isPreLayout()) {
347 public void onAfterLayout(RecyclerView.Recycler recycler, RecyclerView.State state) {
348 if (!state
553 onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) argument
637 onBeforeLayout(RecyclerView.Recycler recycler, RecyclerView.State state) argument
640 onAfterLayout(RecyclerView.Recycler recycler, RecyclerView.State state) argument
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h101 status_t onOutputFormatChanged(size_t trackIndex, CodecState *state);
104 CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer);
/frameworks/base/core/java/android/app/
H A DExpandableListActivity.java204 protected void onRestoreInstanceState(Bundle state) { argument
206 super.onRestoreInstanceState(state);
210 * Updates the screen state (current list and other views) when the
H A DListActivity.java152 * // 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
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java282 * @param state Optional instance state to restore on the dialog
284 protected void showDialog(Bundle state) { argument
309 if (state != null) {
310 dialog.onRestoreInstanceState(state);
439 protected void onRestoreInstanceState(Parcelable state) { argument
440 if (state == null || !state.getClass().equals(SavedState.class)) {
441 // Didn't save state for us in onSaveInstanceState
442 super.onRestoreInstanceState(state);
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DLocalDisplayAdapter.java116 static int getPowerModeForState(int state) { argument
117 switch (state) {
181 mInfo.state = mState;
225 public Runnable requestDisplayStateLocked(final int state) { argument
226 if (mState != state) {
229 final int mode = getPowerModeForState(state);
230 mState = state;
240 + Display.stateToString(state) + ", id=" + displayId + ")");
H A DDisplayDeviceInfo.java201 * Display state.
203 public int state = Display.STATE_ON; field in class:DisplayDeviceInfo
252 && state == other.state
278 state = other.state;
301 sb.append(", state ").append(Display.stateToString(state));
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java82 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 DSystemAudioStatusAction.java120 void handleTimerEvent(int state) { argument
121 if (mState != state) {
/frameworks/base/telephony/java/com/android/ims/
H A DImsConferenceState.java125 Bundle state = in.readParcelable(null);
126 mParticipants.put(user, state);
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnosticEngine.h121 State& state() function in class:mcld::DiagnosticEngine
124 const State& state() const function in class:mcld::DiagnosticEngine
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DOperatorInfo.java63 State state) {
69 mState = state;
82 * See state strings defined in ril.h RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
95 "RIL impl error: Invalid network state '" + s + "'");
145 (State) in.readSerializable()); /*state*/
60 OperatorInfo(String operatorAlphaLong, String operatorAlphaShort, String operatorNumeric, State state) argument
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuPresenter.java163 Bundle state = new Bundle();
164 saveHierarchyState(state);
166 state.putInt(OPEN_SUBMENU_KEY, mOpenSubMenuId);
168 return state;
172 public void onRestoreInstanceState(Parcelable state) { argument
173 restoreHierarchyState((Bundle) state);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java206 public void onPlaybackStateChanged(PlaybackState state) { argument
207 if (state == null) {
210 Log.d(TAG, "Received playback state change to state " + state.getState());
212 mListener.onPlaybackStateChange(state);
229 public void onPlaybackStateChange(PlaybackState state); argument
231 public void onConnectionStateChange(int state); argument
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java137 ParcelFileDescriptor state = ParcelFileDescriptor.open(
138 new File(getFilesDir(), "state"),
145 h.performBackup(null, data, state);
147 state.close();
161 ParcelFileDescriptor state = ParcelFileDescriptor.open(
166 dispatch.performRestore(data, 0, state);
168 state.close();
/frameworks/wilhelm/src/itf/
H A DIRecord.c22 static SLresult IRecord_SetRecordState(SLRecordItf self, SLuint32 state) argument
26 switch (state) {
33 thiz->mState = state;
35 android_audioRecorder_setRecordState(InterfaceToCAudioRecorder(thiz), state); local
59 SLuint32 state = thiz->mState; local
61 *pState = state;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackScrollAlgorithm.java137 // The state of the local variables are saved in an algorithmState to easily subdivide it
154 // Due to the overScroller, the stackscroller can have negative scroll state. This is
197 StackScrollState.ViewState state = resultState.getViewStateForView(child);
198 float newYTranslation = state.yTranslation + state.height * (1f - state.scale) / 2f;
199 float newHeight = state.height * state.scale;
205 float clippingCorrection = state.dimmed ? 0 : mRoundedRectCornerRadius * state
235 updateChildClippingAndBackground(StackScrollState.ViewState state, float realHeight, float clipHeight, float backgroundHeight) argument
307 updateVisibleChildren(StackScrollState resultState, StackScrollAlgorithmState state) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsCache.java144 * Load roots from authorities that are in stopped state. Normal
343 public Collection<RootInfo> getMatchingRootsBlocking(State state) { argument
347 return getMatchingRoots(mRoots.values(), state);
352 static List<RootInfo> getMatchingRoots(Collection<RootInfo> roots, State state) { argument
362 if (state.action == State.ACTION_CREATE && !supportsCreate) continue;
364 if (state.action == State.ACTION_OPEN_TREE && !supportsIsChild) continue;
366 if (!state.showAdvanced && advanced) continue;
368 if (state.localOnly && !localOnly) continue;
370 if (state.action != State.ACTION_CREATE && empty) continue;
374 MimePredicate.mimeMatches(root.derivedMimeTypes, state
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DWiredAccessoryManager.java176 * Compare the existing headset state with the new state and pass along accordingly. Note
198 Log.e(TAG, "No state change.");
202 // reject all suspect transitions: only accept state changes from:
263 int state;
266 state = 1;
268 state = 0;
290 Slog.v(TAG, "device "+headsetName+((state == 1) ? " connected" : " disconnected"));
293 mAudioManager.setWiredDeviceConnectionState(outDevice, state, headsetName);
296 mAudioManager.setWiredDeviceConnectionState(inDevice, state, headsetNam
417 updateStateLocked(String devPath, String name, int state) argument
[all...]

Completed in 544 milliseconds

<<11121314151617181920>>