/hardware/qcom/display/msm8960/liblight/ |
lights.c | 116 is_lit(struct light_state_t const* state) 118 return state->color & 0x00ffffff; 122 rgb_to_brightness(struct light_state_t const* state) 124 int color = state->color & 0x00ffffff; 131 struct light_state_t const* state) 134 int brightness = rgb_to_brightness(state); 143 struct light_state_t const* state) 151 switch (state->flashMode) { 153 onMS = state->flashOnMS; 154 offMS = state->flashOffMS [all...] |
/hardware/qcom/display/msm8974/liblight/ |
lights.c | 116 is_lit(struct light_state_t const* state) 118 return state->color & 0x00ffffff; 122 rgb_to_brightness(struct light_state_t const* state) 124 int color = state->color & 0x00ffffff; 131 struct light_state_t const* state) 134 int brightness = rgb_to_brightness(state); 143 struct light_state_t const* state) 151 switch (state->flashMode) { 153 onMS = state->flashOnMS; 154 offMS = state->flashOffMS [all...] |
/hardware/qcom/display/msm8x26/liblight/ |
lights.c | 116 is_lit(struct light_state_t const* state) 118 return state->color & 0x00ffffff; 122 rgb_to_brightness(struct light_state_t const* state) 124 int color = state->color & 0x00ffffff; 131 struct light_state_t const* state) 134 int brightness = rgb_to_brightness(state); 143 struct light_state_t const* state) 151 switch (state->flashMode) { 153 onMS = state->flashOnMS; 154 offMS = state->flashOffMS [all...] |
/system/core/libpixelflinger/ |
raster.cpp | 44 c->state.raster.x = x; 45 c->state.raster.y = y; 59 surface_t* cb = &(c->state.buffers.color); 72 GGLint xd = gglFixedToIntRound(c->state.raster.x); 73 GGLint yd = gglFixedToIntRound(c->state.raster.y); 76 if (xd < GGLint(c->state.scissor.left)) { 77 GGLint offset = GGLint(c->state.scissor.left) - xd; 78 xd = GGLint(c->state.scissor.left); 82 if (yd < GGLint(c->state.scissor.top)) { 83 GGLint offset = GGLint(c->state.scissor.top) - yd [all...] |
/device/asus/tilapia/recovery/ |
recovery_updater.c | 39 Value* DownloadModemFn(const char* name, State* state, int argc, Expr* argv[]) { 45 return ErrorAbort(state, "%s() expects 1 arg, got %d", name, argc); 47 if (ReadArgs(state, argv, 1, &modemImg) != 0) {
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/ |
TreeRewriteLexer.m | 79 if ((self = [super initWithCharStream:anInput State:[ANTLRRecognizerSharedState newANTLRRecognizerSharedStateWithRuleLen:3+1]]) != nil) { 140 [state setType:_type]; 142 state.channel = _channel; 165 state.channel=99; /* element() */ 171 [state setType:_type]; 173 state.channel = _channel; 195 ANTLRNoViableAltException *nvae = [ANTLRNoViableAltException newANTLRNoViableAltException:2 state:0 stream:input];
|
/external/chromium/chrome/browser/automation/ |
ui_controls.h | 72 // Used to indicate the state of the button when generating events. 81 bool SendMouseEvents(MouseButton type, int state); 82 bool SendMouseEventsNotifyWhenDone(MouseButton type, int state, Task* task); 97 int state,
|
/external/chromium/chrome/browser/chromeos/ |
browser_main_chromeos.cc | 27 event->button.state & GDK_MOD1_MASK) { 30 // Remove the Alt key and first button state. 31 event->button.state &= ~(GDK_MOD1_MASK | GDK_BUTTON1_MASK); 32 // Add the third (right) button state. 33 event->button.state |= GDK_BUTTON3_MASK;
|
network_state_notifier.h | 21 enum State { 28 State state() const { function in class:chromeos::NetworkStateDetails 35 explicit NetworkStateDetails(State state) 36 : state_(state) { 39 State state_; 44 // NetworkStateNotifier sends notification when network state has 50 // Returns the singleton instance of the network state notifier; 68 // Retrieve the current state from libcros [all...] |
/external/chromium/chrome/browser/ui/views/infobars/ |
infobar_container_view.cc | 42 void InfoBarContainerView::GetAccessibleState(ui::AccessibleViewState* state) { 43 state->role = ui::AccessibilityTypes::ROLE_GROUPING; 44 state->name = l10n_util::GetStringUTF16(IDS_ACCNAME_INFOBAR_CONTAINER);
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
image_button_cell.h | 36 // state. Images are specified by image IDs. 49 // Gets the image for the given button state. Will load from a resource pak if 51 - (NSImage*)imageForState:(image_button_cell::ButtonState)state 54 // Sets the image for the given button state using an image ID. 58 forButtonState:(image_button_cell::ButtonState)state; 60 // Sets the image for the given button state using an image. 62 forButtonState:(image_button_cell::ButtonState)state; 64 // Gets the alpha to use to draw the button for the current window focus state.
|
/external/chromium_org/chrome/service/ |
service_main.cc | 44 scoped_ptr<ServiceProcessState> state(new ServiceProcessState); 45 if (!state->Initialize()) 51 state.release())) {
|
/external/chromium_org/content/common/gpu/media/ |
video_accelerator_unittest_helpers.h | 28 void Notify(StateEnum state); 45 void ClientStateNotification<StateEnum>::Notify(StateEnum state) { 47 pending_states_for_notification_.push(state);
|
/external/chromium_org/content/renderer/media/ |
mock_web_rtc_peer_connection_handler_client.h | 29 MOCK_METHOD1(didChangeSignalingState, void(SignalingState state)); 30 MOCK_METHOD1(didChangeICEGatheringState, void(ICEGatheringState state)); 31 MOCK_METHOD1(didChangeICEConnectionState, void(ICEConnectionState state));
|
/external/chromium_org/net/http/ |
transport_security_persister.h | 10 // At startup we need to load the transport security state from the 16 // To load the state, we schedule a Task on file_task_runner, which 30 // copies the current state of the TransportSecurityState, serializes 51 // Reads and updates on-disk TransportSecurity state. Clients of this class 60 TransportSecurityPersister(TransportSecurityState* state, 66 // Called by the TransportSecurityState when it changes its state. 96 // The reason for hashing them is so that the stored state does not 98 // serialized state on disk. 104 // Sets |*dirty| to true if the new state differs from the persisted 105 // state; false otherwise [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
DOMRequestState.h | 55 explicit Scope(DOMRequestState& state) 56 : m_handleScope(state.isolate()) 57 , m_contextScope(state.context())
|
ScriptPromiseResolverTest.cpp | 72 V8PromiseCustom::PromiseState state() function in class:WebCore::__anon10598::ScriptPromiseResolverTest 101 EXPECT_EQ(V8PromiseCustom::Pending, state()); 108 EXPECT_EQ(V8PromiseCustom::Pending, state()); 114 EXPECT_EQ(V8PromiseCustom::Fulfilled, state()); 122 EXPECT_EQ(V8PromiseCustom::Pending, state()); 128 EXPECT_EQ(V8PromiseCustom::Rejected, state()); 136 EXPECT_EQ(V8PromiseCustom::Pending, state()); 142 EXPECT_EQ(V8PromiseCustom::Fulfilled, state()); 148 EXPECT_EQ(V8PromiseCustom::Fulfilled, state()); 156 EXPECT_EQ(V8PromiseCustom::Pending, state()); [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
Bra.h | 21 state - state variable for x86 converter 25 state - state variable for x86 converter 56 #define x86_Convert_Init(state) { state = 0; } 57 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding);
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
single2.c | 151 * Get the selected attribute from the client state. 160 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); local 161 const GLint tex_unit = __glXGetActiveTextureUnit(state); 172 retval = __glXGetArrayEnable(state, cap, 0, data); 176 retval = __glXGetArraySize(state, GL_VERTEX_ARRAY, 0, data); 179 retval = __glXGetArraySize(state, GL_COLOR_ARRAY, 0, data); 182 retval = __glXGetArraySize(state, GL_SECONDARY_COLOR_ARRAY, 0, data); 186 retval = __glXGetArrayType(state, GL_VERTEX_ARRAY, 0, data); 189 retval = __glXGetArrayType(state, GL_NORMAL_ARRAY, 0, data); 192 retval = __glXGetArrayType(state, GL_INDEX_ARRAY, 0, data) 798 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); local 839 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_msaa.c | 36 /* Second state atom for user clip planes: 42 struct pipe_framebuffer_state *framebuffer = &st->state.framebuffer; 69 if (sample_mask != st->state.sample_mask) { 70 st->state.sample_mask = sample_mask;
|
st_atom_stipple.c | 29 * \brief polygon stipple state 68 const GLuint sz = sizeof(st->state.poly_stipple); 71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) { 72 /* state has changed */ 75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz);
|
/external/chromium_org/tools/imagediff/ |
image_diff_png.cc | 153 PngDecoderState* state = static_cast<PngDecoderState*>( local 171 state->width = static_cast<int>(w); 172 state->height = static_cast<int>(h); 214 switch (state->output_format) { 216 state->row_converter = NULL; // no conversion necessary 217 state->output_channels = 3; 220 state->row_converter = &ConvertRGBtoRGBA; 221 state->output_channels = 4; 224 state->row_converter = &ConvertRGBtoBGRA; 225 state->output_channels = 4 260 PngDecoderState* state = static_cast<PngDecoderState*>( local 280 PngDecoderState* state = static_cast<PngDecoderState*>( local 380 PngEncoderState* state = static_cast<PngEncoderState*>(png_get_io_ptr(png)); local [all...] |
/external/chromium_org/ui/views/controls/button/ |
button.cc | 40 void Button::GetAccessibleState(ui::AccessibleViewState* state) { 41 state->role = ui::AccessibilityTypes::ROLE_PUSHBUTTON; 42 state->name = accessible_name_;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ChrootChecker.cpp | 28 // enum value that represent the jail state 35 // The state transition: 88 ProgramStateRef state = C.getState(); local 89 ProgramStateManager &Mgr = state->getStateManager(); 93 state = Mgr.addGDM(state, ChrootChecker::getTag(), (void*) ROOT_CHANGED); 94 C.addTransition(state); 98 ProgramStateRef state = C.getState(); local 99 ProgramStateManager &Mgr = state->getStateManager(); 101 // If there are no jail state in the GDM, just return [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_test_utils.h | 71 static inline uint32_t my_rand_r(uint32_t* state) { 72 return (*state = *state * 1103515245 + 12345) >> 16;
|