Searched refs:state (Results 276 - 300 of 1016) sorted by last modified time

<<11121314151617181920>>

/frameworks/native/libs/binder/
H A DIPCThreadState.cpp1075 // want to run in that state in this process. The driver set our
1211 IPCThreadState* state = self(); local
1212 state->mOut.writeInt32(BC_FREE_BUFFER);
1213 state->mOut.writePointer((uintptr_t)data);
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp74 const Vector<ComposerState>& state,
81 data.writeUint32(static_cast<uint32_t>(state.size()));
82 for (const auto& s : state) {
342 Vector<ComposerState> state; local
343 state.setCapacity(count);
348 state.add(s);
366 setTransactionState(state, displays, stateFlags);
73 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
H A DLayerState.cpp79 return state.write(output);
84 return state.read(input);
H A DSurfaceComposerClient.cpp101 if (lhs.state.surface < rhs.state.surface) return -1;
102 if (lhs.state.surface > rhs.state.surface) return 1;
264 s.state.surface = id;
273 return &(out[index].state);
/frameworks/native/libs/input/
H A DInputTransport.cpp58 // Maximum time to predict forward from the last known state, to avoid predicting too
592 // Update the touch state history to incorporate the new input message.
664 void InputConsumer::rewriteMessage(const TouchState& state, InputMessage* msg) { argument
667 if (state.lastResample.idBits.hasBit(id)) {
669 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id);
694 ALOGD("Not resampled, no touch state for device.");
H A DVelocityTracker.cpp230 ALOGD("VelocityTracker: stopped for %0.3f ms, clearing state.",
718 State& state = mPointerState[id]; local
721 updateState(state, eventTime, position.x, position.y);
723 initState(state, eventTime, position.x, position.y);
735 const State& state = mPointerState[id]; local
736 populateEstimator(state, outEstimator);
743 void IntegratingVelocityTrackerStrategy::initState(State& state, argument
745 state.updateTime = eventTime;
746 state.degree = 0;
748 state
756 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
798 populateEstimator(const State& state, VelocityTracker::Estimator* outEstimator) const argument
[all...]
/frameworks/native/opengl/libagl/
H A DAndroid.mk11 state.cpp \
H A Darray.cpp22 #include "state.h"
470 // state of v[2] and v[3].
1058 if (c->rasterizer.state.texture[i].enable)
1086 uint32_t enables = c->rasterizer.state.enables;
1188 if (c->rasterizer.state.texture[i].enable) {
1211 enables = c->rasterizer.state.enables;
1374 const uint32_t enables = c->rasterizer.state.enables;
1434 const uint32_t enables = c->rasterizer.state.enables;
H A Degl.cpp45 #include "state.h"
607 if (depth.data != gl->rasterizer.state.buffers.depth.data)
706 if (depth.data != gl->rasterizer.state.buffers.depth.data)
789 if (depth.data != gl->rasterizer.state.buffers.depth.data)
H A Dmatrix.cpp23 #include "state.h"
98 const uint32_t enables = c->rasterizer.state.enables;
676 y = c->rasterizer.state.buffers.color.height - (y + h);
696 GLint H = c->rasterizer.state.buffers.color.height;
H A Dprimitives.cpp214 const uint32_t enables = c->rasterizer.state.enables;
397 if (!(c->rasterizer.state.texture[i].enable))
438 const uint32_t enables = c->rasterizer.state.enables;
462 const uint32_t enables = c->rasterizer.state.enables;
486 if (!c->rasterizer.state.texture[i].enable)
491 if (c->rasterizer.state.texture[i].s_wrap == GGL_CLAMP) {
496 if (c->rasterizer.state.texture[i].t_wrap == GGL_CLAMP) {
548 const uint32_t enables = c->rasterizer.state.enables;
618 const uint32_t enables = c->rasterizer.state.enables;
634 const uint32_t enables = c->rasterizer.state
[all...]
H A Dstate.cpp1 /* libs/opengles/state.cpp
22 #include "state.h"
370 int index = c->rasterizer.state.buffers.color.format;
376 int index = c->rasterizer.state.buffers.color.format;
382 int index = c->rasterizer.state.buffers.color.format;
388 int index = c->rasterizer.state.buffers.color.format;
410 params[0] = c->rasterizer.state.buffers.depth.format ? 0 : 16;
H A Dtexture.cpp22 #include "state.h"
104 if (c->rasterizer.state.texture[i].enable)
126 if (c->rasterizer.state.texture[i].enable) {
154 if (c->rasterizer.state.texture[i].enable) {
584 const uint32_t enables = c->rasterizer.state.enables;
696 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
703 if (!c->rasterizer.state.texture[i].enable)
740 const uint32_t enables = c->rasterizer.state.enables;
775 if (ggl_likely(c->rasterizer.state.enabled_tmu == 1)) {
800 const GGLSurface& cbSurface = c->rasterizer.state
[all...]
H A Dvertex.cpp23 #include "state.h"
137 perspective(c, v, c->rasterizer.state.enables);
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp157 disp.state = egl_display_t::INITIALIZED;
255 if (cnx->dso && disp.state == egl_display_t::INITIALIZED) {
261 disp.state = egl_display_t::TERMINATED;
394 // we don't want to get into a state where we can't wake up.
396 "Invalid hibernation state, unable to awaken\n");
H A Degl_display.h114 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { }
116 EGLint state; member in struct:android::egl_display_t::DisplayImpl
153 // EGLDisplay is entering or leaving a long-term idle state.
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp259 // device is in a non-interactive state. This is to ensure that we abort a key
732 // Not a repeat. Save key down state in case we do see a repeat later.
1028 // Input state will not be realistic. Mark it out of sync.
1142 // For security reasons, we defer updating the touch state until we are sure that
1148 // Update the touch state as needed based on the properties of the touch event.
1153 // Copy current touch state into mTempTouchState.
1154 // This state is always reset at the end of this function, so if we don't find state
1155 // for the specified display then our initial state will be empty.
1273 // Update hover state
2907 TouchState& state = mTouchStatesByDisplay.editValueAt(d); local
3066 TouchState& state = mTouchStatesByDisplay.editValueAt(d); local
3168 const TouchState& state = mTouchStatesByDisplay.valueAt(i); local
[all...]
H A DInputReader.cpp535 // Reset global meta state because it depends on the list of all configured devices.
589 void InputReader::dispatchExternalStylusState(const StylusState& state) { argument
592 device->updateExternalStylusState(state);
906 void InputReader::ContextImpl::dispatchExternalStylusState(const StylusState& state) { argument
907 mReader->dispatchExternalStylusState(state);
1093 void InputDevice::updateExternalStylusState(const StylusState& state) { argument
1097 mapper->updateExternalStylusState(state);
1688 // out of sync with the initial state of the events in the evdev buffer.
1908 void InputMapper::updateExternalStylusState(const StylusState& state) { argument
1933 void InputMapper::dumpStylusState(String8& dump, const StylusState& state) { argument
4293 assignExternalStylusId(const RawState& state, bool timeout) argument
4350 updateExternalStylusState(const StylusState& state) argument
[all...]
H A DInputReader.h170 // Time to allow for all fingers or buttons to settle into a stable state before
333 /* Dumps the state of the input reader.
354 /* Query current input state. */
385 /* The state of the stylus buttons as a bitfield (e.g. AMOTION_EVENT_BUTTON_SECONDARY). */
406 /* Internal interface used by individual input devices to access global input device state
442 * uses a single Mutex to guard its state. The Mutex may be held while calling into the
539 void dispatchExternalStylusState(const StylusState& state);
559 // state queries
581 /* Represents the state of a single input device. */
611 void updateExternalStylusState(const StylusState& state);
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp395 void setKeyCodeState(int32_t deviceId, int32_t keyCode, int32_t state) { argument
397 device->keyCodeStates.replaceValueFor(keyCode, state);
400 void setScanCodeState(int32_t deviceId, int32_t scanCode, int32_t state) { argument
402 device->scanCodeStates.replaceValueFor(scanCode, state);
405 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { argument
407 device->switchStates.replaceValueFor(switchCode, state);
669 << "Attempted to set the state of an LED that the EventHub declared "
743 void setGlobalMetaState(int32_t state) { argument
744 mGlobalMetaState = state;
850 void setKeyCodeState(int32_t keyCode, int32_t state) { argument
854 setScanCodeState(int32_t scanCode, int32_t state) argument
858 setSwitchState(int32_t switchCode, int32_t state) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DBarrier.h29 inline Barrier() : state(CLOSED) { }
37 state = OPENED;
44 state = CLOSED;
52 while (state == CLOSED) {
60 volatile int state; member in class:android::Barrier
H A DSurfaceFlinger.cpp473 // Drop the state lock while we initialize the hardware composer. We drop
494 // initialize our drawing state
911 // Signal a refresh if a transaction modified the window state,
1316 // here we keep a copy of the drawing state (that is the state that's
1384 // (ie: in drawing state but not in current state)
1390 // in drawing state but not in current state
1408 const DisplayDeviceState& state(cur
2111 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
[all...]
H A DSurfaceFlinger.h205 virtual void setTransactionState(const Vector<ComposerState>& state,
259 // Returns whether the transaction actually modified any state
354 // Create an IBinder for a builtin display and add it to current state
H A DSurfaceFlinger_hwc1.cpp524 // initialize our drawing state
915 // Signal a refresh if a transaction modified the window state,
1329 // here we keep a copy of the drawing state (that is the state that's
1397 // (ie: in drawing state but not in current state)
1403 // in drawing state but not in current state
1421 const DisplayDeviceState& state(curr[j]);
1423 const sp<IBinder> state_binder = IInterface::asBinder(state
2127 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) 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...]

Completed in 542 milliseconds

<<11121314151617181920>>