/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupStepIndicatorView.java | 53 final int xPos = (int)(getWidth() * mXRatio); 56 mIndicatorPath.moveTo(xPos, 0); 57 mIndicatorPath.lineTo(xPos + height, height); 58 mIndicatorPath.lineTo(xPos - height, height);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
CandidateView.java | 434 float xPos; 435 xPos = 0; 436 xPos += mSeparatorDrawable.getIntrinsicWidth(); 437 while (xPos < mContentWidth && pStart + pSize < candSize) { 445 if (xPos + itemWidth < mContentWidth || 0 == pSize) { 446 xPos += itemWidth; 459 float marginExtra = (mContentWidth - xPos) / pSize / 2; 461 if (mContentWidth - xPos > lastItemWidth) { 500 float xPos = mPaddingLeft; 504 xPos += drawVerticalSeparator(canvas, xPos) [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
GridViewSpecial.java | 68 Bitmap b, int xPos, int yPos, int w, int h); 70 int xPos, int yPos, int w, int h); 672 int xPos = mSpec.mLeftEdgePadding; 678 mDrawAdapter.drawDecoration(canvas, image, xPos, yPos, 684 xPos = mSpec.mLeftEdgePadding; 688 xPos += mSpec.mCellWidth + mSpec.mCellSpacing; 701 int xPos = leftSpacing + (col * (mSpec.mCellWidth + spacing)); 708 canvas.drawBitmap(mOutline[type], xPos, yTop, null); 933 private void drawEmptyBlock(Canvas canvas, int xPos, int yPos, int row) { 935 canvas.drawRect(xPos, yPos, xPos + mBlockWidth, yPos + mBlockHeight [all...] |
ImageGallery.java | 787 Bitmap b, int xPos, int yPos, int w, int h) { 805 mDstRect.set(xPos, yPos, xPos + w, yPos + h); 809 mDstRect.set(xPos, yPos, xPos + w, yPos + h); 819 int left = (w - width) / 2 + xPos; 842 canvas.drawRect(xPos, yPos, xPos + w, yPos + h, paint); 846 int left = (w - width) / 2 + xPos; 859 int xPos, int yPos, int w, int h) [all...] |
/external/webrtc/src/modules/audio_processing/aec/ |
aec_core_sse2.c | 39 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1; 43 xPos -= NR_PART*(PART_LEN1); 48 const __m128 xfBuf_re = _mm_loadu_ps(&aec->xfBuf[0][xPos + j]); 49 const __m128 xfBuf_im = _mm_loadu_ps(&aec->xfBuf[1][xPos + j]); 67 yf[0][j] += MulRe(aec->xfBuf[0][xPos + j], aec->xfBuf[1][xPos + j], 69 yf[1][j] += MulIm(aec->xfBuf[0][xPos + j], aec->xfBuf[1][xPos + j], 134 int xPos = (i + aec->xfBufBlockPos)*(PART_LEN1); 138 xPos -= NR_PART * PART_LEN1 [all...] |
aec_core.c | 248 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1; 252 xPos -= NR_PART*(PART_LEN1); 256 yf[0][j] += MulRe(aec->xfBuf[0][xPos + j], aec->xfBuf[1][xPos + j], 258 yf[1][j] += MulIm(aec->xfBuf[0][xPos + j], aec->xfBuf[1][xPos + j], 291 // int xPos = (i + aec->xfBufBlockPos)*(PART_LEN1); 295 // xPos -= NR_PART * PART_LEN1; 301 // aec->wfBuf[pos + j][0] += MulRe(aec->xfBuf[xPos + j][0], 302 // -aec->xfBuf[xPos + j][1] [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderText.h | 74 virtual float width(unsigned from, unsigned len, const Font&, float xPos, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; 75 virtual float width(unsigned from, unsigned len, float xPos, bool firstLine = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; 159 float widthFromCache(const Font&, int start, int len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*) const;
|
RenderFrameSet.cpp | 143 int xPos = 0; 146 xPos += m_cols.m_sizes[c]; 148 paintColumnBorder(paintInfo, IntRect(tx + xPos, ty + yPos, borderThickness, height())); 149 xPos += borderThickness; 538 int xPos = 0; 547 child->setX(xPos); 568 xPos += child->width() + borderThickness; 573 maxWidth = max(xPos, maxWidth); 612 int xPos = 0; 615 child->setLocation(xPos, yPos) [all...] |
RenderFlexibleBox.cpp | 325 int xPos = borderLeft() + paddingLeft(); 346 xPos = borderLeft() + paddingLeft(); 408 childLayer->setStaticInlinePosition(xPos); 431 xPos += child->marginLeft(); 453 placeChild(child, xPos, childY); 455 xPos += child->width() + child->marginRight(); 458 remainingSpace = borderLeft() + paddingLeft() + contentWidth() - xPos; 603 int xPos = borderLeft() + paddingLeft(); 606 xPos = width() - paddingRight() - borderRight(); [all...] |
RenderTable.cpp | [all...] |
RenderTableSection.cpp | [all...] |
RenderBox.cpp | 758 bool RenderBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, int xPos, int yPos, int tx, int ty, HitTestAction action) 765 if (!child->hasLayer() && child->nodeAtPoint(request, result, xPos, yPos, tx, ty, action)) { 766 updateHitTestResult(result, IntPoint(xPos - tx, yPos - ty)); 774 if (visibleToHitTesting() && action == HitTestForeground && boundsRect.intersects(result.rectForPoint(xPos, yPos))) { 775 updateHitTestResult(result, IntPoint(xPos - tx, yPos - ty)); 776 if (!result.addNodeToRectBasedTestResult(node(), xPos, yPos, boundsRect)) [all...] |
RenderTextControlSingleLine.cpp | 335 bool RenderTextControlSingleLine::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, int xPos, int yPos, int tx, int ty, HitTestAction hitTestAction) 343 if (!RenderTextControl::nodeAtPoint(request, result, xPos, yPos, tx, ty, hitTestAction)) 350 hitInnerTextElement(result, xPos, yPos, tx, ty); 373 if (m_resultsButton && m_resultsButton->renderer() && xPos < textLeft) 378 if (m_cancelButton && m_cancelButton->renderer() && xPos > textRight) [all...] |
RenderText.cpp | 613 ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 636 w += tabWidth ? tabWidth - fmodf(xPos + w, tabWidth) : monospaceCharacterWidth; 651 return f.width(TextRun(text()->characters() + start, len, allowTabs(), xPos), fallbackFonts, glyphOverflow); [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
TextureAtlas.java | 286 for (int xPos = 0; xPos < width; xPos++) { 287 int i = ((xPos + x) + (yPos + y) * atlasWidth) * 4; 289 int j = (xPos + yPos * width) * 4; 295 int j = (xPos + yPos * width) * 3; 301 int j = (xPos + yPos * width) * 3; 307 int j = (xPos + yPos * width) * 4; 313 int j = (xPos + yPos * width) * 1; 319 int j = (xPos + yPos * width) * 2 [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGParserUtilities.cpp | 197 float xPos = 0.0f; 198 if (!parseNumber(cur, end, xPos)) 213 pointsList.append(FloatPoint(xPos, yPos));
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
PlaybackGraphs.java | 288 int xPos = (metricIndex + 1) * -BAR_WIDTH; 290 canvas.drawText(label, xPos, yPos, whiteLabels); 298 canvas.drawText(label, xPos, yPos, whiteLabels);
|
/external/webkit/Source/WebCore/platform/graphics/ |
TextRun.h | 45 TextRun(const UChar* c, int len, bool allowTabs = false, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, bool rtl = false, bool directionalOverride = false) 48 , m_xpos(xpos) 65 TextRun(const String& s, bool allowTabs = false, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, bool rtl = false, bool directionalOverride = false) 68 , m_xpos(xpos) 99 float xPos() const { return m_xpos; }
|
/external/skia/legacy/src/ports/ |
SkHarfBuzzFont.cpp | 83 hb_uint32 index, HB_Fixed* xPos, HB_Fixed* yPos, 103 *xPos = SkScalarToHarfbuzzFixed(pt.fX);
|
/external/skia/src/ports/ |
SkHarfBuzzFont.cpp | 83 hb_uint32 index, HB_Fixed* xPos, HB_Fixed* yPos, 103 *xPos = SkScalarToHarfbuzzFixed(pt.fX);
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
HarfbuzzSkia.cpp | 122 static HB_Error getOutlinePoint(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed* xPos, HB_Fixed* yPos, hb_uint32* resultingNumPoints) 143 *xPos = SkiaScalarToHarfbuzzFixed(points[point].fX);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
HarfbuzzSkia.cpp | 139 static HB_Error getOutlinePoint(HB_Font hbFont, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed* xPos, HB_Fixed* yPos, hb_uint32* resultingNumPoints) 160 *xPos = SkiaScalarToHarfbuzzFixed(points[point].fX);
|
/frameworks/base/services/java/com/android/server/wm/ |
DimLayer.java | 162 final float xPos = -1 * dw / 6; 167 mDimSurface.setPosition(xPos, yPos);
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
NoiseFieldRS.java | 146 float xPos = Float.parseFloat(values[0]); 151 mVertexColors.set_position(i, new Float3(xPos, yPos, 0.0f), false);
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
PhaseBeamRS.java | 161 float xPos = new Float(values[0]); 166 mVertexColors.set_position(i, new Float3(xPos, yPos, 0.0f), false);
|