/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/ |
D | CalculatedWorkspaceSpecTest.kt | 58 val widthSpec = in normalPhone_returnsThirdBreakpointSpec() constant 63 assertThat(widthSpec.availableSpace).isEqualTo(availableWidth) in normalPhone_returnsThirdBreakpointSpec() 64 assertThat(widthSpec.cells).isEqualTo(4) in normalPhone_returnsThirdBreakpointSpec() 65 assertThat(widthSpec.startPaddingPx).isEqualTo(58) in normalPhone_returnsThirdBreakpointSpec() 66 assertThat(widthSpec.endPaddingPx).isEqualTo(58) in normalPhone_returnsThirdBreakpointSpec() 67 assertThat(widthSpec.gutterPx).isEqualTo(42) in normalPhone_returnsThirdBreakpointSpec() 68 assertThat(widthSpec.cellSizePx).isEqualTo(210) in normalPhone_returnsThirdBreakpointSpec() 101 val widthSpec = in smallPhone_returnsFirstBreakpointSpec() constant 106 assertThat(widthSpec.availableSpace).isEqualTo(availableWidth) in smallPhone_returnsFirstBreakpointSpec() 107 assertThat(widthSpec.cells).isEqualTo(4) in smallPhone_returnsFirstBreakpointSpec() [all …]
|
D | CalculatedAllAppsSpecTest.kt | 57 val widthSpec = in normalPhone_copiesFromWorkspace() constant 74 widthSpec in normalPhone_copiesFromWorkspace() 79 assertThat(startPaddingPx).isEqualTo(widthSpec.startPaddingPx) in normalPhone_copiesFromWorkspace() 80 assertThat(endPaddingPx).isEqualTo(widthSpec.endPaddingPx) in normalPhone_copiesFromWorkspace() 81 assertThat(gutterPx).isEqualTo(widthSpec.gutterPx) in normalPhone_copiesFromWorkspace() 82 assertThat(cellSizePx).isEqualTo(widthSpec.cellSizePx) in normalPhone_copiesFromWorkspace()
|
D | CalculatedHotseatSpecTest.kt | 103 val widthSpec = in normalPhoneLandscape_returnsSecondBreakpointSpec() constant 106 assertThat(widthSpec.availableSpace).isEqualTo(availableWidth) in normalPhoneLandscape_returnsSecondBreakpointSpec() 107 assertThat(widthSpec.hotseatQsbSpace).isEqualTo(0) in normalPhoneLandscape_returnsSecondBreakpointSpec() 108 assertThat(widthSpec.edgePadding).isEqualTo(168) in normalPhoneLandscape_returnsSecondBreakpointSpec()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ControlPanelLayout.java | 40 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument 41 int widthSpecSize = MeasureSpec.getSize(widthSpec); in onMeasure() 50 mode = MeasureSpec.getMode(widthSpec); in onMeasure() 81 widthSpec = MeasureSpec.makeMeasureSpec(measuredSize, MeasureSpec.EXACTLY); in onMeasure() 86 super.onMeasure(widthSpec, heightSpec); in onMeasure()
|
D | RotateLayout.java | 65 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument 70 measureChild(mChild, widthSpec, heightSpec); in onMeasure() 76 measureChild(mChild, heightSpec, widthSpec); in onMeasure()
|
D | IndicatorControlWheelContainer.java | 117 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument 128 int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure() 134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec)); in onMeasure() 136 measuredWidth = MeasureSpec.getSize(widthSpec); in onMeasure()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | RotateLayout.java | 70 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument 75 measureChild(mChild, widthSpec, heightSpec); in onMeasure() 81 measureChild(mChild, heightSpec, widthSpec); in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTargetBar.java | 147 int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST); in onMeasure() local 154 firstButton.measure(widthSpec, heightSpec); in onMeasure() 189 int widthSpec = MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST); in onMeasure() local 190 firstButton.measure(widthSpec, heightSpec); in onMeasure() 204 widthSpec = MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST); in onMeasure() 206 secondButton.measure(widthSpec, heightSpec); in onMeasure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLView.java | 365 public void measure(int widthSpec, int heightSpec) { in measure() argument 366 if (widthSpec == mLastWidthSpec && heightSpec == mLastHeightSpec in measure() 371 mLastWidthSpec = widthSpec; in measure() 375 onMeasure(widthSpec, heightSpec); in measure() 382 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
|
D | MeasureHelper.java | 45 public void measure(int widthSpec, int heightSpec) { in measure() argument 48 getLength(widthSpec, mPreferredWidth + p.left + p.right), in measure()
|
D | UndoBarView.java | 91 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | PreviewFrameLayout.java | 63 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument 64 int previewWidth = MeasureSpec.getSize(widthSpec); in onMeasure()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ |
D | ScrollableImagePreviewView.kt | 130 override fun onMeasure(widthSpec: Int, heightSpec: Int) { in <lambda>() 131 super.onMeasure(widthSpec, heightSpec) in <lambda>() 134 updateMaxWidthHint(widthSpec) in <lambda>() 140 private fun updateMaxWidthHint(widthSpec: Int) { in <lambda>() 142 if (View.MeasureSpec.getMode(widthSpec) != View.MeasureSpec.UNSPECIFIED) { in <lambda>() 143 maxWidthHint = View.MeasureSpec.getSize(widthSpec) in <lambda>()
|
D | ResolverDrawerLayout.java | 1022 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 1038 measureChildWithMargins(child, widthSpec, 0, 1042 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed); 1058 measureChildWithMargins(child, widthSpec, 0, 1062 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityQuickSettingsTooltipWindow.java | 171 final int widthSpec = in getWindowWidthWith() local 175 textView.measure(widthSpec, heightSpec); in getWindowWidthWith()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PinnedHeaderListView.java | 363 int widthSpec; in ensurePinnedHeaderLayout() local 367 widthSpec = View.MeasureSpec in ensurePinnedHeaderLayout() 370 widthSpec = View.MeasureSpec in ensurePinnedHeaderLayout() 380 view.measure(widthSpec, heightSpec); in ensurePinnedHeaderLayout()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
D | SubtitleView.java | 207 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 209 if (computeMeasurements(widthSpec)) { in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SnackBarManager.java | 290 final int widthSpec = ViewGroup.getChildMeasureSpec( in measureSnackBar() local 296 rootView.measure(widthSpec, heightSpec); in measureSnackBar()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 270 int widthSpec = MeasureSpec.makeMeasureSpec(columnWidth, MeasureSpec.EXACTLY); in makeAndAddColumn() local 271 child.measure(widthSpec, heightSpec); in makeAndAddColumn()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 466 public void measure(int widthSpec, int heightSpec) { in measure() argument 467 mView.measure(widthSpec, heightSpec); in measure()
|