Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 18 of 18) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DFixedAspectRatioImageView.java59 width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
60 height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
62 width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
65 height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
DLabelView.java140 int specSize = MeasureSpec.getSize(measureSpec); in measureWidth()
166 int specSize = MeasureSpec.getSize(measureSpec); in measureHeight()
DInternalSelectionView.java106 int specSize = MeasureSpec.getSize(measureSpec); in measureWidth()
121 int specSize = MeasureSpec.getSize(measureSpec); in measureHeight()
/development/tools/winscope/src/app/
Dtrace_pipeline_test.ts61 expect(tracePipeline.getTraces().getSize()).toEqual(0);
69 expect(tracePipeline.getTraces().getSize()).toEqual(2);
83 expect(tracePipeline.getTraces().getSize()).toEqual(0);
92 expect(tracePipeline.getTraces().getSize()).toEqual(1);
129 expect(tracePipeline.getTraces().getSize()).toEqual(0);
262 expect(tracePipeline.getTraces().getSize()).toEqual(0);
395 expect(tracePipeline.getTraces().getSize()).toEqual(0);
406 expect(tracePipeline.getTraces().getSize()).toEqual(1);
436 expect(tracePipeline.getTraces().getSize()).toEqual(numberOfTraces);
/development/tools/winscope/src/app/components/
Dupload_traces_component_test.ts101 expect(component.tracePipeline.getTraces().getSize()).toBe(2);
111 expect(component.tracePipeline.getTraces().getSize()).toBe(1);
126 expect(component.tracePipeline.getTraces().getSize()).toBe(0);
132 expect(component.tracePipeline.getTraces().getSize()).toBe(2);
142 expect(component.tracePipeline.getTraces().getSize()).toBe(0);
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DAutoFitTextureView.java63 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
64 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DAutoFitTextureView.java63 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
64 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
DCamera2BasicFragment.java544 activity.getWindowManager().getDefaultDisplay().getSize(displaySize); in setUpCameraOutputs()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DAutoFitTextureView.java66 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
67 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
DCamera2RawFragment.java1054 activity.getWindowManager().getDefaultDisplay().getSize(displaySize); in configureTransform()
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DSquareFrameLayout.java47 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
48 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/
DInputView.java41 setMeasuredDimension(getMeasuredWidth(), MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
/development/samples/Home/src/com/example/android/home/
DApplicationsStackLayout.java165 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
168 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/tools/winscope/src/trace/
Dtraces.ts134 getSize(): number { method in Traces
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DDefaultCardStreamAnimator.java52 wm.getDefaultDisplay().getSize(outPoint); in getAppearingAnimator()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java271 int w = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
272 int h = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java196 display.getSize(size); in calculateBottomInsetsOnRoundDevice()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationActivity.java519 getDisplay().getSize(p); in onCreate()