Searched refs:state (Results 126 - 150 of 1016) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/method/
H A DBaseKeyListener.java113 // Initial state
145 // The state machine has been stopped.
151 int state = STATE_START;
158 switch (state) {
162 state = STATE_LF;
164 state = STATE_BEFORE_VS;
166 state = STATE_ODD_NUMBERED_RIS;
168 state = STATE_BEFORE_EMOJI_MODIFIER;
170 state = STATE_BEFORE_KEYCAP;
172 state
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DLocationTile.java99 protected void handleUpdateState(BooleanState state, Object arg) { argument
104 // state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing());
105 state.value = locationEnabled;
106 checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_SHARE_LOCATION);
108 state.icon = mEnable;
109 state.label = mContext.getString(R.string.quick_settings_location_label);
110 state.contentDescription = mContext.getString(
113 state.icon = mDisable;
114 state.label = mContext.getString(R.string.quick_settings_location_label);
115 state
[all...]
H A DWifiTile.java129 protected void handleUpdateState(SignalState state, Object arg) { argument
138 boolean enabledChanging = state.value != cb.enabled;
143 state.value = cb.enabled;
144 state.connected = wifiConnected;
145 state.activityIn = cb.enabled && cb.activityIn;
146 state.activityOut = cb.enabled && cb.activityOut;
147 state.filter = true;
151 if (!state.value) {
152 state.icon = ResourceIcon.get(R.drawable.ic_qs_wifi_disabled);
153 state
287 setToggleState(boolean state) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsExternalCallTracker.java43 * external call state updates from the IMS framework.
109 // Check to see if any call Ids are no longer present in the external call state. If they
127 // TelephonyConnection instancse to refresh their state with Telecom.
164 * @param state External call state from a dialog event package.
166 private void createExternalConnection(ImsExternalCallState state) { argument
170 state.getCallId(), /* Dialog event package call id */
171 state.getAddress().getSchemeSpecificPart() /* phone number */,
172 state.isCallPullable());
173 connection.setVideoState(ImsCallProfile.getVideoStateFromCallType(state
193 updateExistingConnection(ImsExternalConnection connection, ImsExternalCallState state) argument
[all...]
/frameworks/rs/driver/
H A DrsdAllocation.cpp98 ptr += xoff * alloc->mHal.state.elementSizeBytes;
113 if (alloc->mHal.state.hasFaces) {
129 if (alloc->mHal.state.hasFaces) {
135 for (uint32_t lod = 0; lod < alloc->mHal.state.type->getLODCount(); lod++) {
139 if (alloc->mHal.state.hasFaces) {
145 alloc->mHal.state.type->getLODDimX(lod),
146 alloc->mHal.state.type->getLODDimY(lod),
150 alloc->mHal.state.type->getLODDimX(lod),
151 alloc->mHal.state.type->getLODDimY(lod),
157 if (alloc->mHal.state
254 DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java194 final NinePatchState state = mNinePatchState;
208 if (state.mBaseAlpha != 1.0f) {
210 mPaint.setAlpha((int) (restoreAlpha * state.mBaseAlpha + 0.5f));
220 final float scale = mTargetDensity / (float) state.mNinePatch.getDensity();
248 state.mNinePatch.draw(canvas, bounds, mPaint);
409 * Updates the constant state from the values in the typed array.
413 final NinePatchState state = mNinePatchState;
416 state.mChangingConfigurations |= a.getChangingConfigurations();
419 state.mThemeAttrs = a.extractThemeAttrs();
421 state
725 NinePatchDrawable(@onNull NinePatchState state, @Nullable Resources res) argument
[all...]
H A DShapeDrawable.java227 final ShapeState state = mShapeState;
228 final Paint paint = state.mPaint;
231 paint.setAlpha(modulateAlpha(prevAlpha, state.mAlpha));
243 if (state.mShape != null) {
248 onDraw(state.mShape, canvas, paint);
339 final ShapeState state = mShapeState;
340 if (state.mTint != null && state.mTintMode != null) {
341 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state
585 ShapeDrawable(ShapeState state, Resources res) argument
[all...]
H A DClipDrawable.java103 final ClipState state = mState;
104 if (state == null) {
108 if (state.mThemeAttrs != null) {
109 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable);
132 final ClipState state = mState;
133 if (state == null) {
138 state.mChangingConfigurations |= a.getChangingConfigurations();
141 state.mThemeAttrs = a.extractThemeAttrs();
143 state.mOrientation = a.getInt(
144 R.styleable.ClipDrawable_clipOrientation, state
234 ClipDrawable(ClipState state, Resources res) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DDumpUtils.java174 public static void printProcStateTag(PrintWriter pw, int state) { argument
175 state = printArrayEntry(pw, ADJ_SCREEN_TAGS, state, ADJ_SCREEN_MOD*STATE_COUNT);
176 state = printArrayEntry(pw, ADJ_MEM_TAGS, state, STATE_COUNT);
177 printArrayEntry(pw, STATE_TAGS, state, 1);
180 public static void printAdjTag(PrintWriter pw, int state) { argument
181 state = printArrayEntry(pw, ADJ_SCREEN_TAGS, state, ADJ_SCREEN_MOD);
182 printArrayEntry(pw, ADJ_MEM_TAGS, state,
185 printProcStateTagAndValue(PrintWriter pw, int state, long value) argument
192 printAdjTagAndValue(PrintWriter pw, int state, long value) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIObject.c35 SLuint8 state; local
37 // check object state
39 state = thiz->mState;
40 switch (state) {
49 state = SL_RESULT_SUCCESS == result ? SL_OBJECT_STATE_REALIZED :
53 state = SL_OBJECT_STATE_REALIZED;
59 state = SL_OBJECT_STATE_UNREALIZED;
69 // mutex is locked, update state
70 thiz->mState = state;
79 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NUL
89 SLuint8 state; local
178 SLuint8 state; local
233 SLuint8 state; local
293 SLuint8 state = thiz->mState; local
589 SLuint32 state = *--interfaceStateP; local
[all...]
H A DIBufferQueue.c22 /** Determine the state of the audio player or audio recorder associated with a buffer queue.
28 SLuint32 state; local
31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState;
39 state = SL_PLAYSTATE_STOPPED;
42 return state;
70 // set enqueue attribute if state is PLAYING and the first buffer is enqueued
132 SLBufferQueueState state; local
135 state.count = thiz->mState.count;
136 state
[all...]
/frameworks/av/include/soundtrigger/
H A DSoundTriggerCallback.h36 virtual void onServiceStateChange(sound_trigger_service_state_t state) = 0;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothCallback.java30 void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state); argument
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraExceptionHandler.java35 RuntimeException e, String commandHistory, int action, int state) {
50 RuntimeException e, String commandHistory, int action, int state);
99 final int action, final int state) {
103 mCallback.onCameraException(ex, commandHistory, action, state);
49 onCameraException( RuntimeException e, String commandHistory, int action, int state) argument
97 onCameraException( final RuntimeException ex, final String commandHistory, final int action, final int state) argument
/frameworks/rs/
H A DrsMesh.h54 State state; member in struct:android::renderscript::Mesh::Hal
69 mHal.state.vertexBuffers[index] = vb;
74 mHal.state.indexBuffers[index] = idx;
75 mHal.state.primitives[index] = prim;
H A DrsProgramRaster.cpp28 mHal.state.pointSprite = pointSprite;
29 mHal.state.cull = cull;
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { argument
47 if (state->mLast.get() == this && !mDirty) {
50 state->mLast.set(this);
85 if (existing->mHal.state.pointSprite != pointSprite) continue;
86 if (existing->mHal.state.cull != cull) continue;
H A DrsProgramVertex.cpp38 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { argument
39 if ((state->mLast.get() == this) && !mDirty) {
44 if (mHal.state.constants[0] == nullptr) {
50 rsc, mHal.state.constants[0]));
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
62 state->mLast.set(this);
73 if (mHal.state.constants[0] == nullptr) {
79 rsc, mHal.state.constants[0]));
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
91 if (mHal.state
[all...]
/frameworks/support/v4/eclair/android/support/v4/graphics/drawable/
H A DDrawableWrapperEclair.java35 DrawableWrapperEclair(DrawableWrapperState state, Resources resources) { argument
36 super(state, resources);
45 protected Drawable newDrawableFromState(Drawable.ConstantState state, Resources res) { argument
46 return state.newDrawable(res);
/frameworks/base/libs/hwui/
H A DDeferredDisplayList.h68 : op(nullptr), state(nullptr) {}
70 : op(newOp), state(newState) {}
72 : op(other.op), state(other.state) {}
74 const DeferredDisplayState* state; member in class:android::uirenderer::OpStatePair
103 * Adjusts the state of the renderer as necessary, and restores it when complete
125 void tryRecycleState(DeferredDisplayState* state) { argument
126 mAllocator.rewindIfLastAlloc(state);
/frameworks/rs/driver/runtime/
H A Drs_structs.h52 // Allocation adapter state
60 } state; member in struct:Allocation::__anon1654
116 } state; member in struct:ProgramStore::__anon1656
144 } state; member in struct:ProgramRaster::__anon1658
181 } state; member in struct:Sampler::__anon1660
223 } state; member in struct:Element::__anon1662
265 } state; member in struct:Type::__anon1664
300 } state; member in struct:Mesh::__anon1666
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java70 * Helper class that keeps temporary layout state.
71 * It does not keep state after layout is complete but we still keep a reference to re-use
239 SavedState state = new SavedState();
243 state.mAnchorLayoutFromEnd = didLayoutFromEnd;
246 state.mAnchorOffset = mOrientationHelper.getEndAfterPadding() -
248 state.mAnchorPosition = getPosition(refChild);
251 state.mAnchorPosition = getPosition(refChild);
252 state.mAnchorOffset = mOrientationHelper.getDecoratedStart(refChild) -
256 state.invalidateAnchor();
258 return state;
262 onRestoreInstanceState(Parcelable state) argument
415 getExtraLayoutSpace(RecyclerView.State state) argument
424 smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) argument
455 onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) argument
637 onLayoutCompleted(RecyclerView.State state) argument
654 onAnchorReady(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo, int firstLayoutItemDirection) argument
661 layoutForPredictiveAnimations(RecyclerView.Recycler recycler, RecyclerView.State state, int startOffset, int endOffset) argument
716 updateAnchorInfoForLayout(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo) argument
744 updateAnchorFromChildren(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorInfo anchorInfo) argument
786 updateAnchorFromPendingData(RecyclerView.State state, AnchorInfo anchorInfo) argument
871 fixLayoutEndGap(int endOffset, RecyclerView.Recycler recycler, RecyclerView.State state, boolean canOffsetChildren) argument
896 fixLayoutStartGap(int startOffset, RecyclerView.Recycler recycler, RecyclerView.State state, boolean canOffsetChildren) argument
1026 scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1038 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1047 computeHorizontalScrollOffset(RecyclerView.State state) argument
1052 computeVerticalScrollOffset(RecyclerView.State state) argument
1057 computeHorizontalScrollExtent(RecyclerView.State state) argument
1062 computeVerticalScrollExtent(RecyclerView.State state) argument
1067 computeHorizontalScrollRange(RecyclerView.State state) argument
1072 computeVerticalScrollRange(RecyclerView.State state) argument
1076 computeScrollOffset(RecyclerView.State state) argument
1087 computeScrollExtent(RecyclerView.State state) argument
1098 computeScrollRange(RecyclerView.State state) argument
1141 updateLayoutState(int layoutDirection, int requiredSpace, boolean canUseExistingSpace, RecyclerView.State state) argument
1183 scrollBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument
1362 fill(RecyclerView.Recycler recycler, LayoutState layoutState, RecyclerView.State state, boolean stopOnFocusable) argument
1412 layoutChunk(RecyclerView.Recycler recycler, RecyclerView.State state, LayoutState layoutState, LayoutChunkResult result) argument
1608 findReferenceChildClosestToEnd(RecyclerView.Recycler recycler, RecyclerView.State state) argument
1625 findReferenceChildClosestToStart(RecyclerView.Recycler recycler, RecyclerView.State state) argument
1631 findFirstReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state) argument
1635 findLastReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state) argument
1640 findReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state, int start, int end, int itemCount) argument
1776 onFocusSearchFailed(View focused, int focusDirection, RecyclerView.Recycler recycler, RecyclerView.State state) argument
2015 hasMore(RecyclerView.State state) argument
2207 isViewValidAsAnchor(View child, RecyclerView.State state) argument
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp35 * Virtual class implemented by each test to redirect static operation / state transitions to
94 static void on##Type(TestRendererBase& renderer, const Type& op, const BakedOpState& state) { \
95 renderer.on##Type(op, state); \
119 void onRectOp(const RectOp& op, const BakedOpState& state) override {
122 void onBitmapOp(const BitmapOp& op, const BakedOpState& state) override {
148 void onPointsOp(const PointsOp& op, const BakedOpState& state) override {
153 EXPECT_EQ(Rect(45, 45, 55, 55), state.computedState.clippedBounds)
193 void onBitmapOp(const BitmapOp& op, const BakedOpState& state) override {
196 void onRectOp(const RectOp& op, const BakedOpState& state) override {
229 void onRectOp(const RectOp& op, const BakedOpState& state) overrid
558 auto state = opList.states[index++]; local
[all...]
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintUtils.java91 FingerprintsUserState state = mUsers.get(userId);
92 if (state == null) {
93 state = new FingerprintsUserState(ctx, userId);
94 mUsers.put(userId, state);
96 return state;
/frameworks/base/services/core/java/com/android/server/location/
H A DGeofenceState.java25 * Represents state associated with a geofence
43 int mState; // current state
101 String state;
104 state = "IN";
107 state = "OUT";
110 state = "?";
112 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DTwilightCalculator.java37 /** Value of {@link #state} if it is currently day */
40 /** Value of {@link #state} if it is currently night */
74 * Current state
76 public int state; field in class:TwilightCalculator
114 state = NIGHT;
119 state = DAY;
131 state = DAY;
133 state = NIGHT;

Completed in 2435 milliseconds

1234567891011>>