Home
last modified time | relevance | path

Searched refs:cursorPosition (Results 1 – 6 of 6) sorted by relevance

/external/skia/experimental/DrawingBoard/
DSkColorPalette.cpp126 int SkColorPalette::selectSlot(SkPoint& cursorPosition) { in selectSlot() argument
128 cursorPosition.fX -= PalettePadding; in selectSlot()
129 cursorPosition.fY -= PalettePadding; in selectSlot()
131 if (cursorPosition.fX < 0 || cursorPosition.fX > fSlotRect.width() || in selectSlot()
132cursorPosition.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() argument
146 float h = cursorPosition.fX/fGradientRect.width(); in selectColorFromGradient()
147 float s = 1.0 - cursorPosition.fY/fGradientRect.height(); in selectColorFromGradient()
DSkColorPalette.h24 int selectSlot(SkPoint& cursorPosition);
25 SkColor selectColorFromGradient(SkPoint& cursorPosition);
/external/icu/icu4c/source/i18n/
Drbt_rule.cpp59 int32_t cursorPosition, int32_t cursorOffset, in TransliterationRule() argument
94 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()
Drbt_rule.h183 int32_t cursorPosition, int32_t cursorOffset,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...