/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SurfaceViewRequestReceiver.java | 59 public void onReceive(Context context, Bundle bundle, View view, Size viewSize) { in onReceive() argument 66 if (viewSize == null) { in onReceive() 67 viewSize = new Size(surfaceControl.getWidth(), surfaceControl.getHeight()); in onReceive() 78 viewSize.getWidth(), in onReceive() 79 viewSize.getHeight(), in onReceive() 85 final float scale = Math.min(surfaceControl.getWidth() / (float) viewSize.getWidth(), in onReceive() 86 surfaceControl.getHeight() / (float) viewSize.getHeight()); in onReceive() 91 view.setTranslationX((surfaceControl.getWidth() - scale * viewSize.getWidth()) / 2); in onReceive() 92 view.setTranslationY((surfaceControl.getHeight() - scale * viewSize.getHeight()) / 2); in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MirrorWindowControl.java | 94 final Point viewSize = mTmpPoint; in showControl() local 95 mControlsView = onCreateView(LayoutInflater.from(mContext), viewSize); in showControl() 100 lp.width = viewSize.x <= 0 ? defaultSize : viewSize.x; in showControl() 101 lp.height = viewSize.y <= 0 ? defaultSize : viewSize.y; in showControl() 192 abstract View onCreateView(@NonNull LayoutInflater inflater, @NonNull Point viewSize); in onCreateView() argument
|
D | SimpleMirrorWindowControl.java | 67 View onCreateView(LayoutInflater layoutInflater, Point viewSize) { in onCreateView() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | MirrorWindowControlTest.java | 138 View onCreateView(LayoutInflater inflater, Point viewSize) { in onCreateView() argument 140 viewSize.x = mWidth; in onCreateView() 141 viewSize.y = mHeight; in onCreateView()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockPatternViewTest.java | 94 public LockPatternViewTest(int viewSize) { in LockPatternViewTest() argument 95 mViewSize = viewSize; in LockPatternViewTest() 96 float cellSize = viewSize / 3f; in LockPatternViewTest()
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 1060 int viewSize = cellSize - getTotalMargin(c, horizontal); in measureChildrenWithMargins() local 1062 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins() 1064 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins() 2800 abstract int getAlignmentValue(View view, int viewSize, int mode); 2814 int getSizeInCell(View view, int viewSize, int cellSize) { 2815 return viewSize; 2831 public int getAlignmentValue(View view, int viewSize, int mode) { 2847 public int getAlignmentValue(View view, int viewSize, int mode) { 2863 public int getAlignmentValue(View view, int viewSize, int mode) { 2864 return viewSize; [all …]
|
/frameworks/base/core/java/android/view/translation/ |
D | UiTranslationController.java | 230 final int viewSize = mViews.size(); in dump() local 231 pw.print(outerPrefix); pw.print("number views: "); pw.println(viewSize); in dump() 232 for (int i = 0; i < viewSize; i++) { in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 230 float viewSize = getSize(view); in getSwipeProgressForOffset() local 231 float result = Math.abs(translation / viewSize); in getSwipeProgressForOffset()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 2110 int viewSize, int viewSizeOutOfBounds, in interpolateOutOfBoundsScroll() argument 2116 float outOfBoundsRatio = Math.min(1f, 1f * absOutOfBounds / viewSize); in interpolateOutOfBoundsScroll()
|