HomeSort by relevance Sort by last modified time
    Searched refs:MeasureSpec (Results 126 - 150 of 462) sorted by null

1 2 3 4 56 7 8 91011>>

  /developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
AutoFitTextureView.java 66 int width = MeasureSpec.getSize(widthMeasureSpec);
67 int height = MeasureSpec.getSize(heightMeasureSpec);
  /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
InternalSelectionView.java 104 private int measureWidth(int measureSpec) {
105 int specMode = MeasureSpec.getMode(measureSpec);
106 int specSize = MeasureSpec.getSize(measureSpec);
109 if (specMode == MeasureSpec.EXACTLY) {
112 } else if (specMode == MeasureSpec.AT_MOST) {
119 private int measureHeight(int measureSpec) {
120 int specMode = MeasureSpec.getMode(measureSpec);
    [all...]
  /development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
AutoFitTextureView.java 66 int width = MeasureSpec.getSize(widthMeasureSpec);
67 int height = MeasureSpec.getSize(heightMeasureSpec);
  /development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /external/tensorflow/tensorflow/contrib/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
AutoFitTextureView.java 60 int width = MeasureSpec.getSize(widthMeasureSpec);
61 int height = MeasureSpec.getSize(heightMeasureSpec);
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
AutoFitTextureView.java 62 final int width = MeasureSpec.getSize(widthMeasureSpec);
63 final int height = MeasureSpec.getSize(heightMeasureSpec);
  /frameworks/av/packages/MediaComponents/src/com/android/widget/
BaseLayout.java 72 View.MeasureSpec.getMode(widthMeasureSpec) != View.MeasureSpec.EXACTLY ||
73 View.MeasureSpec.getMode(heightMeasureSpec) != View.MeasureSpec.EXACTLY;
131 childWidthMeasureSpec = View.MeasureSpec.makeMeasureSpec(
132 width, View.MeasureSpec.EXACTLY);
145 childHeightMeasureSpec = View.MeasureSpec.makeMeasureSpec(
146 height, View.MeasureSpec.EXACTLY);
  /frameworks/base/core/tests/coretests/src/android/util/
InternalSelectionView.java 111 private int measureWidth(int measureSpec) {
112 int specMode = MeasureSpec.getMode(measureSpec);
113 int specSize = MeasureSpec.getSize(measureSpec);
116 if (specMode == MeasureSpec.EXACTLY) {
119 } else if (specMode == MeasureSpec.AT_MOST) {
126 private int measureHeight(int measureSpec) {
127 int specMode = MeasureSpec.getMode(measureSpec);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PseudoGridView.java 68 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.UNSPECIFIED) {
71 int width = MeasureSpec.getSize(widthMeasureSpec);
74 int childWidthSpec = MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY);
75 int childHeightSpec = MeasureSpec.UNSPECIFIED;
88 int maxHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.EXACTLY);
SignalTileView.java 86 int hs = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.EXACTLY);
87 int ws = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.AT_MOST);
101 return MeasureSpec.AT_MOST;
  /frameworks/support/media-widget/src/main/java/androidx/media/widget/
BaseLayout.java 84 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY
85 || MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY;
145 childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(
146 width, MeasureSpec.EXACTLY);
158 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(
159 height, MeasureSpec.EXACTLY);
  /frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
PercentFrameTest.java 188 View.MeasureSpec.makeMeasureSpec(mContainerWidth, View.MeasureSpec.EXACTLY),
189 View.MeasureSpec.makeMeasureSpec(mContainerHeight, View.MeasureSpec.EXACTLY));
230 View.MeasureSpec.makeMeasureSpec(mContainerWidth, View.MeasureSpec.EXACTLY),
231 View.MeasureSpec.makeMeasureSpec(mContainerHeight, View.MeasureSpec.EXACTLY));
  /packages/apps/Dialer/java/com/android/incallui/answer/impl/
FixedAspectSurfaceView.java 69 int width = MeasureSpec.getSize(widthMeasureSpec);
70 int height = MeasureSpec.getSize(heightMeasureSpec);
  /system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
AutoFitTextureView.java 63 int width = MeasureSpec.getSize(widthMeasureSpec);
64 int height = MeasureSpec.getSize(heightMeasureSpec);
  /developers/build/prebuilts/gradle/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
MovieView.java 211 final int width = MeasureSpec.getSize(widthMeasureSpec);
212 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
213 final int height = MeasureSpec.getSize(heightMeasureSpec);
214 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
216 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) {
219 MeasureSpec.makeMeasureSpec(
220 (int) (width * aspectRatio), MeasureSpec.EXACTLY));
221 } else if (widthMode != MeasureSpec.EXACTLY
222 && heightMode == MeasureSpec.EXACTLY)
    [all...]
  /developers/samples/android/media/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
MovieView.java 211 final int width = MeasureSpec.getSize(widthMeasureSpec);
212 final int widthMode = MeasureSpec.getMode(widthMeasureSpec);
213 final int height = MeasureSpec.getSize(heightMeasureSpec);
214 final int heightMode = MeasureSpec.getMode(heightMeasureSpec);
216 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) {
219 MeasureSpec.makeMeasureSpec(
220 (int) (width * aspectRatio), MeasureSpec.EXACTLY));
221 } else if (widthMode != MeasureSpec.EXACTLY
222 && heightMode == MeasureSpec.EXACTLY)
    [all...]
  /frameworks/base/apct-tests/perftests/core/src/android/widget/
EditTextLongTextPerfTest.java 37 import android.view.View.MeasureSpec;
100 editText.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
101 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
  /frameworks/base/core/java/com/android/internal/view/menu/
MenuPopup.java 25 import android.view.View.MeasureSpec;
144 final int widthMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
145 final int heightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
  /frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
GlifRecyclerLayoutTest.java 37 import android.view.View.MeasureSpec;
101 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY),
102 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY));
SetupWizardRecyclerLayoutTest.java 38 import android.view.View.MeasureSpec;
102 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY),
103 MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY));
  /frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
CardPresenter.java 22 import android.view.View.MeasureSpec;
65 v.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED);
68 v.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED);
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
MenuPopup.java 23 import android.view.View.MeasureSpec;
147 final int widthMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
148 final int heightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);

Completed in 2413 milliseconds

1 2 3 4 56 7 8 91011>>