/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | WrapContentBasicTest.java | 47 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()
|
D | DefaultMeasureSpecTest.java | 21 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()
|
D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 39 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()
|
D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 116 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()
|
D | BaseWrapContentTest.java | 95 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()
|
D | StaggeredGridLayoutManagerWrapContentTest.java | 108 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/ |
D | PreferenceImageView.java | 48 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()
|
D | AlertDialogLayout.java | 117 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()
|
D | NumericTextView.java | 220 measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in updateMinimumWidth()
|
D | SlidingTab.java | 406 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/ |
D | ScanResult.java | 269 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/ |
D | PreferenceImageView.java | 89 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/ |
D | CardPresenter.java | 58 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/ |
D | UploadedTexture.java | 139 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()
|
D | BasicTexture.java | 32 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/ |
D | HorizontalHoverCardSwitcher.java | 49 view.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); in onViewSelected()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/ |
D | PipRecentsOverlayManager.java | 34 import static android.view.View.MeasureSpec.UNSPECIFIED; 102 mOverlayView.measure(UNSPECIFIED, UNSPECIFIED); in initViews()
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ColorUtils.h | 46 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/ |
D | FlowLayout.java | 51 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/ |
D | MenuPopup.java | 144 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/ |
D | MenuPopup.java | 146 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/ |
D | ViewFocusAnimator.java | 140 mTargetView.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in changeSize()
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 40 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/ |
D | ThemePreviewLayout.java | 105 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/ |
D | CaptioningManager.java | 288 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
|