/packages/apps/Calendar/src/com/android/calendar/ |
D | ColorChipView.java | 117 int ptr = 0; in onDraw() local 118 lines [ptr++] = 0; in onDraw() 119 lines [ptr++] = top; in onDraw() 120 lines [ptr++] = right; in onDraw() 121 lines [ptr++] = top; in onDraw() 122 lines [ptr++] = 0; in onDraw() 123 lines [ptr++] = bottom - halfBorderWidth; in onDraw() 124 lines [ptr++] = right; in onDraw() 125 lines [ptr++] = bottom - halfBorderWidth; in onDraw() 126 lines [ptr++] = left; in onDraw() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Pyramid.cpp | 46 curr->ptr = y + border; in allocatePyramidPacked() 76 img->ptr = y + border; in allocateImage() 123 base = pyr->ptr[-h] - off; in BorderSpread() 136 base = pyr->ptr[top - pyr->border] - pyr->border; in BorderSpread() 141 base = pyr->ptr[pyr->height + pyr->border - bot] - pyr->border; in BorderSpread() 158 scr->ptr[j2][i] = (short) in BorderExpandOdd() 159 ((6 * in->ptr[j][i] + (in->ptr[j-1][i] + in->ptr[j+1][i]) + 4) >> 3); in BorderExpandOdd() 160 scr->ptr[j2+1][i] = (short)((in->ptr[j][i] + in->ptr[j+1][i] + 1) >> 1); in BorderExpandOdd() 170 out->ptr[j][i2] = (short) (out->ptr[j][i2] + in BorderExpandOdd() 171 (mode * ((6 * scr->ptr[j][i] + in BorderExpandOdd() [all …]
|
D | Blend.cpp | 259 memset(imgMos->Y.ptr[0], 255, (imgMos->Y.width * imgMos->Y.height)); in runBlend() 261 memset(imgMos->V.ptr[0], 128, (imgMos->V.width * imgMos->V.height) << 1); in runBlend() 293 imageMosaicYVU = imgMos->Y.ptr[0]; in runBlend() 343 ImageTypeShort yptr = m_pFrameYPyr->ptr[h]; in FillFramePyramid() 344 ImageTypeShort uptr = m_pFrameUPyr->ptr[h]; in FillFramePyramid() 345 ImageTypeShort vptr = m_pFrameVPyr->ptr[h]; in FillFramePyramid() 463 if (imgMos.Y.ptr[y][x] != imgMos.Y.ptr[y][x+1] && in DoMergeAndBlend() 464 imgMos.Y.ptr[y][x] != 255 && in DoMergeAndBlend() 465 imgMos.Y.ptr[y][x+1] != 255) in DoMergeAndBlend() 468 unsigned char idx1 = imgMos.Y.ptr[y][x]; in DoMergeAndBlend() [all …]
|
D | ImageUtils.cpp | 386 yuv->Y.ptr = y; in allocateImage() 387 yuv->V.ptr = &y[height]; in allocateImage() 388 yuv->U.ptr = &y[height + heightUV]; in allocateImage() 401 img->Y.ptr[i] = position; in mapYUVInfoToImage() 403 img->V.ptr[i] = position; in mapYUVInfoToImage() 405 img->U.ptr[i] = position; in mapYUVInfoToImage()
|
D | Pyramid.h | 34 ImageTypeShort *ptr; // Pointer containing the image
|
D | Interp.h | 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; in ciCalc()
|
D | ImageUtils.h | 142 ImageType *ptr; member
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Pyramid.cpp | 46 curr->ptr = y + border; in allocatePyramidPacked() 76 img->ptr = y + border; in allocateImage() 123 base = pyr->ptr[-h] - off; in BorderSpread() 136 base = pyr->ptr[top - pyr->border] - pyr->border; in BorderSpread() 141 base = pyr->ptr[pyr->height + pyr->border - bot] - pyr->border; in BorderSpread() 159 int t1 = in->ptr[j][i]; in BorderExpandOdd() 160 int t2 = in->ptr[j+1][i]; in BorderExpandOdd() 161 scr->ptr[j2][i] = (short) in BorderExpandOdd() 162 ((6 * t1 + (in->ptr[j-1][i] + t2) + 4) >> 3); in BorderExpandOdd() 163 scr->ptr[j2+1][i] = (short)((t1 + t2 + 1) >> 1); in BorderExpandOdd() [all …]
|
D | Blend.cpp | 259 memset(imgMos->Y.ptr[0], 255, (imgMos->Y.width * imgMos->Y.height)); in runBlend() 261 memset(imgMos->V.ptr[0], 128, (imgMos->V.width * imgMos->V.height) << 1); in runBlend() 293 imageMosaicYVU = imgMos->Y.ptr[0]; in runBlend() 343 ImageTypeShort yptr = m_pFrameYPyr->ptr[h]; in FillFramePyramid() 344 ImageTypeShort uptr = m_pFrameUPyr->ptr[h]; in FillFramePyramid() 345 ImageTypeShort vptr = m_pFrameVPyr->ptr[h]; in FillFramePyramid() 463 if (imgMos.Y.ptr[y][x] != imgMos.Y.ptr[y][x+1] && in DoMergeAndBlend() 464 imgMos.Y.ptr[y][x] != 255 && in DoMergeAndBlend() 465 imgMos.Y.ptr[y][x+1] != 255) in DoMergeAndBlend() 468 unsigned char idx1 = imgMos.Y.ptr[y][x]; in DoMergeAndBlend() [all …]
|
D | ImageUtils.cpp | 386 yuv->Y.ptr = y; in allocateImage() 387 yuv->V.ptr = &y[height]; in allocateImage() 388 yuv->U.ptr = &y[height + heightUV]; in allocateImage() 401 img->Y.ptr[i] = position; in mapYUVInfoToImage() 403 img->V.ptr[i] = position; in mapYUVInfoToImage() 405 img->U.ptr[i] = position; in mapYUVInfoToImage()
|
D | Pyramid.h | 34 ImageTypeShort *ptr; // Pointer containing the image
|
D | Interp.h | 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; in ciCalc()
|
D | ImageUtils.h | 142 ImageType *ptr; member
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndldic.c | 55 #define GET_UINT16(ptr) ((((NJ_UINT16)(*(ptr))) << 8) | (*((ptr) + 1) & 0x00ff)) argument 265 NJ_UINT8 *ptr; in get_que_type_and_next() local 273 ptr = POS_TO_ADDRESS(handle, que_id); in get_que_type_and_next() 275 que->type = GET_TYPE_FROM_DATA(ptr); in get_que_type_and_next() 276 que->next_flag = GET_FFLG_FROM_DATA(ptr); in get_que_type_and_next() 294 NJ_UINT8 *ptr; in get_que_yomiLen_and_hyoukiLen() local 302 ptr = POS_TO_ADDRESS(handle, que_id); in get_que_yomiLen_and_hyoukiLen() 304 que->type = GET_TYPE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen() 305 que->yomi_byte = GET_YSIZE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen() 307 que->hyouki_byte = GET_KSIZE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen() [all …]
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_feature_matching.h | 59 db_PointInfo_f *ptr; 86 db_PointInfo_u *ptr;
|
D | db_feature_matching.cpp | 2634 bp[i][j].ptr=new db_PointInfo_f [bd]; in db_AllocBuckets_f() 2654 bp[i][j].ptr=new db_PointInfo_u [bd]; in db_AllocBuckets_u() 2667 delete [] bp[i][j].ptr; in db_FreeBuckets_f() 2679 delete [] bp[i][j].ptr; in db_FreeBuckets_u() 2716 pir=&(br->ptr[nr]); in db_FillBuckets_f() 2751 pir=&(br->ptr[nr]); in db_FillBuckets_u() 2811 pir=&(br->ptr[nr]); in db_FillBucketsPrewarped_f() 2855 pir=&(br->ptr[nr]); in db_FillBucketsPrewarped_u() 2907 pir=&(br->ptr[nr]); in db_FillBucketsPrewarpedAffine_u() 3031 pir_r=b_r->ptr; in db_MatchPointAgainstBucket_f() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_feature_matching.h | 59 db_PointInfo_f *ptr; 86 db_PointInfo_u *ptr;
|
D | db_feature_matching.cpp | 2634 bp[i][j].ptr=new db_PointInfo_f [bd]; in db_AllocBuckets_f() 2654 bp[i][j].ptr=new db_PointInfo_u [bd]; in db_AllocBuckets_u() 2667 delete [] bp[i][j].ptr; in db_FreeBuckets_f() 2679 delete [] bp[i][j].ptr; in db_FreeBuckets_u() 2716 pir=&(br->ptr[nr]); in db_FillBuckets_f() 2751 pir=&(br->ptr[nr]); in db_FillBuckets_u() 2811 pir=&(br->ptr[nr]); in db_FillBucketsPrewarped_f() 2855 pir=&(br->ptr[nr]); in db_FillBucketsPrewarped_u() 2907 pir=&(br->ptr[nr]); in db_FillBucketsPrewarpedAffine_u() 3031 pir_r=b_r->ptr; in db_MatchPointAgainstBucket_f() [all …]
|
/packages/apps/LegacyCamera/jni/ |
D | mosaic_renderer_jni.cpp | 204 unsigned char* ptr = gPreviewImage[mID]; in ClearPreviewImage() local 209 ptr[i++] = 0; in ClearPreviewImage() 210 ptr[i++] = 0; in ClearPreviewImage() 211 ptr[i++] = 0; in ClearPreviewImage() 212 ptr[i++] = 255; in ClearPreviewImage()
|
/packages/apps/Camera/jni/ |
D | mosaic_renderer_jni.cpp | 227 unsigned char* ptr = gPreviewImage[mID]; in ClearPreviewImage() local 232 ptr[i++] = 0; in ClearPreviewImage() 233 ptr[i++] = 0; in ClearPreviewImage() 234 ptr[i++] = 0; in ClearPreviewImage() 235 ptr[i++] = 255; in ClearPreviewImage()
|
/packages/apps/Nfc/jni/ |
D | com_android_nfc_NativeP2pDevice.cpp | 75 phNfc_sData_t **ptr = (phNfc_sData_t **)pCallbackData->pContext; in nfc_jni_receive_callback() local 80 *ptr = data; in nfc_jni_receive_callback() 84 *ptr = NULL; in nfc_jni_receive_callback()
|
/packages/inputmethods/PinyinIME/jni/android/ |
D | com_android_inputmethod_pinyin_PinyinDecoderService.cpp | 274 char16 *ptr = (char16*)(*env).GetStringChars(tomerge, NULL); in nativeSyncPutLemmas() local 277 int added = sync_worker.put_lemmas(ptr, len); in nativeSyncPutLemmas() 279 (*env).ReleaseStringChars(tomerge, ptr); in nativeSyncPutLemmas()
|
/packages/inputmethods/PinyinIME/jni/share/ |
D | userdict.cpp | 1736 char16 *ptr = lemmas; in _get_lpis() local 1739 char16 * p = ptr, * py16 = ptr; in _get_lpis() 1748 while (p - ptr < len) { in _get_lpis() 1752 while (*p != 0x2c && (p - ptr) < len) { in _get_lpis() 1758 if (p - ptr == len) in _get_lpis() 1771 while (*p != 0x2c && (p - ptr) < len) { in _get_lpis() 1780 while (*p != 0x2c && (p - ptr) < len) { in _get_lpis() 1788 while (*p != 0x3b && (p - ptr) < len) { in _get_lpis()
|