/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
egl_dispatch.cpp | 22 egl_dispatch *disp = new egl_dispatch; local 25 ptr = dlsym(gles_android,"eglGetError"); disp->set_eglGetError((eglGetError_t)ptr); 26 ptr = dlsym(gles_android,"eglGetDisplay"); disp->set_eglGetDisplay((eglGetDisplay_t)ptr); 27 ptr = dlsym(gles_android,"eglInitialize"); disp->set_eglInitialize((eglInitialize_t)ptr); 28 ptr = dlsym(gles_android,"eglTerminate"); disp->set_eglTerminate((eglTerminate_t)ptr); 29 ptr = dlsym(gles_android,"eglQueryString"); disp->set_eglQueryString((eglQueryString_t)ptr); 30 ptr = dlsym(gles_android,"eglGetConfigs"); disp->set_eglGetConfigs((eglGetConfigs_t)ptr); 31 ptr = dlsym(gles_android,"eglChooseConfig"); disp->set_eglChooseConfig((eglChooseConfig_t)ptr); 32 ptr = dlsym(gles_android,"eglGetConfigAttrib"); disp->set_eglGetConfigAttrib((eglGetConfigAttrib_t)ptr); 33 ptr = dlsym(gles_android,"eglCreateWindowSurface"); disp->set_eglCreateWindowSurface((eglCreateWindowSurface_t)ptr) [all...] |
gles_dispatch.cpp | 22 gles_dispatch *disp = new gles_dispatch; local 25 ptr = dlsym(gles_android,"glAlphaFunc"); disp->set_glAlphaFunc((glAlphaFunc_t)ptr); 26 ptr = dlsym(gles_android,"glClearColor"); disp->set_glClearColor((glClearColor_t)ptr); 27 ptr = dlsym(gles_android,"glClearDepthf"); disp->set_glClearDepthf((glClearDepthf_t)ptr); 28 ptr = dlsym(gles_android,"glClipPlanef"); disp->set_glClipPlanef((glClipPlanef_t)ptr); 29 ptr = dlsym(gles_android,"glColor4f"); disp->set_glColor4f((glColor4f_t)ptr); 30 ptr = dlsym(gles_android,"glDepthRangef"); disp->set_glDepthRangef((glDepthRangef_t)ptr); 31 ptr = dlsym(gles_android,"glFogf"); disp->set_glFogf((glFogf_t)ptr); 32 ptr = dlsym(gles_android,"glFogfv"); disp->set_glFogfv((glFogfv_t)ptr); 33 ptr = dlsym(gles_android,"glFrustumf"); disp->set_glFrustumf((glFrustumf_t)ptr) [all...] |
/sdk/emulator/opengl/tests/EGL_host_wrapper/ |
egl_dispatch.cpp | 28 egl_dispatch *disp = new egl_dispatch; local 31 ptr = dlsym(libEGL,"eglGetError"); disp->set_eglGetError((eglGetError_t)ptr); 32 ptr = dlsym(libEGL,"eglGetDisplay"); disp->set_eglGetDisplay((eglGetDisplay_t)ptr); 33 ptr = dlsym(libEGL,"eglInitialize"); disp->set_eglInitialize((eglInitialize_t)ptr); 34 ptr = dlsym(libEGL,"eglTerminate"); disp->set_eglTerminate((eglTerminate_t)ptr); 35 ptr = dlsym(libEGL,"eglQueryString"); disp->set_eglQueryString((eglQueryString_t)ptr); 36 ptr = dlsym(libEGL,"eglGetConfigs"); disp->set_eglGetConfigs((eglGetConfigs_t)ptr); 37 ptr = dlsym(libEGL,"eglChooseConfig"); disp->set_eglChooseConfig((eglChooseConfig_t)ptr); 38 ptr = dlsym(libEGL,"eglGetConfigAttrib"); disp->set_eglGetConfigAttrib((eglGetConfigAttrib_t)ptr); 39 ptr = dlsym(libEGL,"eglCreateWindowSurface"); disp->set_eglCreateWindowSurface((eglCreateWindowSurface_t)ptr) [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposer.cpp | 174 DisplayData& disp(mDisplayData[HWC_DISPLAY_PRIMARY]); 175 disp.connected = true; 176 disp.width = mFbDev->width; 177 disp.height = mFbDev->height; 178 disp.format = mFbDev->format; 179 disp.xdpi = mFbDev->xdpi; 180 disp.ydpi = mFbDev->ydpi; 181 if (disp.refresh == 0) { 182 disp.refresh = nsecs_t(1e9 / mFbDev->fps); 183 ALOGW("getting VSYNC period from fb HAL: %lld", disp.refresh) [all...] |
HWComposer.h | 59 virtual void onVSyncReceived(int disp, nsecs_t timestamp) = 0; 60 virtual void onHotplugReceived(int disp, bool connected) = 0; 96 status_t release(int disp); 99 status_t acquire(int disp); 102 void disconnectDisplay(int disp); 242 void eventControl(int disp, int event, int enabled); 246 nsecs_t getRefreshPeriod(int disp) const; 247 nsecs_t getRefreshTimestamp(int disp) const; 248 sp<Fence> getDisplayFence(int disp) const; 249 uint32_t getWidth(int disp) const [all...] |
FramebufferSurface.cpp | 53 FramebufferSurface::FramebufferSurface(HWComposer& hwc, int disp) : 55 mDisplayType(disp), 65 mBufferQueue->setDefaultBufferFormat(mHwc.getFormat(disp)); 66 mBufferQueue->setDefaultBufferSize(mHwc.getWidth(disp), mHwc.getHeight(disp));
|
FramebufferSurface.h | 40 FramebufferSurface(HWComposer& hwc, int disp);
|
/external/qemu/android/skin/ |
window.c | 99 display_done( ADisplay* disp ) 101 disp->data = NULL; 102 disp->qfbuff = NULL; 103 skin_image_unref( &disp->onion ); 107 display_init( ADisplay* disp, SkinDisplay* sdisp, SkinLocation* loc, SkinRect* frame ) 109 skin_rect_rotate( &disp->rect, &sdisp->rect, loc->rotation ); 110 disp->rect.pos.x += loc->anchor.x; 111 disp->rect.pos.y += loc->anchor.y; 113 disp->rotation = (loc->rotation + sdisp->rotation) & 3; 114 switch (disp->rotation) 919 ADisplay* disp = layout->displays + n_displays; local 1019 ADisplay* disp = finger->display; local 1169 ADisplay* disp = window->layout.displays; local 1431 ADisplay* disp; local 1481 ADisplay* disp = window->layout.displays; local 1524 ADisplay* disp; local 1601 ADisplay* disp = layout->displays; local 1649 ADisplay* disp = window->layout.displays; local 1775 ADisplay* disp = skin_window_display(window); local [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_dispatch.py | 240 disp = dispatch.Dispatcher(_TEST_HANDLERS_DIR, None) 241 self.assertEqual(4, len(disp._handler_suite_map)) 242 self.failUnless('/origin_check' in disp._handler_suite_map) 244 '/sub/exception_in_transfer' in disp._handler_suite_map) 245 self.failUnless('/sub/plain' in disp._handler_suite_map) 248 disp = dispatch.Dispatcher(_TEST_HANDLERS_DIR, _TEST_HANDLERS_SUB_DIR) 249 self.assertEqual(2, len(disp._handler_suite_map)) 250 self.failIf('/origin_check' in disp._handler_suite_map) 252 '/sub/exception_in_transfer' in disp._handler_suite_map) 253 self.failUnless('/sub/plain' in disp._handler_suite_map [all...] |
/frameworks/native/opengl/libs/EGL/ |
egl_display.cpp | 83 EGLDisplay egl_display_t::getFromNativeDisplay(EGLNativeDisplayType disp) { 84 if (uintptr_t(disp) >= NUM_DISPLAYS) 87 return sDisplay[uintptr_t(disp)].getDisplay(disp); 98 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) { 100 disp.dpy = dpy; 153 disp[i].dpy = cnx->egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); 157 EGLDisplay idpy = disp.dpy; 163 disp.state = egl_display_t::INITIALIZED; 166 disp.queryString.vendor = cnx->egl.eglQueryString(idpy [all...] |
eglApi.cpp | 261 dp->disp.dpy, configs, config_size, num_config); 327 dp->disp.dpy, aaAttribs, configs, config_size, &numConfigAA); 339 dp->disp.dpy, attrib_list, configs, config_size, num_config); 354 dp->disp.dpy, config, attribute, value); 370 EGLDisplay iDpy = dp->disp.dpy; 423 dp->disp.dpy, config, pixmap, attrib_list); 442 dp->disp.dpy, config, attrib_list); 464 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface); 485 dp->disp.dpy, s->surface, attribute, value); 526 dp->disp.dpy, config, share_list, attrib_list) [all...] |
egl_object.cpp | 32 egl_object_t::egl_object_t(egl_display_t* disp) : 33 display(disp), count(1) {
|
/sdk/emulator/opengl/tests/ut_renderer/ |
X11Windowing.cpp | 38 get_window_pos( Display *disp, Window win, int *px, int *py ) 42 XTranslateCoordinates( disp, win, DefaultRootWindow(disp), 0, 0, px, py, &child ); 47 set_window_pos(Display *disp, Window win, int x, int y) 67 XMoveWindow(disp, win, x + xAdjust, y + yAdjust); 68 XSync(disp, True); 69 get_window_pos(disp, win, &xNew, &yNew); 75 XMoveWindow(disp, win, x + xAdjust, y + yAdjust ); 77 XSync(disp, False);
|
/hardware/libhardware/include/hardware/ |
hwcomposer.h | 363 * the "disp" parameter indicates which display the vsync event is for. 378 void (*vsync)(const struct hwc_procs* procs, int disp, int64_t timestamp); 385 * The disp parameter indicates which display type this event is for. 400 void (*hotplug)(const struct hwc_procs* procs, int disp, int connected); 508 int (*eventControl)(struct hwc_composer_device_1* dev, int disp, 522 int (*blank)(struct hwc_composer_device_1* dev, int disp, int blank); 564 * Returns 0 on success or -errno on error. If disp is a hotpluggable 570 int (*getDisplayConfigs)(struct hwc_composer_device_1* dev, int disp, 587 * If disp is a hotpluggable display type and no display is connected, 591 int (*getDisplayAttributes)(struct hwc_composer_device_1* dev, int disp, [all...] |
/dalvik/vm/compiler/codegen/x86/libenc/ |
enc_wrapper.h | 181 int disp, int base_reg, bool isBasePhysical, char* stream); 188 int disp, int base_reg, bool isBasePhysical, 198 int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale, 201 int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale, 205 int base_reg, bool isBasePhysical, int disp, int index_reg, bool isIndexPhysical, int scale, 209 int disp, int base_reg, bool isBasePhysical, LowOpndRegType type, char* stream); 215 int disp, int base_reg, bool isBasePhysical, char* stream); 217 int disp, int base_reg, bool isBasePhysical, char* stream); 219 int disp, int base_reg, bool isBasePhysical, 224 int disp, int base_reg, bool isBasePhysical [all...] |
enc_wrapper.cpp | 52 inline void add_m(EncoderBase::Operands & args, int baseReg, int disp, OpndSize sz, OpndExt ext = OpndExt_None) { 56 disp, ext)); 65 inline void add_m_disp_scale(EncoderBase::Operands & args, int baseReg, int disp, int indexReg, int scale, 70 disp, ext)); 96 "%d(%s,%s,%d)", opnd.disp(), 101 opnd.disp(), getRegNameString(opnd.base())); 196 int disp, int base_reg, bool isBasePhysical, char * stream) { 198 add_m(args, base_reg, disp, size); 243 int disp, int base_reg, bool isBasePhysical, 247 add_m(args, base_reg, disp, size) [all...] |
/dalvik/vm/compiler/codegen/x86/ |
Lower.h | 609 //LR[reg] = disp + PR[base_reg] or disp + LR[base_reg] 610 void load_effective_addr(int disp, int base_reg, bool isBasePhysical, 615 void load_fpu_cw(int disp, int base_reg, bool isBasePhysical); 616 void store_fpu_cw(bool checkException, int disp, int base_reg, bool isBasePhysical); 618 void load_fp_stack(LowOp* op, OpndSize size, int disp, int base_reg, bool isBasePhysical); 619 void load_int_fp_stack(OpndSize size, int disp, int base_reg, bool isBasePhysical); 621 void store_fp_stack(LowOp* op, bool pop, OpndSize size, int disp, int base_reg, bool isBasePhysical); 622 void store_int_fp_stack(LowOp* op, bool pop, OpndSize size, int disp, int base_reg, bool isBasePhysical); 632 int disp, int base_reg, bool isBasePhysical) [all...] |
LowerHelper.cpp | 123 void set_mem_opnd(LowOpndMem* mem, int disp, int base, bool isPhysical) { 124 mem->m_disp.value = disp; 138 void set_mem_opnd_scale(LowOpndMem* mem, int base, bool isPhysical, int disp, int index, bool indexPhysical, int scale) { 153 mem->m_disp.value = disp; 274 int disp, int base_reg) { 275 stream = encoder_mem(m, size, disp, base_reg, true, stream); 280 int disp, int base_reg, bool isBasePhysical) { 285 return lower_mem(m, m2, size, disp, regAll); 287 stream = encoder_mem(m, size, disp, base_reg, isBasePhysical, stream); 421 int disp, int base_reg [all...] |
/external/v8/src/ia32/ |
assembler-ia32-inl.h | 398 void Assembler::disp_at_put(Label* L, Displacement disp) { 399 long_at_put(L->pos(), disp.data()); 404 Displacement disp(L, type); 406 emit(static_cast<int>(disp.data())); 411 byte disp = 0x00; local 415 disp = static_cast<byte>(offset & 0xFF); 418 *pc_++ = disp; 439 void Operand::set_disp8(int8_t disp) { 441 *reinterpret_cast<int8_t*>(&buf_[len_++]) = disp; 445 void Operand::set_dispr(int32_t disp, RelocInfo::Mode rmode) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/ |
xf86vmode.h | 164 #define SDL_XF86VidModeSelectNextMode(disp, scr) \ 165 SDL_NAME(XF86VidModeSwitchMode)(disp, scr, 1) 166 #define SDL_XF86VidModeSelectPrevMode(disp, scr) \ 167 SDL_NAME(XF86VidModeSwitchMode)(disp, scr, -1)
|
/external/elfutils/libcpu/ |
i386_data.h | 170 int16_t disp = 0; local 175 disp = read_2sbyte_unaligned (&data[1]); 178 disp = *(const int8_t *) &data[1]; 185 n = snprintf (tmpbuf, sizeof (tmpbuf), "0x%" PRIx16, disp); 191 disp < 0 ? "-" : "", disp < 0 ? -disp : disp); 212 int32_t disp = 0; local 217 disp = read_4sbyte_unaligned (&data[1]) 285 int32_t disp = 0; local [all...] |
/hardware/qcom/display/libhwcomposer/ |
hwc.cpp | 489 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, 495 switch(disp) { 517 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, 522 if(disp == HWC_DISPLAY_EXTERNAL && !ctx->dpyAttr[disp].connected) { 542 values[i] = ctx->dpyAttr[disp].vsync_period; 545 values[i] = ctx->dpyAttr[disp].xres; 546 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, 547 ctx->dpyAttr[disp].xres) [all...] |
/external/elfutils/src/ |
arlib.c | 158 off_t disp = 0; local 160 disp = symtab.symsofflen + symtab.symsnamelen; 162 disp += symtab.longnameslen; 164 if (disp != 0 && symtab.symsoff != NULL) 171 val += disp;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageFlip.java | 148 RectF disp = getLocalDisplayBounds(); local 149 float scaled = Math.min(disp.width(), disp.height()) * MIN_FLICK_DIST_FOR_FLIP
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnEN.java | 828 SpannableStringBuilder disp = mDisplayText; local 829 disp.clear(); 830 disp.insert(0, mComposingText.toString(layer)); 834 if (disp.length() != 0) { 835 if (cursor > 0 && cursor < disp.length()) { 836 disp.setSpan(SPAN_EXACT_BGCOLOR_HL, 0, cursor, 839 if (cursor < disp.length()) { 840 mDisplayText.setSpan(SPAN_REMAIN_BGCOLOR_HL, cursor, disp.length(), 842 mDisplayText.setSpan(SPAN_TEXTCOLOR, 0, disp.length(), 846 disp.setSpan(SPAN_UNDERLINE, 0, disp.length() [all...] |