OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:getmeasuredwidth
(Results
1 - 25
of
286
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
CellSpanTest.java
67
int spanWidth = mA.
getMeasuredWidth
() + mB.
getMeasuredWidth
();
69
mSpanThenCell.
getMeasuredWidth
());
74
int spanWidth = mB.
getMeasuredWidth
() + mC.
getMeasuredWidth
();
76
mCellThenSpan.
getMeasuredWidth
());
81
int spanWidth = mA.
getMeasuredWidth
() + mB.
getMeasuredWidth
() +
82
mC.
getMeasuredWidth
();
83
assertEquals("span is broken", spanWidth, mSpan.
getMeasuredWidth
());
[
all
...]
/packages/apps/Camera2/src/com/android/camera/widget/
SettingsCling.java
63
float referenceRight = referenceView.getX() + referenceView.
getMeasuredWidth
();
64
setTranslationX(referenceRight -
getMeasuredWidth
());
70
float triangleStartX =
getMeasuredWidth
() - referenceView.
getMeasuredWidth
() / 2;
82
float triangleStartX =
getMeasuredWidth
() - referenceView.
getMeasuredWidth
() / 2;
FilmstripLayout.java
62
// thus
getMeasuredWidth
() can be 0.
289
mFilmstripContentLayout.setTranslationX(fraction *
getMeasuredWidth
());
294
mFilmstripContentTranslationProgress = pixel /
getMeasuredWidth
();
339
if (dx > 0 && mFilmstripContentLayout.getTranslationX() ==
getMeasuredWidth
()) {
349
if (translate >
getMeasuredWidth
()) {
350
translate =
getMeasuredWidth
();
423
if (mFilmstripContentLayout.getTranslationX() >=
getMeasuredWidth
() / 2) {
487
int width =
getMeasuredWidth
() - mOffset;
494
canvas.drawRect(0, 0,
getMeasuredWidth
(), getMeasuredHeight(), mPaint);
/packages/apps/Gallery/src/com/android/camera/
EvenlySpacedLayout.java
58
width += child.
getMeasuredWidth
();
62
width = Math.max(width, child.
getMeasuredWidth
());
77
usedWidth += child.
getMeasuredWidth
();
88
int w = child.
getMeasuredWidth
();
115
int w = child.
getMeasuredWidth
();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ControlBar.java
76
int measuredWidth = first.
getMeasuredWidth
() + second.
getMeasuredWidth
();
84
setMeasuredDimension(
getMeasuredWidth
() + totalExtraMargin, getMeasuredHeight());
HorizontalHoverCardSwitcher.java
49
if (mCardLeft + view.
getMeasuredWidth
() > rightLimit) {
50
params.leftMargin = rightLimit - view.
getMeasuredWidth
();
/cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java
166
compareScaledPixels(60, textView.
getMeasuredWidth
());
168
assertEquals(textView.
getMeasuredWidth
(), frameLayout.
getMeasuredWidth
());
181
compareScaledPixels(50, button.
getMeasuredWidth
());
183
assertEquals(button.
getMeasuredWidth
(), frameLayout.
getMeasuredWidth
());
195
assertEquals(textView.
getMeasuredWidth
(), frameLayout.
getMeasuredWidth
());
/packages/apps/LegacyCamera/src/com/android/camera/ui/
RotateLayout.java
71
w = mChild.
getMeasuredWidth
();
78
h = mChild.
getMeasuredWidth
();
StackLayout.java
41
int width = child.
getMeasuredWidth
();
/packages/experimental/Bummer/src/com/android/dreams/bummer/
BummerView.java
47
final float framew = parent.
getMeasuredWidth
();
49
final float textw =
getMeasuredWidth
();
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
BummerView.java
47
final float framew = parent.
getMeasuredWidth
();
49
final float textw =
getMeasuredWidth
();
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
GridInHorizontalTest.java
46
assertTrue("Grid has 0 width", mGridView.
getMeasuredWidth
() > 0);
GridInVerticalTest.java
46
assertTrue("Grid has 0 width", mGridView.
getMeasuredWidth
() > 0);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
ListUnspecifiedMeasure.java
50
assertTrue(mListView.
getMeasuredWidth
() > 0);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
NumPadKey.java
145
int left = centerX - mDigitText.
getMeasuredWidth
() / 2;
147
mDigitText.layout(left, top, left + mDigitText.
getMeasuredWidth
(), bottom);
151
left = centerX - mKlondikeText.
getMeasuredWidth
() / 2;
152
mKlondikeText.layout(left, top, left + mKlondikeText.
getMeasuredWidth
(), bottom);
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
WeekButton.java
47
int w =
getMeasuredWidth
();
/packages/apps/Camera/src/com/android/camera/ui/
RotateLayout.java
81
final int w =
getMeasuredWidth
();
109
int w =
getMeasuredWidth
();
139
w = mChild.
getMeasuredWidth
();
146
h = mChild.
getMeasuredWidth
();
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
MaxHeightScrollView.java
38
setMeasuredDimension(
getMeasuredWidth
(), Math.min(getMeasuredHeight(), mMaxHeight));
/packages/apps/Launcher2/src/com/android/launcher2/
Cling.java
125
return new int[]{
getMeasuredWidth
() / 2, getMeasuredHeight() - (mButtonBarHeight / 2)};
127
return new int[]{
getMeasuredWidth
() - (mButtonBarHeight / 2), getMeasuredHeight() / 2};
132
return new int[]{
getMeasuredWidth
() - cornerXOffset, cornerYOffset};
201
Bitmap b = Bitmap.createBitmap(
getMeasuredWidth
(), getMeasuredHeight(),
225
mBackground.setBounds(0, 0,
getMeasuredWidth
(), getMeasuredHeight());
/frameworks/base/test-runner/src/android/test/
ViewAsserts.java
137
int firstRight = xy[0] + first.
getMeasuredWidth
();
140
int secondRight = xy[0] + second.
getMeasuredWidth
();
156
int firstRight = xy[0] + first.
getMeasuredWidth
();
159
int secondRight = xy[0] + second.
getMeasuredWidth
();
290
int center = (reference.
getMeasuredWidth
() - test.
getMeasuredWidth
()) / 2;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
SignalTileView.java
91
left = right - indicator.
getMeasuredWidth
();
94
right = left + indicator.
getMeasuredWidth
();
/packages/apps/Camera2/src/com/android/camera/ui/
RotateLayout.java
76
w = mChild.
getMeasuredWidth
();
83
h = mChild.
getMeasuredWidth
();
/development/samples/ApiDemos/src/com/example/android/apis/view/
CustomLayout.java
102
child.
getMeasuredWidth
() + lp.leftMargin + lp.rightMargin);
105
child.
getMeasuredWidth
() + lp.leftMargin + lp.rightMargin);
108
child.
getMeasuredWidth
() + lp.leftMargin + lp.rightMargin);
153
final int width = child.
getMeasuredWidth
();
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/
ValidationMessageBubble.java
136
final int width = root.
getMeasuredWidth
();
137
final int arrowWidth = root.findViewById(R.id.arrow_image).
getMeasuredWidth
();
150
final int width = mPopup.getContentView().
getMeasuredWidth
();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DebugOverlayView.java
142
addRect(new Rect(
getMeasuredWidth
() - sCornerRectSize, getMeasuredHeight() - sCornerRectSize,
143
getMeasuredWidth
(), getMeasuredHeight()), 0xFFff0000);
150
canvas.drawRect(0, 0,
getMeasuredWidth
(), getMeasuredHeight(), mDebugOutline);
Completed in 737 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>