OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:widthMode
(Results
1 - 25
of
100
) sorted by null
1
2
3
4
/frameworks/base/core/java/com/android/internal/widget/
PreferenceImageView.java
47
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
48
if (
widthMode
== MeasureSpec.AT_MOST ||
widthMode
== MeasureSpec.UNSPECIFIED) {
52
&& (maxWidth < widthSize ||
widthMode
== MeasureSpec.UNSPECIFIED)) {
AlertDialogLayout.java
111
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
210
if (
widthMode
!= MeasureSpec.EXACTLY) {
/packages/apps/Gallery2/src/com/android/photos/views/
SquareImageView.java
40
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
42
if (
widthMode
== MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
PreferenceImageView.java
47
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
48
if (
widthMode
== MeasureSpec.AT_MOST ||
widthMode
== MeasureSpec.UNSPECIFIED) {
52
&& (maxWidth < widthSize ||
widthMode
== MeasureSpec.UNSPECIFIED)) {
ManualLayoutFrame.java
40
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
41
switch (
widthMode
) {
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
FixedAspectSurfaceView.java
85
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
100
if (
widthMode
== MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) {
102
} else if (
widthMode
== MeasureSpec.EXACTLY) {
106
// Height is fixed,
widthMode
either AT_MOST or UNSPECIFIED, so adjust width
108
} else if (
widthMode
== MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) {
120
} else if (
widthMode
== MeasureSpec.AT_MOST) {
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
FixedAspectSurfaceView.java
85
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
100
if (
widthMode
== MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) {
102
} else if (
widthMode
== MeasureSpec.EXACTLY) {
106
// Height is fixed,
widthMode
either AT_MOST or UNSPECIFIED, so adjust width
108
} else if (
widthMode
== MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) {
120
} else if (
widthMode
== MeasureSpec.AT_MOST) {
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
FixedAspectSurfaceView.java
87
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
101
if (
widthMode
== MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) {
103
} else if (
widthMode
== MeasureSpec.EXACTLY) {
107
// Height is fixed,
widthMode
either AT_MOST or UNSPECIFIED, so adjust width
109
} else if (
widthMode
== MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) {
121
} else if (
widthMode
== MeasureSpec.AT_MOST) {
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
FixedAspectSurfaceView.java
88
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
102
if (
widthMode
== MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) {
104
} else if (
widthMode
== MeasureSpec.EXACTLY) {
108
// Height is fixed,
widthMode
either AT_MOST or UNSPECIFIED, so adjust width
110
} else if (
widthMode
== MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) {
122
} else if (
widthMode
== MeasureSpec.AT_MOST) {
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
FixedAspectSurfaceView.java
88
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
102
if (
widthMode
== MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) {
104
} else if (
widthMode
== MeasureSpec.EXACTLY) {
108
// Height is fixed,
widthMode
either AT_MOST or UNSPECIFIED, so adjust width
110
} else if (
widthMode
== MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) {
122
} else if (
widthMode
== MeasureSpec.AT_MOST) {
/frameworks/support/preference/src/main/java/androidx/preference/internal/
PreferenceImageView.java
91
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
92
if (
widthMode
== MeasureSpec.AT_MOST ||
widthMode
== MeasureSpec.UNSPECIFIED) {
96
&& (maxWidth < widthSize ||
widthMode
== MeasureSpec.UNSPECIFIED)) {
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
FixedAspectSurfaceView.java
74
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
88
if (
widthMode
== MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) {
90
} else if (
widthMode
== MeasureSpec.EXACTLY) {
94
// Height is fixed,
widthMode
either AT_MOST or UNSPECIFIED, so adjust width
96
} else if (
widthMode
== MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) {
108
} else if (
widthMode
== MeasureSpec.AT_MOST) {
/frameworks/base/core/java/android/widget/
AnalogClock.java
147
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
155
if (
widthMode
!= MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) {
AbsSpinner.java
177
int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
232
if (
widthMode
== MeasureSpec.UNSPECIFIED) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
PrintOptionsLayout.java
55
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorControlWheelContainer.java
128
int
widthMode
= MeasureSpec.getMode(widthSpec);
131
if (
widthMode
== MeasureSpec.UNSPECIFIED) {
133
} else if (
widthMode
== MeasureSpec.AT_MOST) {
/packages/apps/Messaging/src/com/android/messaging/ui/
LineWrapLayout.java
48
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
50
final boolean isFixedSize = (
widthMode
== MeasureSpec.EXACTLY);
/development/samples/Home/src/com/example/android/home/
ApplicationsStackLayout.java
164
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
170
if (
widthMode
!= MeasureSpec.EXACTLY || heightMode != MeasureSpec.EXACTLY) {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardSecurityViewFlipper.java
201
final int
widthMode
= MeasureSpec.getMode(widthSpec);
203
if (DEBUG &&
widthMode
!= MeasureSpec.AT_MOST) {
234
int width =
widthMode
== MeasureSpec.EXACTLY ? widthSize : 0;
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
CardView.java
233
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
234
switch (
widthMode
) {
239
MeasureSpec.getSize(widthMeasureSpec)),
widthMode
);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
AlertDialogLayout.java
101
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
202
if (
widthMode
!= MeasureSpec.EXACTLY) {
/developers/build/prebuilts/gradle/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
MovieView.java
212
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
216
if (
widthMode
== MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) {
221
} else if (
widthMode
!= MeasureSpec.EXACTLY
/developers/samples/android/media/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
MovieView.java
212
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
216
if (
widthMode
== MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) {
221
} else if (
widthMode
!= MeasureSpec.EXACTLY
/frameworks/base/core/java/android/app/
MediaRouteButton.java
282
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
291
switch (
widthMode
) {
/frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItemView.java
284
final int
widthMode
= MeasureSpec.getMode(widthMeasureSpec);
287
final int targetWidth =
widthMode
== MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
290
if (
widthMode
!= MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
Completed in 666 milliseconds
1
2
3
4