Home
last modified time | relevance | path

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

/external/chromium_org/third_party/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/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/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DDesktopView.java208 x = mRenderData.cursorPosition.x; in paint()
209 y = mRenderData.cursorPosition.y; in paint()
332 if (x != mRenderData.cursorPosition.x) { in injectMouseEvent()
333 mRenderData.cursorPosition.x = x; in injectMouseEvent()
336 if (y != mRenderData.cursorPosition.y) { in injectMouseEvent()
337 mRenderData.cursorPosition.y = y; in injectMouseEvent()
DRenderData.java27 public Point cursorPosition = new Point(); field in RenderData
/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/chromium_org/third_party/icu/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/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dbraille_util.js399 var cursorPosition = opt_displayPosition -
403 node.selectionStart = node.selectionEnd = cursorPosition;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
DStylesSidebarPane.js3093 function shouldCommitValueSemicolon(text, cursorPosition) argument
3097 for (var i = 0; i < cursorPosition; ++i) {