/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 1075 // 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 D | ISurfaceComposer.cpp | 74 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 D | LayerState.cpp | 79 return state.write(output); 84 return state.read(input);
|
H A D | SurfaceComposerClient.cpp | 101 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 D | InputTransport.cpp | 58 // 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 D | VelocityTracker.cpp | 230 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 D | Android.mk | 11 state.cpp \
|
H A D | array.cpp | 22 #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 D | egl.cpp | 45 #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 D | matrix.cpp | 23 #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 D | primitives.cpp | 214 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 D | state.cpp | 1 /* 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 D | texture.cpp | 22 #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 D | vertex.cpp | 23 #include "state.h" 137 perspective(c, v, c->rasterizer.state.enables);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.cpp | 157 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 D | egl_display.h | 114 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 D | InputDispatcher.cpp | 259 // 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 D | InputReader.cpp | 535 // 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 D | InputReader.h | 170 // 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 D | InputReader_test.cpp | 395 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 D | Barrier.h | 29 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 D | SurfaceFlinger.cpp | 473 // 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 D | SurfaceFlinger.h | 205 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 D | SurfaceFlinger_hwc1.cpp | 524 // 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 D | ICalendar.java | 431 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...] |