Home
last modified time | relevance | path

Searched refs:srcBuffer (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DHolographicOutlineHelper.java97 int[] srcBuffer = new int[srcDst.getWidth() * srcDst.getHeight()]; in applyExpensiveOutlineWithBlur() local
98 srcDst.getPixels(srcBuffer, in applyExpensiveOutlineWithBlur()
100 for (int i = 0; i < srcBuffer.length; i++) { in applyExpensiveOutlineWithBlur()
101 final int alpha = srcBuffer[i] >>> 24; in applyExpensiveOutlineWithBlur()
103 srcBuffer[i] = 0; in applyExpensiveOutlineWithBlur()
106 srcDst.setPixels(srcBuffer, in applyExpensiveOutlineWithBlur()
/packages/apps/Launcher2/src/com/android/launcher2/
DHolographicOutlineHelper.java107 int[] srcBuffer = new int[srcDst.getWidth() * srcDst.getHeight()]; in applyExpensiveOutlineWithBlur() local
108 srcDst.getPixels(srcBuffer, in applyExpensiveOutlineWithBlur()
110 for (int i = 0; i < srcBuffer.length; i++) { in applyExpensiveOutlineWithBlur()
111 final int alpha = srcBuffer[i] >>> 24; in applyExpensiveOutlineWithBlur()
113 srcBuffer[i] = 0; in applyExpensiveOutlineWithBlur()
116 srcDst.setPixels(srcBuffer, in applyExpensiveOutlineWithBlur()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp144 std::vector<GifByteType> srcBuffer(gifIn->SWidth * gifIn->SHeight); in resizeBoxFilter() local
200 srcBuffer.resize(gifIn->Image.Width * gifIn->Image.Height); in resizeBoxFilter()
201 if (readImage(gifIn, srcBuffer.data()) == false) { in resizeBoxFilter()
208 srcBuffer.data(), in resizeBoxFilter()