Searched refs:halfW (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTransactionTest.h | 189 const int32_t halfW = bufferWidth / 2; in fillBufferQueueLayerQuadrant() local 191 TransactionUtils::fillANativeWindowBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft); in fillBufferQueueLayerQuadrant() 192 TransactionUtils::fillANativeWindowBufferColor(buffer, Rect(halfW, 0, bufferWidth, halfH), in fillBufferQueueLayerQuadrant() 194 TransactionUtils::fillANativeWindowBufferColor(buffer, Rect(0, halfH, halfW, bufferHeight), in fillBufferQueueLayerQuadrant() 197 Rect(halfW, halfH, bufferWidth, in fillBufferQueueLayerQuadrant() 216 const int32_t halfW = bufferWidth / 2; in fillBufferStateLayerQuadrant() local 218 TransactionUtils::fillGraphicBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft); in fillBufferStateLayerQuadrant() 219 TransactionUtils::fillGraphicBufferColor(buffer, Rect(halfW, 0, bufferWidth, halfH), in fillBufferStateLayerQuadrant() 221 TransactionUtils::fillGraphicBufferColor(buffer, Rect(0, halfH, halfW, bufferHeight), in fillBufferStateLayerQuadrant() 224 Rect(halfW, halfH, bufferWidth, bufferHeight), in fillBufferStateLayerQuadrant()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | WuQuantizer.java | 341 int halfW = baseW + top(cube, direction, i, mWeights); in maximize() local 343 if (halfW == 0) { in maximize() 347 double tempDenominator = halfW; in maximize() 353 halfW = wholeW - halfW; in maximize() 354 if (halfW == 0) { in maximize() 359 tempDenominator = halfW; in maximize()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 590 int halfW = j / 2; in convertToRGB() local 592 yuvPixel[1] = uFullRow[uPixStride * halfW]; in convertToRGB() 593 yuvPixel[2] = vFullRow[vPixStride * halfW]; in convertToRGB()
|
/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 849 final int halfW = w >= 0 ? w / 2 : 1; 851 mTickMark.setBounds(-halfW, -halfH, halfW, halfH);
|