Searched refs:PalettePadding (Results 1 – 2 of 2) sorted by relevance
37 canvas->translate(PalettePadding, PalettePadding); in onDraw()53 canvas->translate(0, fSlotRect.height() + PalettePadding); in onDraw()56 canvas->translate(0, PalettePadding); in onDraw()98 curr.fX -= PalettePadding; in onClick()99 curr.fY -= 2 * PalettePadding + (fSlotRect.height() + PalettePadding) * PaletteSlots; in onClick()121 fGradientRect = SkRect::MakeWH(this->width() - 2*PalettePadding, in onSizeChange()122 this->width() - 2*PalettePadding); in onSizeChange()128 cursorPosition.fX -= PalettePadding; in selectSlot()129 cursorPosition.fY -= PalettePadding; in selectSlot()132 …cursorPosition.fY < 0 || cursorPosition.fY > (fSlotRect.height() + PalettePadding) * PaletteSlots)… in selectSlot()[all …]
12 #define PalettePadding 5 macro