/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
app-win32.c | 104 HDC dc; local 115 dc = GetDC(sWnd); 116 sEglDisplay = eglGetDisplay(dc);
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_desktop_window_tree_host_win.cc | 227 HDC dc = GetDC(GetHWND()); local 233 FillRect(dc, &rect, brush); 235 ReleaseDC(GetHWND(), dc); local
|
/external/chromium_org/chrome/browser/ui/views/panels/ |
taskbar_window_thumbnailer_win.cc | 24 HDC dc = ::GetDC(NULL); local 26 HBITMAP native_bitmap = ::CreateDIBSection(dc, 33 ::ReleaseDC(NULL, dc);
|
/external/chromium_org/third_party/skia/src/core/ |
SkBlitRow_D16.cpp | 76 uint16_t dc = *dst; local 77 SkPMColor res = SkBlendARGB32(sc, SkPixel16ToPixel32(dc), alpha);
|
SkSpriteBlitter_RGB16.cpp | 25 uint16_t dc = *dst; local 30 dr = SkAlphaBlend(SkPacked32ToR16(sc), SkGetPackedR16(dc), src_scale); 31 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); 32 db = SkAlphaBlend(SkPacked32ToB16(sc), SkGetPackedB16(dc), src_scale); 36 SkGetPackedR16(dc) * dst_scale) >> 8; 38 SkGetPackedG16(dc) * dst_scale) >> 8; 40 SkGetPackedB16(dc) * dst_scale) >> 8; 74 uint16_t dc = *dst; \ 75 *dst = SkBlendRGB16(sc, dc, scale); \ 96 uint16_t dc = *dst; [all...] |
/external/libexif/libexif/canon/ |
exif-mnote-data-canon.c | 64 exif_mnote_data_canon_get_tags (ExifMnoteDataCanon *dc, unsigned int n, 69 if (!dc || !m) return; 70 for (*m = 0; *m < dc->count; (*m)++) { 71 to = from + mnote_canon_entry_count_values (&dc->entries[*m]); 83 ExifMnoteDataCanon *dc = (ExifMnoteDataCanon *) note; local 86 if (!dc) return NULL; 87 exif_mnote_data_canon_get_tags (dc, n, &m, &s); 88 if (m >= dc->count) return NULL; 89 return mnote_canon_entry_get_value (&dc->entries[m], s, val, maxlen); 293 ExifMnoteDataCanon *dc = (ExifMnoteDataCanon *) n local 304 ExifMnoteDataCanon *dc = (ExifMnoteDataCanon *) d; local 316 ExifMnoteDataCanon *dc = (ExifMnoteDataCanon *) note; local 328 ExifMnoteDataCanon *dc = (ExifMnoteDataCanon *) note; local 340 ExifMnoteDataCanon *dc = (ExifMnoteDataCanon *) note; local 363 ExifMnoteDataCanon *dc; local [all...] |
/external/pixman/pixman/ |
pixman-radial-gradient.c | 299 pixman_fixed_32_32_t b, db, c, dc, ddc; local 322 dc = dot (2 * (pixman_fixed_48_16_t) v.vector[0] + unit.vector[0], 342 c += dc; 343 dc += ddc;
|
/frameworks/rs/driver/ |
rsdPath.cpp | 147 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 148 if (!dc->gl.shaderCache->setup(rsc)) {
|
rsdShader.cpp | 385 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 414 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { 416 (dc->gl.gl.NV_texture_npot_2D_mipmap || dc->gl.gl.IMG_texture_npot)) { 417 if (dc->gl.gl.NV_texture_npot_2D_mipmap) { 453 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso); 454 if (dc->gl.gl.EXT_texture_max_aniso > 1.0f) { 466 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 469 uint32_t numTexturesAvailable = dc->gl.gl.maxFragmentTextureImageUnits;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcController.java | 45 * and then demultiplexing them to the appropriate DC. 107 void addDc(DataConnection dc) { 108 mDcListAll.add(dc); 111 void removeDc(DataConnection dc) { 112 mDcListActiveByCid.remove(dc.mCid); 113 mDcListAll.remove(dc); 116 void addActiveDcByCid(DataConnection dc) { 117 if (DBG && dc.mCid < 0) { 118 log("addActiveDcByCid dc.mCid < 0 dc=" + dc) 224 DataConnection dc = mDcListActiveByCid.get(newState.cid); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
AppRTCDemoActivity.java | 269 DataChannel dc = pc.createDataChannel("dcLabel", new DataChannel.Init()); local 270 abortUnless("dcLabel".equals(dc.label()), "Unexpected label corruption?"); 271 dc.close(); 272 dc.dispose(); 518 @Override public void onDataChannel(final DataChannel dc) { 522 "AppRTC doesn't use data channels, but got: " + dc.label() +
|
/cts/tests/tests/util/src/android/util/cts/ |
XmlEncodingTest.java | 74 DefaultContentHandler dc = new DefaultContentHandler(); local 77 Xml.Encoding.US_ASCII, dc); 78 assertEquals(STR_SET_DOCUMENT_LOCATOR, dc.mVec.elementAt(0)); 79 assertEquals(STR_START_DOCUMENT, dc.mVec.elementAt(1)); 80 assertEquals(STR_START_ELEMENT, dc.mVec.elementAt(2)); 81 assertEquals(TAG_TEST, dc.mVec.elementAt(3)); 82 assertEqualsOrEmpty(TAG_TEST, dc.mVec.elementAt(4)); 83 assertEquals(STR_0_NUMBER, dc.mVec.elementAt(5)); 84 assertEquals(STR_START_ELEMENT, dc.mVec.elementAt(6)); 85 assertEquals(TAG_SON, dc.mVec.elementAt(7)) [all...] |
XmlTest.java | 89 DefaultContentHandler dc = new DefaultContentHandler(); local 91 Xml.parse(xmlStr, dc); 92 assertEquals(STR_SET_DOCUMENT_LOCATOR, dc.mVec.elementAt(0)); 93 assertEquals(STR_START_DOCUMENT, dc.mVec.elementAt(1)); 94 assertEquals(STR_START_ELEMENT, dc.mVec.elementAt(2)); 95 assertEquals(TAG_TEST, dc.mVec.elementAt(3)); 96 assertEqualsOrEmpty(TAG_TEST, dc.mVec.elementAt(4)); 97 assertEquals(STR_0_NUMBER, dc.mVec.elementAt(5)); 98 assertEquals(STR_START_ELEMENT, dc.mVec.elementAt(6)); 99 assertEquals(TAG_SON, dc.mVec.elementAt(7)) 203 DefaultContentHandler dc = new DefaultContentHandler(); local 237 DefaultContentHandler dc = new DefaultContentHandler(); local [all...] |
/external/chromium_org/skia/ext/ |
platform_canvas_unittest.cc | 106 HDC dc = scoped_platform_paint.GetPlatformSurface(); local 113 FillRect(dc, &inner_rc, reinterpret_cast<HBRUSH>(GetStockObject(BLACK_BRUSH)));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
fldset.cpp | 106 int32_t dc = 0; local 107 UnicodeString *kv = split(dest[i], 0x003D /* '=' */, dc); 109 if(dc != 2) { 110 it_errln(UnicodeString("dc == ") + dc + UnicodeString("?"));
|
/external/chromium_org/third_party/skia/src/opts/ |
SkBlitRow_opts_mips_dsp.cpp | 754 uint16_t dc = *dst; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
fldset.cpp | 106 int32_t dc = 0; local 107 UnicodeString *kv = split(dest[i], 0x003D /* '=' */, dc); 109 if(dc != 2) { 110 it_errln(UnicodeString("dc == ") + dc + UnicodeString("?"));
|
/external/qemu/android/camera/ |
camera-capture-windows.c | 60 /* DC for frame bitmap manipulation. Null indicates that frames are not 62 HDC dc; member in struct:WndCameraDevice 128 if (cd->dc != NULL) { 131 ReleaseDC(cd->cap_window, cd->dc); 132 cd->dc = NULL; 168 if (cd->dc != NULL) { 169 ReleaseDC(cd->cap_window, cd->dc); 170 cd->dc = NULL; 305 /* wcd->dc is an indicator of capturing: !NULL - capturing, NULL - not */ 306 if (wcd->dc != NULL) [all...] |
/external/skia/src/core/ |
SkSpriteBlitter_RGB16.cpp | 25 uint16_t dc = *dst; local 30 dr = SkAlphaBlend(SkPacked32ToR16(sc), SkGetPackedR16(dc), src_scale); 31 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); 32 db = SkAlphaBlend(SkPacked32ToB16(sc), SkGetPackedB16(dc), src_scale); 36 SkGetPackedR16(dc) * dst_scale) >> 8; 38 SkGetPackedG16(dc) * dst_scale) >> 8; 40 SkGetPackedB16(dc) * dst_scale) >> 8; 74 uint16_t dc = *dst; \ 75 *dst = SkBlendRGB16(sc, dc, scale); \ 96 uint16_t dc = *dst; [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_mips_dsp.cpp | 754 uint16_t dc = *dst; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_macroblock_layer.c | 77 /* mapping of dc coefficients array to luma blocks */ 530 /* luma DC is at index 24 */ 616 /* chroma DC block are at indices 25 and 26 */ 719 /* luma DC is at index 24 */ 763 /* chroma DC block are at indices 25 and 26 */ 1149 i16 dc[4 + 4] = {0,0,0,0,0,0,0,0}; local 1222 i16 dc[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; local [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuCore.cpp | 128 RsdCpuReferenceImpl *dc = (RsdCpuReferenceImpl *)vrsc; local 130 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1); 132 //ALOGV("RS helperThread starting %p idx=%i", dc, idx); 134 dc->mWorkers.mLaunchSignals[idx].init(); 135 dc->mWorkers.mNativeThreadId[idx] = gettid(); 137 memset(&dc->mTlsStruct, 0, sizeof(dc->mTlsStruct)); 138 int status = pthread_setspecific(gThreadTLSKey, &dc->mTlsStruct); 153 while (!dc->mExit) { 154 dc->mWorkers.mLaunchSignals[idx].wait() [all...] |
/ndk/sources/android/support/src/wcstox/ |
floatscan.c | 92 long long lrp=0, dc=0; local 121 lrp = dc; 123 dc++; 124 if (c!='0') lnz = dc; 133 dc++; 137 if (!gotrad) lrp=dc; 164 if (lrp==dc && dc<10 && (bits>30 || x[0]>>bits==0)) 340 long long dc = 0; local 360 rp = dc; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_from_sm4.cpp | 538 return dc ? TEX_TARGET_##b##_SHADOW : TEX_TARGET_##b 544 bool dc = (op == SM4_OPCODE_SAMPLE_C || local 575 return dc ? TEX_TARGET_2D_SHADOW : TEX_TARGET_2D; [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkArithmeticMode.cpp | 122 SkPMColor dc = dst[i]; local 128 int da = SkGetPackedA32(dc); 135 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); 136 g = arith(k1, k2, k3, k4, SkGetPackedG32(sc), SkGetPackedG32(dc)); 137 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc)); 149 int dr = SkGetPackedR32(dc); 150 int dg = SkGetPackedG32(dc); 151 int db = SkGetPackedB32(dc); 165 a = arith(k1, k2, k3, k4, SkGetPackedA32(sc), SkGetPackedA32(dc)); 166 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); [all...] |