HomeSort by relevance Sort by last modified time
    Searched defs:widthMode (Results 1 - 25 of 84) 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)) {
ActionBarContextView.java 337 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
338 if (widthMode != MeasureSpec.EXACTLY) {
ScrollingTabContainerView.java 87 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
88 final boolean lockedExpanded = widthMode == MeasureSpec.EXACTLY;
93 (widthMode == MeasureSpec.EXACTLY || widthMode == MeasureSpec.AT_MOST)) {
  /packages/apps/Browser/src/com/android/browser/view/
SnapshotGridView.java 43 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
49 widthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode);
  /packages/apps/Gallery2/src/com/android/photos/views/
SquareImageView.java 40 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
42 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) {
  /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) {
  /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) {
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwLayoutSizer.java 140 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
150 mWidthMeasurementIsFixed = (widthMode != MeasureSpec.UNSPECIFIED);
  /frameworks/base/core/java/android/widget/
AnalogClock.java 147 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
155 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) {
AbsSpinner.java 170 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
225 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) {
  /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 196 final int widthMode = MeasureSpec.getMode(widthSpec);
198 if (DEBUG && widthMode != MeasureSpec.AT_MOST) {
229 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0;
  /frameworks/support/v7/cardview/src/android/support/v7/widget/
CardView.java 177 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
178 switch (widthMode) {
183 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 330 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
339 switch (widthMode) {
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItemView.java 295 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
298 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
301 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ActionMenuItemView.java 278 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
281 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
284 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AbsSpinnerCompat.java 147 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
203 if (widthMode == MeasureSpec.UNSPECIFIED) {
ActionBarContextView.java 330 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
331 if (widthMode != MeasureSpec.EXACTLY) {
ScrollingTabContainerView.java 94 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
95 final boolean lockedExpanded = widthMode == MeasureSpec.EXACTLY;
100 (widthMode == MeasureSpec.EXACTLY || widthMode == MeasureSpec.AT_MOST)) {
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteButton.java 427 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
436 switch (widthMode) {

Completed in 661 milliseconds

1 2 3 4