HomeSort by relevance Sort by last modified time
    Searched refs:measuredWidth (Results 1 - 25 of 68) sorted by null

1 2 3

  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
PrintDialogFrame.java 39 int measuredWidth = getMeasuredWidth();
43 measuredWidth = mMaxWidth;
48 measuredWidth = Math.min(mMaxWidth, receivedWidth);
67 setMeasuredDimension(measuredWidth, measuredHeight);
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwLayoutSizer.java 56 void setMeasuredDimension(int measuredWidth, int measuredHeight);
160 int measuredWidth = contentWidthPix;
176 measuredWidth = widthSize;
183 if (measuredWidth < contentWidthPix) {
184 measuredWidth |= View.MEASURED_STATE_TOO_SMALL;
187 mDelegate.setMeasuredDimension(measuredWidth, measuredHeight);
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorControlWheelContainer.java 130 int measuredWidth, measuredHeight;
132 measuredWidth = desiredWidth;
134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec));
136 measuredWidth = MeasureSpec.getSize(widthSpec);
145 setMeasuredDimension(measuredWidth, measuredHeight);
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
AwLayoutSizerTest.java 19 public int measuredWidth;
31 public void setMeasuredDimension(int measuredWidth, int measuredHeight) {
33 this.measuredWidth = measuredWidth;
78 assertEquals(contentWidth, delegate.measuredWidth & View.MEASURED_SIZE_MASK);
147 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth);
154 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth & View.MEASURED_SIZE_MASK);
171 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth);
197 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth);
204 assertEquals(AT_MOST_MEASURE_SIZE, delegate.measuredWidth & View.MEASURED_SIZE_MASK)
    [all...]
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
BalloonHint.java 400 int measuredWidth = mPaddingLeft + mPaddingRight;
403 measuredWidth += mIcon.getIntrinsicWidth();
406 measuredWidth += (int) (mPaintLabel.measureText(mLabel));
409 if (widthSize > measuredWidth || widthMode == MeasureSpec.AT_MOST) {
410 measuredWidth = widthSize;
420 if (measuredWidth > maxWidth) {
421 measuredWidth = maxWidth;
423 setMeasuredDimension(measuredWidth, measuredHeight);
SoftKeyboardView.java 163 int measuredWidth = 0;
166 measuredWidth = mSoftKeyboard.getSkbCoreWidth();
168 measuredWidth += mPaddingLeft + mPaddingRight;
171 setMeasuredDimension(measuredWidth, measuredHeight);
CandidatesContainer.java 232 int measuredWidth = env.getScreenWidth();
235 widthMeasureSpec = MeasureSpec.makeMeasureSpec(measuredWidth,
SkbContainer.java 416 int measuredWidth = env.getScreenWidth();
419 widthMeasureSpec = MeasureSpec.makeMeasureSpec(measuredWidth,
  /frameworks/base/graphics/java/android/graphics/
Paint.java     [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
GridAdapter.java 152 * @param measuredWidth
156 int measuredWidth) {
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuPresenter.java 448 final int measuredWidth = v.getMeasuredWidth();
449 widthLimit -= measuredWidth;
451 firstActionWidth = measuredWidth;
481 final int measuredWidth = v.getMeasuredWidth();
482 widthLimit -= measuredWidth;
484 firstActionWidth = measuredWidth;
IconMenuView.java 407 int measuredWidth = resolveSize(Integer.MAX_VALUE, widthMeasureSpec);
408 calculateItemFittingMetadata(measuredWidth);
409 layoutItems(measuredWidth);
418 setMeasuredDimension(measuredWidth,
ActionMenuView.java 371 final int measuredWidth = child.getMeasuredWidth();
372 cellsUsed = measuredWidth / cellSize;
373 if (measuredWidth % cellSize != 0) cellsUsed++;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ActionMenuPresenter.java 430 final int measuredWidth = v.getMeasuredWidth();
431 widthLimit -= measuredWidth;
433 firstActionWidth = measuredWidth;
463 final int measuredWidth = v.getMeasuredWidth();
464 widthLimit -= measuredWidth;
466 firstActionWidth = measuredWidth;
ActionMenuView.java 394 final int measuredWidth = child.getMeasuredWidth();
395 cellsUsed = measuredWidth / cellSize;
396 if (measuredWidth % cellSize != 0) {
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java 138 int measuredWidth = resolveSize(50, widthMeasureSpec);
148 setMeasuredDimension(measuredWidth,
  /external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
AwTestContainerView.java 245 public void setMeasuredDimension(int measuredWidth, int measuredHeight) {
246 AwTestContainerView.super.setMeasuredDimension(measuredWidth, measuredHeight);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowView.java 86 private int measuredWidth = 0;
386 return measuredWidth;
395 public final void setMeasuredDimension(int measuredWidth, int measuredHeight) {
396 this.measuredWidth = measuredWidth;
  /cts/tests/src/android/view/cts/
MockView.java 384 public void setMeasuredDimensionWrapper(int measuredWidth, int measuredHeight) {
385 super.setMeasuredDimension(measuredWidth, measuredHeight);
  /prebuilts/devtools/tools/lib/
ninepatch.jar 
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Paint_Delegate.java 595 float maxWidth, int bidiFlags, float[] measuredWidth) {
621 if (measuredWidth != null) {
622 measuredWidth[measureIndex] = res;
639 float maxWidth, int bidiFlags, float[] measuredWidth) {
641 bidiFlags, measuredWidth);
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
Switch.java 183 final int measuredWidth = getMeasuredWidth();
185 setMeasuredDimension(measuredWidth, switchHeight);
  /packages/apps/Camera2/src/com/android/camera/ui/
Switch.java 174 final int measuredWidth = getMeasuredWidth();
176 setMeasuredDimension(measuredWidth, switchHeight);
  /frameworks/base/core/java/android/widget/
LinearLayout.java 742 final int measuredWidth = child.getMeasuredWidth() + margin;
743 maxWidth = Math.max(maxWidth, measuredWidth);
753 matchWidthLocally ? margin : measuredWidth);
756 matchWidthLocally ? margin : measuredWidth);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBlockLineLayout.cpp 471 float measuredWidth = 0;
498 measuredWidth += renderer->width(wordMeasurement.startOffset, wordLength, xPos, lineInfo.isFirstLine());
500 measuredWidth += renderer->style()->wordSpacing();
502 measuredWidth += wordMeasurement.width;
509 if (measuredWidth && lastEndOffset != run->m_stop) {
511 measuredWidth = 0;
516 if (!measuredWidth)
517 measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow);
519 run->m_box->setLogicalWidth(measuredWidth + hyphenWidth);
    [all...]

Completed in 2326 milliseconds

1 2 3