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

1 2 3 4 5

  /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)) {
WeightedLinearLayout.java 62 final int widthMode = getMode(widthMeasureSpec);
73 if (widthMode == AT_MOST) {
  /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) {
  /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) {
  /packages/apps/Gallery2/src/com/android/photos/views/
SquareImageView.java 40 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
42 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) {
  /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/v7/preference/src/android/support/v7/internal/widget/
PreferenceImageView.java 90 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
91 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) {
95 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) {
  /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) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
UserGridView.java 117 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
119 if (widthMode == MeasureSpec.UNSPECIFIED) {
  /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) {
  /frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
ActionMenuItemView.java 276 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
279 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
282 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ContentFrameLayout.java 98 final int widthMode = getMode(widthMeasureSpec);
102 if (widthMode == AT_MOST) {
146 if (!fixedWidth && widthMode == AT_MOST) {
LinearLayoutCompat.java 604 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
697 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
829 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY &&
    [all...]
  /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) {
220 } 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) {
220 } else if (widthMode != MeasureSpec.EXACTLY
  /frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardSecurityViewFlipper.java 192 final int widthMode = MeasureSpec.getMode(widthSpec);
194 if (DEBUG && widthMode != MeasureSpec.AT_MOST) {
225 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0;
  /frameworks/support/v7/cardview/src/android/support/v7/widget/
CardView.java 191 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
192 switch (widthMode) {
197 MeasureSpec.getSize(widthMeasureSpec)), widthMode);
  /packages/apps/Car/Radio/src/com/android/car/radio/
CarouselView.java 204 int widthMode = MeasureSpec.getMode(widthSpec);
215 if (widthMode == MeasureSpec.UNSPECIFIED) {
311 int width = widthMode == MeasureSpec.EXACTLY
  /frameworks/base/core/java/android/widget/
AnalogClock.java 147 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
155 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) {
  /packages/apps/Messaging/src/com/android/messaging/ui/
LineWrapLayout.java 48 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
50 final boolean isFixedSize = (widthMode == MeasureSpec.EXACTLY);

Completed in 709 milliseconds

1 2 3 4 5