/frameworks/base/core/java/android/printservice/ |
H A D | PrintJob.java | 34 * service. It provides APIs for observing the print job state and 78 * current print job state. Every call to this method returns a fresh 79 * info object that reflects the current print job state. 162 * is successfully printed. This is a final state. 176 * not successfully printed due to an error. This is a final state. 190 * cancelled as a result of a user request. This is a final state. 218 final int state = getInfo().getState(); 219 if (state == PrintJobInfo.STATE_QUEUED 220 || state == PrintJobInfo.STATE_BLOCKED) { 242 final int state 465 setState(int state, @Nullable String error) argument [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | OnePlayerActivity.java | 143 final int state = mPlaybackState.getState(); 146 Log.d(TAG, "Play button pressed, in state " + state); 147 if (state == PlaybackState.STATE_PAUSED 148 || state == PlaybackState.STATE_STOPPED) { 150 } else if (state == PlaybackState.STATE_PLAYING) { 155 Log.d(TAG, "Start button pressed, in state " + state); 177 public void onPlaybackStateChange(PlaybackState state) { 178 mPlaybackState = state; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCall.java | 127 sb.append(" state: "); 163 public void attach(Connection conn, State state) { argument 165 Rlog.v(LOG_TAG, "attach : " + mCallContext + " state = " + 166 state.toString()); 169 mState = state; 172 public void attachFake(Connection conn, State state) { argument 173 attach(conn, state); 195 Rlog.v(LOG_TAG, "connectionDisconnected : " + mCallContext + " state = " + 236 Rlog.v(LOG_TAG, "onHangupLocal : " + mCallContext + " state = " + mState); 261 merge(ImsPhoneCall that, State state) { argument 309 update(ImsPhoneConnection conn, ImsCall imsCall, State state) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | TestedActivity.java | 37 protected void onRestoreInstanceState(Bundle state) argument 39 super.onRestoreInstanceState(state);
|
/frameworks/base/libs/storage/ |
H A D | IObbActionListener.cpp | 34 const int32_t /* state */) { } 49 int32_t state = data.readInt32(); local 50 onObbResult(filename, nonce, state);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputManagerCallback.aidl | 29 void onInputStateChanged(in String inputId, int state);
|
/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) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/ |
H A D | MapView.java | 112 public void onSaveInstanceState(Bundle state) { argument 115 public void onRestoreInstanceState(Bundle state) { argument
|
/frameworks/rs/ |
H A D | rsProgramFragment.cpp | 48 if (mHal.state.constants[0] == nullptr) { 57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); 60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); 63 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { argument 64 if ((state->mLast.get() == this) && !mDirty) { 67 state->mLast.set(this); 69 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) { 70 if (!mHal.state.textures[ct]) {
|
/frameworks/support/compat/honeycomb/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperHoneycomb.java | 30 DrawableWrapperHoneycomb(DrawableWrapperState state, Resources resources) { argument 31 super(state, resources);
|
/frameworks/support/compat/kitkat/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperKitKat.java | 30 DrawableWrapperKitKat(DrawableWrapperState state, Resources resources) { argument 31 super(state, resources);
|
/frameworks/support/media-compat/api22/android/support/v4/media/session/ |
H A D | PlaybackStateCompatApi22.java | 30 public static Object newInstance(int state, long position, long bufferedPosition, argument 35 stateObj.setState(state, position, speed, updateTime);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AHierarchicalStateMachine.cpp | 70 ALOGW("Warning message %s unhandled in root state.", 74 void AHierarchicalStateMachine::changeState(const sp<AState> &state) { argument 75 if (state == mState) { 91 cur = state; 106 mState = state;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerCubic.h | 44 } state; typedef in class:android::AudioResamplerCubic 50 static inline int32_t interp(state* p, int32_t x) { 53 static inline void advance(state* p, int16_t in) { 62 state left, right;
|
/frameworks/base/core/java/android/net/ |
H A D | INetworkPolicyManager.aidl | 58 /** Callback used to change internal state on tethering */ 74 NetworkQuotaInfo getNetworkQuotaInfo(in NetworkState state); 75 boolean isNetworkMetered(in NetworkState state);
|
/frameworks/base/libs/hwui/ |
H A D | BakedOpDispatcher.h | 28 * RecordedOps and their state to Glops, and renders them with the provided BakedOpRenderer. 44 static void on##Type(BakedOpRenderer& renderer, const Type& op, const BakedOpState& state);
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | ShadowBench.cpp | 80 void BM_TessellateShadows_roundrect_opaque(benchmark::State& state) { argument 86 while (state.KeepRunning()) { 96 void BM_TessellateShadows_roundrect_translucent(benchmark::State& state) { argument 103 while (state.KeepRunning()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserTile.java | 81 protected void handleUpdateState(State state, Object arg) { argument 84 state.label = p.first; 86 state.contentDescription = p.first; 87 state.icon = new Icon() { 94 // TODO: Default state.
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConferenceParticipant.java | 24 * Parcelable representation of a participant's state in a conference call. 46 * The state of the participant in the conference. 58 * @param state The state of the participant in the conference. 60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { argument 64 mState = state; 79 int state = source.readInt(); 80 return new ConferenceParticipant(handle, displayName, endpoint, state); 151 * The state of the participant in the conference.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | GsmCdmaCall.java | 72 mState = stateFromDCState (dc.state); 75 public void attachFake(Connection conn, State state) { argument 78 mState = state; 118 newState = stateFromDCState(dc.state);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | PlaylistItem.java | 57 public void setState(int state) { argument 58 mPlaybackState = state; 123 String state[] = { 135 + state[mPlaybackState] + "] " + mTitle + ": " + mUri.toString();
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | PlaylistItem.java | 57 public void setState(int state) { argument 58 mPlaybackState = state; 123 String state[] = { 135 + state[mPlaybackState] + "] " + mTitle + ": " + mUri.toString();
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 116 RecyclerView.State state) { 120 if (state.getItemCount() < 1) { 125 return getSpanGroupIndex(recycler, state, state.getItemCount() - 1) + 1; 130 RecyclerView.State state) { 134 if (state.getItemCount() < 1) { 139 return getSpanGroupIndex(recycler, state, state.getItemCount() - 1) + 1; 144 RecyclerView.State state, View host, AccessibilityNodeInfoCompat info) { 151 int spanGroupIndex = getSpanGroupIndex(recycler, state, gl 115 getRowCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) argument 129 getColumnCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) argument 143 onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler recycler, RecyclerView.State state, View host, AccessibilityNodeInfoCompat info) argument 166 onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) argument 178 onLayoutCompleted(RecyclerView.State state) argument 352 onAnchorReady(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo, int itemDirection) argument 369 scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) argument 377 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument 384 ensureAnchorIsInCorrectSpan(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo, int itemDirection) argument 414 findReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state, int start, int end, int itemCount) argument 448 getSpanGroupIndex(RecyclerView.Recycler recycler, RecyclerView.State state, int viewPosition) argument 465 getSpanIndex(RecyclerView.Recycler recycler, RecyclerView.State state, int pos) argument 486 getSpanSize(RecyclerView.Recycler recycler, RecyclerView.State state, int pos) argument 513 gatherPrefetchIndicesForLayoutState(RecyclerView.State state, LayoutState layoutState, int[] outIndices) argument 529 layoutChunk(RecyclerView.Recycler recycler, RecyclerView.State state, LayoutState layoutState, LayoutChunkResult result) argument 770 assignSpans(RecyclerView.Recycler recycler, RecyclerView.State state, int count, int consumedSpanCount, boolean layingOutInPrimaryDirection) argument 998 onFocusSearchFailed(View focused, int focusDirection, RecyclerView.Recycler recycler, RecyclerView.State state) argument [all...] |
/frameworks/webview/chromium/plat_support/ |
H A D | graphics_utils.cpp | 49 state = SkCanvasStateUtils::CaptureCanvasState(canvas); 53 if (state) 54 SkCanvasStateUtils::ReleaseCanvasState(state); 77 if (!pixels->state) {
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | BottomSheetBehavior.java | 64 * Called when the bottom sheet changes its state. 67 * @param newState The new state. This will be one of {@link #STATE_DRAGGING}, 208 public void onRestoreInstanceState(CoordinatorLayout parent, V child, Parcelable state) { argument 209 SavedState ss = (SavedState) state; 211 // Intermediate states are restored as collapsed state 212 if (ss.state == STATE_DRAGGING || ss.state == STATE_SETTLING) { 215 mState = ss.state; 491 * Sets whether this bottom sheet should skip the collapsed state when it is being hidden 494 * @param skipCollapsed True if the bottom sheet should skip the collapsed state 528 setState(final @State int state) argument 569 setStateInternal(@tate int state) argument 621 startSettlingAnimation(View child, int state) argument 764 final int state; field in class:BottomSheetBehavior.SavedState 776 SavedState(Parcelable superState, @State int state) argument [all...] |