Home
last modified time | relevance | path

Searched refs:measuredWidth (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwLayoutSizerTest.java19 public int measuredWidth; field in AwLayoutSizerTest.LayoutSizerDelegate
31 public void setMeasuredDimension(int measuredWidth, int measuredHeight) { in setMeasuredDimension() argument
33 this.measuredWidth = measuredWidth; in setMeasuredDimension()
78 assertEquals(contentWidth, delegate.measuredWidth & View.MEASURED_SIZE_MASK); in testCanQueryContentSize()
147 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth); in testContentHeightGrowsTillAtMostSize()
154 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth & View.MEASURED_SIZE_MASK); in testContentHeightGrowsTillAtMostSize()
171 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth); in testContentHeightGrowthRequestsLayoutInAtMostSizeMode()
197 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth); in testContentHeightShrinksAfterAtMostSize()
204 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth & View.MEASURED_SIZE_MASK); in testContentHeightShrinksAfterAtMostSize()
218 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth); in testContentHeightShrinksAfterAtMostSize()
[all …]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwLayoutSizer.java56 void setMeasuredDimension(int measuredWidth, int measuredHeight); in setMeasuredDimension() argument
160 int measuredWidth = contentWidthPix; in onMeasure() local
176 measuredWidth = widthSize; in onMeasure()
183 if (measuredWidth < contentWidthPix) { in onMeasure()
184 measuredWidth |= View.MEASURED_STATE_TOO_SMALL; in onMeasure()
187 mDelegate.setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
DAwContents.java123 void setMeasuredDimension(int measuredWidth, int measuredHeight); in setMeasuredDimension() argument
333 public void setMeasuredDimension(int measuredWidth, int measuredHeight) { in setMeasuredDimension() argument
334 mInternalAccessAdapter.setMeasuredDimension(measuredWidth, measuredHeight); in setMeasuredDimension()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowView.java86 private int measuredWidth = 0; field in ShadowView
386 return measuredWidth; in getMeasuredWidth()
395 public final void setMeasuredDimension(int measuredWidth, int measuredHeight) { in setMeasuredDimension() argument
396 this.measuredWidth = measuredWidth; in setMeasuredDimension()
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
DAwTestContainerView.java245 public void setMeasuredDimension(int measuredWidth, int measuredHeight) { in setMeasuredDimension() argument
246 AwTestContainerView.super.setMeasuredDimension(measuredWidth, measuredHeight); in setMeasuredDimension()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBlockLineLayout.cpp471 float measuredWidth = 0; in setLogicalWidthForTextRun() local
498measuredWidth += renderer->width(wordMeasurement.startOffset, wordLength, xPos, lineInfo.isFirstLi… in setLogicalWidthForTextRun()
500 measuredWidth += renderer->style()->wordSpacing(); in setLogicalWidthForTextRun()
502 measuredWidth += wordMeasurement.width; in setLogicalWidthForTextRun()
509 if (measuredWidth && lastEndOffset != run->m_stop) { in setLogicalWidthForTextRun()
511 measuredWidth = 0; in setLogicalWidthForTextRun()
516 if (!measuredWidth) in setLogicalWidthForTextRun()
517measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, lineInfo.isFirstLi… in setLogicalWidthForTextRun()
519 run->m_box->setLogicalWidth(measuredWidth + hyphenWidth); in setLogicalWidthForTextRun()
/external/chromium_org/third_party/skia/src/core/
DSkPaint.cpp1187 SkScalar* measuredWidth, in breakText() argument
1190 if (measuredWidth) { in breakText()
1191 *measuredWidth = 0; in breakText()
1197 if (measuredWidth) { in breakText()
1198 *measuredWidth = 0; in breakText()
1253 if (measuredWidth) { in breakText()
1258 *measuredWidth = scalarWidth; in breakText()
/external/skia/src/core/
DSkPaint.cpp1187 SkScalar* measuredWidth, in breakText() argument
1190 if (measuredWidth) { in breakText()
1191 *measuredWidth = 0; in breakText()
1197 if (measuredWidth) { in breakText()
1198 *measuredWidth = 0; in breakText()
1253 if (measuredWidth) { in breakText()
1258 *measuredWidth = scalarWidth; in breakText()
/external/chromium_org/third_party/skia/include/core/
DSkPaint.h852 SkScalar* measuredWidth = NULL,
/external/skia/include/core/
DSkPaint.h852 SkScalar* measuredWidth = NULL,