Searched defs:offsets (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/android/view/textservice/ |
H A D | SentenceSuggestionsInfo.java | 30 * you to put multiple {@link SuggestionsInfo}s on a sentence with the offsets and the lengths 42 * @param offsets the array of offsets of suggestions 46 SuggestionsInfo[] suggestionsInfos, int[] offsets, int[] lengths) { 47 if (suggestionsInfos == null || offsets == null || lengths == null) { 50 if (suggestionsInfos.length != offsets.length || offsets.length != lengths.length) { 55 mOffsets = Arrays.copyOf(offsets, infoSize); 45 SentenceSuggestionsInfo( SuggestionsInfo[] suggestionsInfos, int[] offsets, int[] lengths) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); 142 rectangle.height(), offsets, mStrides, quality, stream, 183 int[] offsets = null; 185 offsets = new int[] {top * mStrides[0] + left, 188 return offsets; 192 offsets = new int[] {top * mStrides[0] + left / 2 * 4}; 193 return offsets; 196 return offsets; 238 int format, int width, int height, int[] offsets, int[] strides, 237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 25 int height, int* offsets, int jpegQuality) { 43 compress(&cinfo, (uint8_t*) inYuv, offsets); 72 uint8_t* yuv, int* offsets) { 84 uint8_t* yPlanar = yuv + offsets[0]; 85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; 148 uint8_t* yuv, int* offsets) { 164 uint8_t* yuvOffset = yuv + offsets[0]; 220 int format, int width, int height, jintArray offsets, 226 jint* imgOffsets = env->GetIntArrayElements(offsets, NULL); 236 env->ReleaseIntArrayElements(offsets, imgOffset 24 encode(SkWStream* stream, void* inYuv, int width, int height, int* offsets, int jpegQuality) argument 71 compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets) argument 147 compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets) argument 219 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, int format, int width, int height, jintArray offsets, jintArray strides, int jpegQuality, jobject jstream, jbyteArray jstorage) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 315 size_t offsets[Allocation::MAX_LOD]; local 316 memset(offsets, 0, sizeof(offsets)); 330 offsets[lod] = o; 340 offsets[ct] = (size_t)alloc->mHal.drvState.lod[ct].mallocPtr; 348 alloc->mHal.drvState.lod[lod].mallocPtr = ptr + offsets[lod];
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 161 jlong* offsets = (jlong*)env->GetPrimitiveArrayCritical(outOffsets, 0); local 162 if (offsets == NULL) { 167 offsets[0] = startOffset; 168 offsets[1] = length; 170 env->ReleasePrimitiveArrayCritical(outOffsets, offsets, 0);
|
Completed in 187 milliseconds