OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:paddedWidth
(Results
1 - 4
of
4
) sorted by null
/external/libvncserver/examples/
pnmshow24.c
25
int j,width,height,
paddedWidth
;
54
paddedWidth
= width;
59
paddedWidth
+=4-(width&3);
62
rfbScreen = rfbGetScreen(&argc,argv,
paddedWidth
,height,8,3,3);
76
rfbScreen->frameBuffer = (char*)malloc(
paddedWidth
*3*height);
80
/* pad to
paddedWidth
*/
81
if(width !=
paddedWidth
) {
82
int padCount = 3*(
paddedWidth
- width);
84
memmove(rfbScreen->frameBuffer+3*
paddedWidth
*j,
87
memset(rfbScreen->frameBuffer+3*
paddedWidth
*(j+1)-padCount
[
all
...]
pnmshow.c
19
int i,j,k,l,width,height,
paddedWidth
;
62
paddedWidth
= width;
64
paddedWidth
+=4-(width&3);
67
rfbScreen = rfbGetScreen(&argc,argv,
paddedWidth
,height,8,(bitsPerPixelInFile+7)/8,bytesPerPixel);
81
rfbScreen->frameBuffer = (char*)malloc(
paddedWidth
*bytesPerPixel*height);
96
/* correct the format to 4 bytes instead of 3 (and pad to
paddedWidth
) */
100
rfbScreen->frameBuffer[(j*
paddedWidth
+i)*4+k]=
102
for(i=width*4;i<
paddedWidth
*4;i++)
103
rfbScreen->frameBuffer[j*
paddedWidth
*4+i]=0;
114
rfbScreen->frameBuffer[j*
paddedWidth
+i+7-k]=(l&(1<<k))?0:255
[
all
...]
/frameworks/base/libs/hwui/
FontRenderer.cpp
580
uint32_t
paddedWidth
= (uint32_t) (bounds.right - bounds.left) + 2 * intRadius;
584
if (
paddedWidth
> maxSize || paddedHeight > maxSize) {
590
if (
paddedWidth
& (RS_CPU_ALLOCATION_ALIGNMENT - 1)) {
591
paddedWidth
+= RS_CPU_ALLOCATION_ALIGNMENT -
paddedWidth
% RS_CPU_ALLOCATION_ALIGNMENT;
593
int size =
paddedWidth
* paddedHeight;
596
int size =
paddedWidth
* paddedHeight;
610
Font::BITMAP, dataBuffer,
paddedWidth
, paddedHeight, nullptr, positions);
615
blurImage(&dataBuffer,
paddedWidth
, paddedHeight, radius);
618
image.width =
paddedWidth
;
[
all
...]
/frameworks/base/core/java/android/widget/
SimpleMonthView.java
637
final int
paddedWidth
= paddedRight - paddingLeft;
639
if (
paddedWidth
== mPaddedWidth || paddedHeight == mPaddedHeight) {
643
mPaddedWidth =
paddedWidth
;
Completed in 226 milliseconds