Searched refs:state (Results 76 - 100 of 756) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DTextGraphReader.java199 int state = STATE_COMMAND;
210 switch (state) {
214 state = STATE_IMPORT_PKG;
216 state = STATE_ADD_LIBRARY;
218 state = STATE_FILTER_CLASS;
220 state = STATE_SOURCE_FILTERNAME;
222 state = STATE_ASSIGNMENT;
224 state = STATE_EXTERNAL;
226 state = STATE_SETTING;
236 state
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java66 * Helper class that keeps temporary layout state.
67 * It does not keep state after layout is complete but we still keep a reference to re-use
218 SavedState state = new SavedState();
222 state.mAnchorLayoutFromEnd = didLayoutFromEnd;
225 state.mAnchorOffset = mOrientationHelper.getEndAfterPadding() -
227 state.mAnchorPosition = getPosition(refChild);
230 state.mAnchorPosition = getPosition(refChild);
231 state.mAnchorOffset = mOrientationHelper.getDecoratedStart(refChild) -
235 state.invalidateAnchor();
237 return state;
241 onRestoreInstanceState(Parcelable state) argument
391 getExtraLayoutSpace(RecyclerView.State state) argument
400 smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) argument
431 onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) argument
581 onAnchorReady(RecyclerView.State state, AnchorInfo anchorInfo) argument
587 layoutForPredictiveAnimations(RecyclerView.Recycler recycler, RecyclerView.State state, int startOffset, int endOffset) argument
640 updateAnchorInfoForLayout(RecyclerView.State state, AnchorInfo anchorInfo) argument
667 updateAnchorFromChildren(RecyclerView.State state, AnchorInfo anchorInfo) argument
711 updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) argument
795 fixLayoutEndGap(int endOffset, RecyclerView.Recycler recycler, RecyclerView.State state, boolean canOffsetChildren) argument
820 fixLayoutStartGap(int startOffset, RecyclerView.Recycler recycler, RecyclerView.State state, boolean canOffsetChildren) argument
942 scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) argument
954 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument
963 computeHorizontalScrollOffset(RecyclerView.State state) argument
968 computeVerticalScrollOffset(RecyclerView.State state) argument
973 computeHorizontalScrollExtent(RecyclerView.State state) argument
978 computeVerticalScrollExtent(RecyclerView.State state) argument
983 computeHorizontalScrollRange(RecyclerView.State state) argument
988 computeVerticalScrollRange(RecyclerView.State state) argument
992 computeScrollOffset(RecyclerView.State state) argument
1003 computeScrollExtent(RecyclerView.State state) argument
1014 computeScrollRange(RecyclerView.State state) argument
1057 updateLayoutState(int layoutDirection, int requiredSpace, boolean canUseExistingSpace, RecyclerView.State state) argument
1092 scrollBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1259 fill(RecyclerView.Recycler recycler, LayoutState layoutState, RecyclerView.State state, boolean stopOnFocusable) argument
1309 layoutChunk(RecyclerView.Recycler recycler, RecyclerView.State state, LayoutState layoutState, LayoutChunkResult result) argument
1487 findReferenceChildClosestToEnd(RecyclerView.State state) argument
1503 findReferenceChildClosestToStart(RecyclerView.State state) argument
1651 onFocusSearchFailed(View focused, int focusDirection, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1845 hasMore(RecyclerView.State state) argument
2003 assignFromViewIfValid(View child, RecyclerView.State state) argument
[all...]
H A DLayoutState.java21 * Helper class that keeps temporary state while {LayoutManager} is filling out the empty
72 boolean hasMore(RecyclerView.State state) { argument
73 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount();
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java407 * Updates the constant state from the values in the typed array.
411 final NinePatchState state = mNinePatchState;
414 state.mChangingConfigurations |= a.getChangingConfigurations();
417 state.mThemeAttrs = a.extractThemeAttrs();
419 state.mDither = a.getBoolean(R.styleable.NinePatchDrawable_dither, state.mDither);
424 options.inDither = !state.mDither;
452 state.mNinePatch = new NinePatch(bitmap, bitmap.getNinePatchChunk());
453 state.mPadding = padding;
454 state
631 NinePatchState(@onNull NinePatchState state) argument
680 NinePatchDrawable(NinePatchState state, Resources res) argument
689 initializeWithState(NinePatchState state, Resources res) argument
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java431 ParserState state = new ParserState();
432 state.index = 0;
441 current = parseLine(line, state, current);
466 private static Component parseLine(String line, ParserState state, argument
469 state.line = line;
470 int len = state.line.length();
474 for (state.index = 0; state.index < len; ++state.index) {
475 c = line.charAt(state
525 extractValue(ParserState state) argument
541 extractParameter(ParserState state) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerState.java36 * Controls the display power state.
41 * This mechanism enables multiple properties of the display power state to be animated
87 // so prepare to set it to a known state when the state is next applied.
129 public void setScreenState(int state) { argument
130 if (mScreenState != state) {
132 Slog.d(TAG, "setScreenState: state=" + state);
135 mScreenState = state;
142 * Gets the desired screen state
352 setState(int state, int backlight) argument
428 requestDisplayState(int state) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dpreemph.cpp118 Initializes state memory to zero
156 Word16 preemphasis_reset(preemphasisState *state) argument
158 if (state == (preemphasisState *) NULL)
164 state->mem_pre = 0;
176 st -- Pointer to preemphasisState -- preemphasis filter state
182 st -- Pointer to preemphasisState -- preemphasis filter state
237 preemphasisState *st, /* (i/o) : preemphasis filter state */
/frameworks/base/libs/storage/
H A DIObbActionListener.cpp33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } argument
48 int32_t state = data.readInt32(); local
49 onObbResult(filename, nonce, state);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_eglapi.cpp47 GLTraceState *state = (GLTraceState *)arg; local
48 TCPStream *stream = state->getStream();
97 state->setCollectFbOnEglSwap(collectFbOnEglSwap);
98 state->setCollectFbOnGlDraw(collectFbOnGlDraw);
99 state->setCollectTextureDataOnGlTexImage(collectTextureData);
140 // initialize tracing state
164 GLTraceState *state = sGLTraceState; local
167 if (state == NULL) return;
169 // update trace state for new EGL context
170 GLTraceContext *traceContext = state
179 GLTraceState *state = sGLTraceState; local
[all...]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorStateDrawable.java42 for (int state : states) {
43 if (state == android.R.attr.state_pressed || state == android.R.attr.state_focused) {
/frameworks/rs/driver/
H A DrsdProgramStore.cpp49 switch (ps->mHal.state.depthFunc) {
80 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) &&
81 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) {
85 switch (ps->mHal.state.blendSrc) {
118 switch (ps->mHal.state.blendDst) {
159 RSD_CALL_GL(glColorMask, ps->mHal.state.colorRWriteEnable,
160 ps->mHal.state.colorGWriteEnable,
161 ps->mHal.state.colorBWriteEnable,
162 ps->mHal.state.colorAWriteEnable);
172 RSD_CALL_GL(glDepthMask, ps->mHal.state
[all...]
/frameworks/rs/
H A DrsSampler.cpp37 mHal.state.magFilter = magFilter;
38 mHal.state.minFilter = minFilter;
39 mHal.state.wrapS = wrapS;
40 mHal.state.wrapT = wrapT;
41 mHal.state.wrapR = wrapR;
42 mHal.state.aniso = aniso;
89 if (existing->mHal.state.magFilter != magFilter) continue;
90 if (existing->mHal.state.minFilter != minFilter ) continue;
91 if (existing->mHal.state.wrapS != wrapS) continue;
92 if (existing->mHal.state
[all...]
/frameworks/base/core/java/android/util/
H A DStateSet.java23 * represents the state of a {@link android.view.View} (e.g. focused,
27 * A state spec is an array of signed ints where each element
29 * {@link android.view.View} state.
31 * Utils dealing with state sets.
33 * In theory we could encapsulate the state set and state spec arrays
47 * @param stateSetOrSpec a state set or state spec.
82 final int state = stateSet[j];
83 if (state
120 stateSetMatches(int[] stateSpec, int state) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DParcelableConference.java39 int state,
43 mState = state;
51 int state,
55 this(phoneAccount, state, connectionCapabilities, connectionIds);
64 .append(", state: ")
101 int state = source.readInt();
107 return new ParcelableConference(phoneAccount, state, capabilities, connectionIds,
37 ParcelableConference( PhoneAccountHandle phoneAccount, int state, int connectionCapabilities, List<String> connectionIds) argument
49 ParcelableConference( PhoneAccountHandle phoneAccount, int state, int connectionCapabilities, List<String> connectionIds, long connectTimeMillis) argument
H A DAudioState.java26 * Encapsulates the telecom audio state, including the current audio routing, supported audio
72 public AudioState(AudioState state) { argument
73 isMuted = state.isMuted();
74 route = state.getRoute();
75 supportedRouteMask = state.getSupportedRouteMask();
86 AudioState state = (AudioState) obj;
87 return isMuted() == state.isMuted() && getRoute() == state.getRoute() &&
88 getSupportedRouteMask() == state.getSupportedRouteMask();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccCardStatus.java66 public void setCardState(int state) { argument
67 switch(state) {
78 throw new RuntimeException("Unrecognized RIL_CardState: " + state);
82 public void setUniversalPinState(int state) { argument
83 switch(state) {
103 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
/frameworks/base/core/java/android/os/
H A DConditionVariable.java37 * Create the ConditionVariable in the default closed state.
45 * Create the ConditionVariable with the given state.
50 public ConditionVariable(boolean state) argument
52 mCondition = state;
74 * Reset the condition to the closed state.
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodClient.aidl23 * itself and receive information about changes to the global manager state.
26 void setUsingInputMethod(boolean state);
/frameworks/base/libs/hwui/
H A DSnapshot.cpp231 RoundRectClipState* state = new (allocator) RoundRectClipState; local
233 state->highPriority = highPriority;
239 state->matrix.loadInverse(roundRectDrawingMatrix);
243 state->dangerRects[i] = bounds;
245 state->dangerRects[0].bottom = state->dangerRects[1].bottom = bounds.top + radius;
246 state->dangerRects[0].right = state->dangerRects[2].right = bounds.left + radius;
247 state->dangerRects[1].left = state
[all...]
/frameworks/base/media/java/android/media/tv/
H A DITvInputManagerCallback.aidl24 void onInputStateChanged(in String inputId, int state);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DAirplaneModeTile.java70 protected void handleUpdateState(BooleanState state, Object arg) { argument
73 state.value = airplaneMode;
74 state.visible = true;
75 state.label = mContext.getString(R.string.quick_settings_airplane_mode_label);
77 state.icon = mEnable;
78 state.contentDescription = mContext.getString(
81 state.icon = mDisable;
82 state.contentDescription = mContext.getString(
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DBarController.java34 * Controls state/behavior specific to a system bar window.
139 final int state = computeStateLw(wasVis, wasAnim, mWin, change);
140 final boolean stateChanged = updateStateLw(state);
163 private boolean updateStateLw(final int state) { argument
164 if (state != mState) {
165 mState = state;
166 if (DEBUG) Slog.d(mTag, "mState: " + StatusBarManager.windowStateToString(state));
173 statusbar.setWindowState(mStatusBarManagerId, state);
176 if (DEBUG) Slog.w(mTag, "Error posting window state", e);
247 private void setTransientBarState(int state) { argument
267 transientBarStateToString(int state) argument
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DPersistentDataStore.java50 * Manages persistent state recorded by the input manager service as an XML file.
55 * &lt;input-mananger-state>
59 * &gt;/input-manager-state>
65 // Input device state by descriptor.
77 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml"));
88 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, false);
89 if (state == null) {
93 TouchCalibration cal = state.getTouchCalibration(surfaceRotation);
101 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, true);
103 if (state
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_lights_LightsService.cpp110 light_state_t state; local
116 memset(&state, 0, sizeof(light_state_t));
117 state.color = colorARGB;
118 state.flashMode = flashMode;
119 state.flashOnMS = onMS;
120 state.flashOffMS = offMS;
121 state.brightnessMode = brightnessMode;
125 devices->lights[light]->set_light(devices->lights[light], &state);
/frameworks/support/v4/eclair/android/support/v4/view/
H A DKeyEventCompatEclair.java28 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, argument
30 return event.dispatch(receiver, (KeyEvent.DispatcherState)state, target);

Completed in 545 milliseconds

1234567891011>>