HomeSort by relevance Sort by last modified time
    Searched refs:widthMode (Results 1 - 25 of 104) 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) {
AlertDialogLayout.java 109 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
208 if (widthMode != MeasureSpec.EXACTLY) {
ScrollingTabContainerView.java 86 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
87 final boolean lockedExpanded = widthMode == MeasureSpec.EXACTLY;
92 (widthMode == MeasureSpec.EXACTLY || widthMode == MeasureSpec.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) {
  /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) {
  /frameworks/support/v7/preference/src/android/support/v7/internal/widget/
PreferenceImageView.java 84 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
85 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) {
89 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) {
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/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) {
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/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) {
  /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/java/tests/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) {
  /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/support/v7/appcompat/src/android/support/v7/widget/
ContentFrameLayout.java 94 final int widthMode = getMode(widthMeasureSpec);
98 if (widthMode == AT_MOST) {
142 if (!fixedWidth && widthMode == AT_MOST) {
LinearLayoutCompat.java 598 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
691 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
823 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY &&
869 if (!allFillParent && widthMode != MeasureSpec.EXACTLY)
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItemView.java 307 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
310 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
313 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
  /frameworks/base/packages/Keyguard/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/appcompat/src/android/support/v7/view/menu/
ActionMenuItemView.java 289 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
292 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
295 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
  /frameworks/support/v7/cardview/src/android/support/v7/widget/
CardView.java 190 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
191 switch (widthMode) {
196 MeasureSpec.getSize(widthMeasureSpec)), widthMode);
  /frameworks/base/core/java/android/widget/
AnalogClock.java 148 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
156 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) {
LinearLayout.java 702 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
798 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/
LineWrapLayout.java 48 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
50 final boolean isFixedSize = (widthMode == MeasureSpec.EXACTLY);
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
CircledImageView.java 312 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
320 if (widthMode == MeasureSpec.EXACTLY) {
322 } else if (widthMode == MeasureSpec.AT_MOST) {

Completed in 651 milliseconds

1 2 3 4 5