HomeSort by relevance Sort by last modified time
    Searched defs:widthMode (Results 1 - 25 of 98) 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) {
ActionBarContextView.java 302 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
303 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 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) {
  /frameworks/support/v7/preference/src/android/support/v7/internal/widget/
PreferenceImageView.java 88 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
89 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) {
93 && (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/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/android/widget/
AnalogClock.java 148 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
156 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) {
AbsSpinner.java 167 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
222 if (widthMode == MeasureSpec.UNSPECIFIED) {
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
PrintOptionsLayout.java 54 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/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/cardview/src/android/support/v7/widget/
CardView.java 190 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
191 switch (widthMode) {
196 MeasureSpec.getSize(widthMeasureSpec)), widthMode);
  /packages/apps/DeskClock/src/com/android/deskclock/
AnalogClock.java 144 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
152 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) {
  /frameworks/base/core/java/android/app/
MediaRouteButton.java 331 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
340 switch (widthMode) {
  /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/support/v7/appcompat/src/android/support/v7/view/menu/
ActionMenuItemView.java 291 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
294 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
297 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {

Completed in 1190 milliseconds

1 2 3 4