Home
last modified time | relevance | path

Searched refs:dataBuffer (Results 1 – 2 of 2) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtils.java140 DataBuffer dataBuffer = raster.getDataBuffer(); in convertToSwt() local
144 if (dataBuffer instanceof DataBufferInt) { in convertToSwt()
145 int[] imageDataBuffer = ((DataBufferInt) dataBuffer).getData(); in convertToSwt()
147 } else if (dataBuffer instanceof DataBufferByte) { in convertToSwt()
148 byte[] imageDataBuffer = ((DataBufferByte) dataBuffer).getData(); in convertToSwt()
DImageUtils.java381 int[] dataBuffer = ((DataBufferInt) image.getRaster().getDataBuffer()).getData(); in createDropShadow() local
390 int a = dataBuffer[bufferOffset] >>> 24; in createDropShadow()
399 dataBuffer[bufferOffset] = a << 24 | shadowRgb; in createDropShadow()
405 a = dataBuffer[bufferOffset + right] >>> 24; in createDropShadow()
419 int a = dataBuffer[bufferOffset] >>> 24; in createDropShadow()
428 dataBuffer[bufferOffset] = a << 24 | shadowRgb; in createDropShadow()
434 a = dataBuffer[bufferOffset + lastPixelOffset] >>> 24; in createDropShadow()