HomeSort by relevance Sort by last modified time
    Searched full:maxwidth (Results 1 - 25 of 385) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
completion5-expected-applyCompletion40.diff 1 Code completion in completion5.xml for android:id='@+id/button2'^ selecting android:maxWidth:
4 + android:id='@+id/button2' android:maxWidth="^"
  /external/chromium_org/tools/grit/grit/testdata/
email_thread.html 3 <blockquote [MAXWIDTH]>
  /external/chromium/chrome/browser/ui/cocoa/tab_contents/
sad_tab_view.mm 64 CGFloat maxWidth = NSWidth(newBounds) - (kTabHorzMargin * 2);
69 CGFloat iconX = (maxWidth - NSWidth(iconFrame)) / 2;
81 CGFloat titleX = (maxWidth - NSWidth(titleFrame)) / 2;
91 if (messageSize_.width > maxWidth) { // Need to wrap message.
92 [message_ setFrameSize:NSMakeSize(maxWidth, messageSize_.height)];
95 messageFrame.size.width = maxWidth;
103 messageFrame.origin.x = (maxWidth - NSWidth(messageFrame)) / 2;
114 CGFloat linkX = (maxWidth - NSWidth(linkFrame)) / 2;
  /external/chromium_org/third_party/WebKit/Source/platform/text/
StringTruncator.cpp 111 static String truncateString(const String& string, float maxWidth, const Font& font, TruncationFunction truncateToBuffer, bool disableRoundingHacks)
116 ASSERT(maxWidth >= 0);
135 if (width <= maxWidth)
144 if (currentEllipsisWidth >= maxWidth) {
150 ASSERT(widthForLargestKnownToFit <= maxWidth);
151 ASSERT(widthForSmallestKnownToNotFit > maxWidth);
155 keepCount = static_cast<unsigned>(maxWidth * ratio);
171 if (width <= maxWidth) {
191 String StringTruncator::centerTruncate(const String& string, float maxWidth, const Font& font, EnableRoundingHacksOrNot enableRoundingHacks)
193 return truncateString(string, maxWidth, font, centerTruncateToBuffer, !enableRoundingHacks)
    [all...]
StringTruncator.h 43 static String centerTruncate(const String&, float maxWidth, const Font&, EnableRoundingHacksOrNot = DisableRoundingHacks);
44 static String rightTruncate(const String&, float maxWidth, const Font&, EnableRoundingHacksOrNot = DisableRoundingHacks);
  /external/chromium_org/third_party/WebKit/Source/web/
PageScaleConstraintsSet.cpp 146 if (description.maxWidth.isAuto() || description.maxWidth.type() == ExtendToZoom)
148 if (useWideViewport || description.maxWidth == Length(100, ViewportPercentageWidth))
167 if (wideViewportQuirkEnabled && (!useWideViewport || description.maxWidth == Length(100, ViewportPercentageWidth))) {
174 if (useWideViewport && (description.maxWidth.isAuto() || description.maxWidth.type() == ExtendToZoom) && description.zoom != 1.0f) {
178 const float nonWideScale = description.zoom < 1 && !description.maxWidth.isViewportPercentage() ? -1 : oldInitialScale;
181 if (m_userAgentConstraints.initialScale != -1 && (description.maxWidth == Length(100, ViewportPercentageWidth) || ((description.maxWidth.isAuto() || description.maxWidth.type() == ExtendToZoom) && description.zoom == -1)))
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardSecurityViewFlipper.java 191 int maxWidth = widthSize;
198 if (lp.maxWidth > 0 && lp.maxWidth < maxWidth) {
199 maxWidth = lp.maxWidth;
208 maxWidth -= wPadding;
217 final int childWidthSpec = makeChildMeasureSpec(maxWidth, lp.width);
250 public int maxWidth;
262 maxWidth = other.maxWidth
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/tab_contents/
sad_tab_view.mm 66 CGFloat maxWidth = NSWidth(newBounds) - (kTabHorzMargin * 2);
71 CGFloat iconX = (maxWidth - NSWidth(iconFrame)) / 2;
83 CGFloat titleX = (maxWidth - NSWidth(titleFrame)) / 2;
93 if (messageSize_.width > maxWidth) { // Need to wrap message.
94 [message_ setFrameSize:NSMakeSize(maxWidth, messageSize_.height)];
97 messageFrame.size.width = maxWidth;
105 messageFrame.origin.x = (maxWidth - NSWidth(messageFrame)) / 2;
116 [help_.get() setFrameSize:NSMakeSize(maxWidth, helpHeight)];
119 CGFloat helpX = (maxWidth - NSWidth(helpFrame)) / 2;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
FixedTableLayout.h 36 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) OVERRIDE;
37 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const OVERRIDE;
AutoTableLayout.h 39 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) OVERRIDE;
40 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const OVERRIDE;
TableLayout.h 42 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) = 0;
43 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const = 0;
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
MultiLineTexture.java 39 String text, int maxWidth, float textSize, int color,
43 maxWidth, alignment, 1, 0, true, null, 0);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PictureLayout.java 86 int maxWidth = 0;
95 maxWidth += getPaddingLeft() + getPaddingRight();
101 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth());
104 setMeasuredDimension(resolveSize(maxWidth, widthMeasureSpec),
  /frameworks/base/core/java/android/widget/
AbsoluteLayout.java 60 int maxWidth = 0;
78 maxWidth = Math.max(maxWidth, childRight);
84 maxWidth += mPaddingLeft + mPaddingRight;
89 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth());
91 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, 0),
  /frameworks/base/core/java/com/android/internal/widget/multiwaveview/
TargetDrawable.java 124 int maxWidth = 0;
128 maxWidth = Math.max(maxWidth, childDrawable.getIntrinsicWidth());
132 + maxWidth + "x" + maxHeight);
133 d.setBounds(0, 0, maxWidth, maxHeight);
137 + maxWidth + "x" + maxHeight);
138 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
  /packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
TargetDrawable.java 126 int maxWidth = 0;
132 maxWidth = Math.max(maxWidth, childDrawable.getIntrinsicWidth());
137 + maxWidth + "x" + maxHeight);
138 d.setBounds(0, 0, maxWidth, maxHeight);
144 + maxWidth + "x" + maxHeight);
145 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
  /packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
TargetDrawable.java 126 int maxWidth = 0;
132 maxWidth = Math.max(maxWidth, childDrawable.getIntrinsicWidth());
137 + maxWidth + "x" + maxHeight);
138 d.setBounds(0, 0, maxWidth, maxHeight);
144 + maxWidth + "x" + maxHeight);
145 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
CustomLayout.java 86 int maxWidth = 0;
101 mLeftWidth += Math.max(maxWidth,
104 mRightWidth += Math.max(maxWidth,
107 maxWidth = Math.max(maxWidth,
117 maxWidth += mLeftWidth + mRightWidth;
121 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth());
124 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
  /external/chromium_org/third_party/sfntly/cpp/src/test/
hdmx_test.cc 49 EXPECT_EQ(hdmx_table->MaxWidth(i), HDMX_MAX_WIDTH[i]);
68 EXPECT_EQ(hdmx_table->MaxWidth(4), -1);
69 EXPECT_EQ(hdmx_table->MaxWidth(-1), -1);
  /external/sfntly/cpp/src/test/
hdmx_test.cc 49 EXPECT_EQ(hdmx_table->MaxWidth(i), HDMX_MAX_WIDTH[i]);
68 EXPECT_EQ(hdmx_table->MaxWidth(4), -1);
69 EXPECT_EQ(hdmx_table->MaxWidth(-1), -1);
  /development/tools/recovery_l10n/res/layout/
main.xml 24 android:maxWidth="480px"
  /packages/apps/Launcher2/res/values-port/
styles.xml 23 <item name="android:maxWidth">130dp</item>
  /packages/apps/Launcher2/res/values-sw720dp-port/
styles.xml 22 <item name="android:maxWidth">180dp</item>
  /packages/apps/Launcher3/res/values-port/
styles.xml 23 <item name="android:maxWidth">130dp</item>
  /packages/apps/Launcher3/res/values-sw720dp-port/
styles.xml 22 <item name="android:maxWidth">180dp</item>

Completed in 993 milliseconds

1 2 3 4 5 6 7 8 91011>>