Home
last modified time | relevance | path

Searched refs:UNSPECIFIED (Results 1 – 25 of 118) sorted by relevance

12345

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DWrapContentBasicTest.java47 private static int UNSPECIFIED = View.MeasureSpec field in WrapContentBasicTest
48 .makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
117 mLayoutManager.setMeasuredDimensionFromChildren(UNSPECIFIED, UNSPECIFIED); in setDimensionsFromChildrenAnsSpec3()
141 mLayoutManager.setMeasuredDimensionFromChildren(UNSPECIFIED, UNSPECIFIED); in setDimensionsFromChildrenAnsSpec5()
145 mLayoutManager.setMeasuredDimensionFromChildren(UNSPECIFIED, UNSPECIFIED); in setDimensionsFromChildrenAnsSpec5()
157 mLayoutManager.setMeasuredDimensionFromChildren(UNSPECIFIED, UNSPECIFIED); in setDimensionsFromChildrenAnsSpec6()
161 mLayoutManager.setMeasuredDimensionFromChildren(UNSPECIFIED, UNSPECIFIED); in setDimensionsFromChildrenAnsSpec6()
DDefaultMeasureSpecTest.java21 import static android.view.View.MeasureSpec.UNSPECIFIED;
77 new Object[]{null, makeMeasureSpec(10, EXACTLY), makeMeasureSpec(100, UNSPECIFIED), in param()
79 new Object[]{null, makeMeasureSpec(10, UNSPECIFIED), makeMeasureSpec(100, EXACTLY), in param()
92 new Object[]{null, makeMeasureSpec(10, EXACTLY), makeMeasureSpec(100, UNSPECIFIED), in param()
94 new Object[]{null, makeMeasureSpec(10, UNSPECIFIED), makeMeasureSpec(100, EXACTLY), in param()
130 case UNSPECIFIED: in testWithLargerMinHeight()
145 case UNSPECIFIED: in testWithLargerMinWidth()
170 if (mode == View.MeasureSpec.UNSPECIFIED) { in log()
DGridLayoutManagerWrapContentWithAspectRatioTest.java39 import static android.view.View.MeasureSpec.UNSPECIFIED;
140 MeasureSpecMatcher.mode(UNSPECIFIED)); in testChildWithMultipleSpans()
142 MeasureSpecMatcher.mode(UNSPECIFIED)); in testChildWithMultipleSpans()
155 MeasureSpecMatcher.mode(UNSPECIFIED)); in testChildWithMultipleSpans()
218 MeasureSpecMatcher.mode(UNSPECIFIED)); in testChildWithMatchParentInOtherDirection()
220 MeasureSpecMatcher.mode(UNSPECIFIED)); in testChildWithMatchParentInOtherDirection()
233 MeasureSpecMatcher.mode(UNSPECIFIED)); in testChildWithMatchParentInOtherDirection()
294 MeasureSpecMatcher.mode(UNSPECIFIED)); in testAllChildrenWrapContentInOtherDirection()
296 MeasureSpecMatcher.mode(UNSPECIFIED)); in testAllChildrenWrapContentInOtherDirection()
DLinearLayoutManagerWrapContentWithAspectRatioTest.java116 wrapContent.hSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in wrapContentAffectsOtherOrientation()
120 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in wrapContentAffectsOtherOrientation()
174 MeasureSpecMatcher.is(0, View.MeasureSpec.UNSPECIFIED)); in wrapContentAffectsOtherOrientation()
183 MeasureSpecMatcher.is(0, View.MeasureSpec.UNSPECIFIED)); in wrapContentAffectsOtherOrientation()
193 MeasureSpecMatcher.is(0, View.MeasureSpec.UNSPECIFIED)); in wrapContentAffectsOtherOrientation()
DBaseWrapContentTest.java95 lp.wSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED); in unspecifiedWithHintTest()
98 lp.hSpec = View.MeasureSpec.makeMeasureSpec(25, View.MeasureSpec.UNSPECIFIED); in unspecifiedWithHintTest()
131 wrapContent.hSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in testScenerio()
134 wrapContent.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in testScenerio()
553 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in toLayoutParams()
556 lp.hSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in toLayoutParams()
DStaggeredGridLayoutManagerWrapContentTest.java108 lp.wSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in testUnspecifiedWidth()
128 lp.hSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in testUnspecifiedHeight()
/frameworks/base/core/java/com/android/internal/widget/
DPreferenceImageView.java48 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
52 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
58 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
DAlertDialogLayout.java117 topPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
126 buttonPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
137 if (heightMode == MeasureSpec.UNSPECIFIED) { in tryOnMeasure()
138 childHeightSpec = MeasureSpec.UNSPECIFIED; in tryOnMeasure()
DNumericTextView.java220 measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in updateMinimumWidth()
DSlidingTab.java406 tab.measure(View.MeasureSpec.makeSafeMeasureSpec(width, View.MeasureSpec.UNSPECIFIED), in measure()
407 View.MeasureSpec.makeSafeMeasureSpec(height, View.MeasureSpec.UNSPECIFIED)); in measure()
408 text.measure(View.MeasureSpec.makeSafeMeasureSpec(width, View.MeasureSpec.UNSPECIFIED), in measure()
409 View.MeasureSpec.makeSafeMeasureSpec(height, View.MeasureSpec.UNSPECIFIED)); in measure()
488 if (widthSpecMode == MeasureSpec.UNSPECIFIED in onMeasure()
489 || heightSpecMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java269 public final static int UNSPECIFIED = -1; field in ScanResult
370 this.distanceCm = UNSPECIFIED; in ScanResult()
371 this.distanceSdCm = UNSPECIFIED; in ScanResult()
372 this.channelWidth = UNSPECIFIED; in ScanResult()
373 this.centerFreq0 = UNSPECIFIED; in ScanResult()
374 this.centerFreq1 = UNSPECIFIED; in ScanResult()
390 this.channelWidth = UNSPECIFIED; in ScanResult()
391 this.centerFreq0 = UNSPECIFIED; in ScanResult()
392 this.centerFreq1 = UNSPECIFIED; in ScanResult()
487 sb.append(", distance: ").append((distanceCm != UNSPECIFIED ? distanceCm : "?")). in toString()
[all …]
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
DPreferenceImageView.java89 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
93 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
99 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
103 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DCardPresenter.java58 v.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in setupRowHeights()
61 v.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in setupRowHeights()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java139 if (mWidth == UNSPECIFIED) { in getBitmap()
154 if (mWidth == UNSPECIFIED) getBitmap(); in getWidth()
160 if (mWidth == UNSPECIFIED) getBitmap(); in getHeight()
171 mWidth = UNSPECIFIED; in invalidateContent()
172 mHeight = UNSPECIFIED; in invalidateContent()
DBasicTexture.java32 protected static final int UNSPECIFIED = -1; field in BasicTexture
44 protected int mWidth = UNSPECIFIED;
45 protected int mHeight = UNSPECIFIED;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DHorizontalHoverCardSwitcher.java49 view.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in onViewSelected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipRecentsOverlayManager.java34 import static android.view.View.MeasureSpec.UNSPECIFIED;
102 mOverlayView.measure(UNSPECIFIED, UNSPECIFIED); in initViews()
/frameworks/av/include/media/stagefright/foundation/
DColorUtils.h46 kColorStandardUnspecified = GET_HAL_BITFIELD(STANDARD, UNSPECIFIED),
70 kColorTransferUnspecified = GET_HAL_BITFIELD(TRANSFER, UNSPECIFIED),
90 kColorRangeUnspecified = GET_HAL_BITFIELD(RANGE, UNSPECIFIED),
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFlowLayout.java51 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure()
72 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.UNSPECIFIED) { in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopup.java144 final int widthMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureIndividualMenuWidth()
145 final int heightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureIndividualMenuWidth()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuPopup.java146 final int widthMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureIndividualMenuWidth()
147 final int heightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in measureIndividualMenuWidth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
DViewFocusAnimator.java140 mTargetView.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in changeSize()
/frameworks/base/cmds/settings/src/com/android/commands/settings/
DSettingsCmd.java40 UNSPECIFIED, enumConstant
50 CommandVerb mVerb = CommandVerb.UNSPECIFIED;
85 } else if (mVerb == CommandVerb.UNSPECIFIED) { in run()
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DThemePreviewLayout.java105 int childWidthSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure()
106 int childHeightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure()
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java288 private static final CaptionStyle UNSPECIFIED; field in CaptioningManager.CaptionStyle
510 UNSPECIFIED = new CaptionStyle(COLOR_UNSPECIFIED, COLOR_UNSPECIFIED,
516 WHITE_ON_BLACK, BLACK_ON_WHITE, YELLOW_ON_BLACK, YELLOW_ON_BLUE, UNSPECIFIED

12345