Searched refs:cursorPosition (Results 1 – 6 of 6) sorted by relevance
126 int SkColorPalette::selectSlot(SkPoint& cursorPosition) { in selectSlot() argument128 cursorPosition.fX -= PalettePadding; in selectSlot()129 cursorPosition.fY -= PalettePadding; in selectSlot()131 if (cursorPosition.fX < 0 || cursorPosition.fX > fSlotRect.width() || in selectSlot()132 …cursorPosition.fY < 0 || cursorPosition.fY > (fSlotRect.height() + PalettePadding) * PaletteSlots)… in selectSlot()135 int index = cursorPosition.fY/(fSlotRect.height() + PalettePadding); in selectSlot()136 int offset = (int)cursorPosition.fY%((int)fSlotRect.height() + PalettePadding); in selectSlot()145 SkColor SkColorPalette::selectColorFromGradient(SkPoint& cursorPosition) { in selectColorFromGradient() argument146 float h = cursorPosition.fX/fGradientRect.width(); in selectColorFromGradient()147 float s = 1.0 - cursorPosition.fY/fGradientRect.height(); in selectColorFromGradient()
24 int selectSlot(SkPoint& cursorPosition);25 SkColor selectColorFromGradient(SkPoint& cursorPosition);
59 int32_t cursorPosition, int32_t cursorOffset, in TransliterationRule() argument94 if (cursorPosition < 0) { in TransliterationRule()95 cursorPosition = outputStr.length(); in TransliterationRule()96 } else if (cursorPosition > outputStr.length()) { in TransliterationRule()151 this->output = new StringReplacer(outputStr, cursorPosition + cursorOffset, data); in TransliterationRule()
183 int32_t cursorPosition, int32_t cursorOffset,
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...