OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:widthSize
(Results
1 - 25
of
104
) sorted by null
1
2
3
4
5
/developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
SquareFrameLayout.java
47
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
50
if (
widthSize
== 0 && heightSize == 0) {
61
if (
widthSize
== 0 || heightSize == 0) {
64
size = Math.max(
widthSize
, heightSize);
68
size = Math.min(
widthSize
, heightSize);
/developers/samples/android/ui/activityscenetransition/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/
SquareFrameLayout.java
47
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
50
if (
widthSize
== 0 && heightSize == 0) {
61
if (
widthSize
== 0 || heightSize == 0) {
64
size = Math.max(
widthSize
, heightSize);
68
size = Math.min(
widthSize
, heightSize);
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
SquareFrameLayout.java
47
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
50
if (
widthSize
== 0 && heightSize == 0) {
61
if (
widthSize
== 0 || heightSize == 0) {
64
size = Math.max(
widthSize
, heightSize);
68
size = Math.min(
widthSize
, heightSize);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
ButtonBarLayout.java
53
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
56
if (
widthSize
> mLastWidthSize && isStacked()) {
61
mLastWidthSize =
widthSize
;
71
initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
widthSize
, MeasureSpec.AT_MOST);
PreferenceImageView.java
49
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
52
&& (maxWidth <
widthSize
|| widthMode == MeasureSpec.UNSPECIFIED)) {
/frameworks/base/core/java/com/android/internal/widget/
PreferenceImageView.java
49
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
52
&& (maxWidth <
widthSize
|| widthMode == MeasureSpec.UNSPECIFIED)) {
ButtonBarLayout.java
70
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
73
if (
widthSize
> mLastWidthSize && isStacked()) {
78
mLastWidthSize =
widthSize
;
88
initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
widthSize
, MeasureSpec.AT_MOST);
MessagingLinearLayout.java
93
int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
96
|| mLastMeasuredWidth !=
widthSize
;
205
mLastMeasuredWidth =
widthSize
;
/packages/apps/Settings/src/com/android/settings/graph/
BottomLabelLayout.java
48
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
57
initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
widthSize
, MeasureSpec.AT_MOST);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
ButtonBarLayout.java
73
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
76
if (
widthSize
> mLastWidthSize && isStacked()) {
81
mLastWidthSize =
widthSize
;
91
initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
widthSize
, MeasureSpec.AT_MOST);
ActionMenuView.java
155
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
156
if (mFormatItems && mMenu != null &&
widthSize
!= mFormatItemsWidth) {
157
mFormatItemsWidth =
widthSize
;
178
int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
187
widthSize
-= widthPadding;
190
final int cellCount =
widthSize
/ mMinCellSize;
191
final int cellSizeRemaining =
widthSize
% mMinCellSize;
195
setMeasuredDimension(
widthSize
, 0);
385
setMeasuredDimension(
widthSize
, heightSize);
ContentFrameLayout.java
113
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
115
Math.min(w,
widthSize
), EXACTLY);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
ButtonBarLayout.java
48
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
66
if (getMeasuredWidth() >
widthSize
) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
PrintOptionsLayout.java
55
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
57
final int columnWidth = (
widthSize
!= 0)
58
? (
widthSize
- mPaddingLeft - mPaddingRight) / mColumnCount : 0;
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
PreferenceImageView.java
92
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
95
&& (maxWidth <
widthSize
|| widthMode == MeasureSpec.UNSPECIFIED)) {
/packages/apps/Messaging/src/com/android/messaging/ui/
LineWrapLayout.java
49
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec) - startPadding - endPadding;
55
int childWidthSpec = MeasureSpec.makeMeasureSpec(
widthSize
, MeasureSpec.AT_MOST);
75
if ((x + childMeasuredWidth) >
widthSize
) {
92
int width = isFixedSize ?
widthSize
: maxLineWidth;
/frameworks/base/core/java/android/widget/
ActionMenuView.java
152
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
153
if (mFormatItems && mMenu != null &&
widthSize
!= mFormatItemsWidth) {
154
mFormatItemsWidth =
widthSize
;
175
int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
184
widthSize
-= widthPadding;
187
final int cellCount =
widthSize
/ mMinCellSize;
188
final int cellSizeRemaining =
widthSize
% mMinCellSize;
192
setMeasuredDimension(
widthSize
, 0);
382
setMeasuredDimension(
widthSize
, heightSize);
AnalogClock.java
148
int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
155
if (widthMode != MeasureSpec.UNSPECIFIED &&
widthSize
< mDialWidth) {
156
hScale = (float)
widthSize
/ (float) mDialWidth;
ImageView.java
[
all
...]
AbsSpinner.java
178
int
widthSize
;
241
widthSize
= resolveSizeAndState(preferredWidth, widthMeasureSpec, 0);
243
setMeasuredDimension(
widthSize
, heightSize);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardSecurityViewFlipper.java
203
final int
widthSize
= MeasureSpec.getSize(widthSpec);
205
int maxWidth =
widthSize
;
225
int width = widthMode == MeasureSpec.EXACTLY ?
widthSize
: 0;
236
width = Math.max(width, Math.min(child.getMeasuredWidth(),
widthSize
- wPadding));
/frameworks/base/core/java/android/app/
MediaRouteButton.java
280
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
293
measuredWidth =
widthSize
;
296
measuredWidth = Math.min(
widthSize
, width);
/frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItemView.java
285
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
287
final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(
widthSize
, mMinWidth)
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
ActionMenuItemView.java
277
final int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
279
final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(
widthSize
, mMinWidth)
/frameworks/ex/widget/java/com/android/ex/widget/
StaggeredGridView.java
617
int
widthSize
= MeasureSpec.getSize(widthMeasureSpec);
622
"Using fallback spec of EXACTLY " +
widthSize
);
631
setMeasuredDimension(
widthSize
, heightSize);
634
final int colCount =
widthSize
/ mMinColWidth;
775
final int
widthSize
= colWidth * span + itemMargin * (span - 1);
778
final int widthSpec = MeasureSpec.makeMeasureSpec(
widthSize
, MeasureSpec.EXACTLY);
[
all
...]
Completed in 871 milliseconds
1
2
3
4
5