Searched refs:cursorPosition (Results 1 – 12 of 12) sorted by relevance
/external/chromium_org/third_party/skia/experimental/DrawingBoard/ |
D | SkColorPalette.cpp | 126 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() 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() argument 146 float h = cursorPosition.fX/fGradientRect.width(); in selectColorFromGradient() 147 float s = 1.0 - cursorPosition.fY/fGradientRect.height(); in selectColorFromGradient()
|
D | SkColorPalette.h | 24 int selectSlot(SkPoint& cursorPosition); 25 SkColor selectColorFromGradient(SkPoint& cursorPosition);
|
/external/skia/experimental/DrawingBoard/ |
D | SkColorPalette.cpp | 126 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() 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() argument 146 float h = cursorPosition.fX/fGradientRect.width(); in selectColorFromGradient() 147 float s = 1.0 - cursorPosition.fY/fGradientRect.height(); in selectColorFromGradient()
|
D | SkColorPalette.h | 24 int selectSlot(SkPoint& cursorPosition); 25 SkColor selectColorFromGradient(SkPoint& cursorPosition);
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
D | DesktopView.java | 208 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()
|
D | RenderData.java | 27 public Point cursorPosition = new Point(); field in RenderData
|
/external/icu/icu4c/source/i18n/ |
D | rbt_rule.cpp | 59 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()
|
D | rbt_rule.h | 183 int32_t cursorPosition, int32_t cursorOffset,
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | rbt_rule.cpp | 59 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()
|
D | rbt_rule.h | 183 int32_t cursorPosition, int32_t cursorOffset,
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
D | braille_util.js | 399 var cursorPosition = opt_displayPosition - 403 node.selectionStart = node.selectionEnd = cursorPosition;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/ |
D | StylesSidebarPane.js | 3093 function shouldCommitValueSemicolon(text, cursorPosition) argument 3097 for (var i = 0; i < cursorPosition; ++i) {
|