/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
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 | 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 | 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/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/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | BluetoothScanner.java | 205 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in startListening() 206 if (mClients.get(ptr).listener == listener) { in startListening() 256 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in stopListening() 257 ClientRecord client = mClients.get(ptr); in stopListening() 259 mClients.remove(ptr); in stopListening() 326 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in removeDevice() 327 ClientRecord client = mClients.get(ptr); in removeDevice() 490 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in sendDeviceAdded() 491 ClientRecord client = mClients.get(ptr); in sendDeviceAdded() 508 for (int ptr = client.devices.size() - 1; ptr > -1; ptr--) { in sendDeviceChanged() [all …]
|
/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/Gallery2/jni/filters/ |
D | edge.c | 38 char * ptr = destination; in JNIFUNCF() local 62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() 63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF() 64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF() 65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF() 67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF() 76 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 77 tmp -= *(ptr + (loc - row_stride + l)) * 2.0f; in JNIFUNCF() 78 tmp -= *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() [all …]
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 555 static jint com_android_terminal_Terminal_nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeDestroy() argument 556 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeDestroy() 561 static jint com_android_terminal_Terminal_nativeRun(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeRun() argument 562 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeRun() 567 jclass clazz, jlong ptr, jint rows, jint cols, jint scrollRows) { in com_android_terminal_Terminal_nativeResize() argument 568 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeResize() 592 jclass clazz, jlong ptr, jint row, jint col, jobject run) { in com_android_terminal_Terminal_nativeGetCellRun() argument 593 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeGetCellRun() 653 static jint com_android_terminal_Terminal_nativeGetRows(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeGetRows() argument 654 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeGetRows() [all …]
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | Terminal.java | 194 private static native int nativeDestroy(long ptr); in nativeDestroy() argument 196 private static native int nativeRun(long ptr); in nativeRun() argument 197 private static native int nativeResize(long ptr, int rows, int cols, int scrollRows); in nativeResize() argument 198 private static native int nativeGetCellRun(long ptr, int row, int col, CellRun run); in nativeGetCellRun() argument 199 private static native int nativeGetRows(long ptr); in nativeGetRows() argument 200 private static native int nativeGetCols(long ptr); in nativeGetCols() argument 201 private static native int nativeGetScrollRows(long ptr); in nativeGetScrollRows() argument 203 private static native boolean nativeDispatchKey(long ptr, int modifiers, int key); in nativeDispatchKey() argument 204 private static native boolean nativeDispatchCharacter(long ptr, int modifiers, int character); in nativeDispatchCharacter() argument
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | byte_array_view.h | 34 ReadOnlyByteArrayView(const uint8_t *const ptr, const size_t size) in ReadOnlyByteArrayView() argument 35 : mPtr(ptr), mSize(size) {} in ReadOnlyByteArrayView() 66 ReadWriteByteArrayView(uint8_t *const ptr, const size_t size) in ReadWriteByteArrayView() argument 67 : mPtr(ptr), mSize(size) {} in ReadWriteByteArrayView()
|
D | int_array_view.h | 55 IntArrayView(const int *const ptr, const size_t size) in IntArrayView() argument 56 : mPtr(ptr), mSize(size) {} in IntArrayView() 67 AK_FORCE_INLINE static IntArrayView singleElementView(const int *const ptr) { in singleElementView() argument 68 return IntArrayView(ptr, 1); in singleElementView()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | allocators.h | 79 static void Free(void *ptr) { std::free(ptr); } in Free() argument 220 static void Free(void *ptr) { (void)ptr; } // Do nothing in Free() argument
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpegstream.cpp | 157 jlong ptr = env->GetLongField(thiz, fidNumber); in getWPtr() local 162 JpegWriter* w_ptr = reinterpret_cast<JpegWriter*>(ptr); in getWPtr() 178 jlong ptr = env->GetLongField(thiz, fidNumber); in getRPtr() local 183 JpegReader* r_ptr = reinterpret_cast<JpegReader*>(ptr); in getRPtr()
|
/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/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 170 for (int ptr = deviceIds.length - 1; ptr > -1; ptr--) { in hasValidInputDevice() 171 InputDevice device = inMan.getInputDevice(deviceIds[ptr]); in hasValidInputDevice()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | lib_wprint.c | 421 char *ptr; in _get_handle() local 428 ptr = malloc(size); in _get_handle() 429 if (ptr) { in _get_handle() 431 memset(ptr, 0, size); in _get_handle() 435 _job_queue[index].printer_addr = ptr; in _get_handle() 437 ptr += (MAX_PRINTER_ADDR_LENGTH + 1); in _get_handle() 438 _job_queue[index].mime_type = ptr; in _get_handle() 439 ptr += (MAX_MIME_LENGTH + 1); in _get_handle() 440 _job_queue[index].pathname = ptr; in _get_handle()
|
/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/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 91 uint32 *ptr = (uint32 *) pInBuffer; in isWhiteStrip() local 92 for (int i = 0; i < inBufferSize / 4; i++, ptr++) { in isWhiteStrip() 93 if (*ptr != 0xffffffff) { in isWhiteStrip() 1674 ubyte *ptr; in Encapsulate() local 1680 ptr = (ubyte *) localInBuffer + scanlineWidth * numLeftoverScanlines; in Encapsulate() 1681 memcpy(leftoverScanlineBuffer, ptr, scanlineWidth * numLeftoverScanlines); in Encapsulate()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | internals.md | 149 static void Free(void *ptr);
|