/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() 81 viewSize.getWidth(), in onReceive() 82 viewSize.getHeight(), in onReceive() 88 final float scale = Math.min(surfaceControl.getWidth() / (float) viewSize.getWidth(), in onReceive() 89 surfaceControl.getHeight() / (float) viewSize.getHeight()); in onReceive() 94 view.setTranslationX((surfaceControl.getWidth() - scale * viewSize.getWidth()) / 2); in onReceive() 95 view.setTranslationY((surfaceControl.getHeight() - scale * viewSize.getHeight()) / 2); in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MirrorWindowControl.java | 97 final Point viewSize = mTmpPoint; in showControl() local 98 mControlsView = onCreateView(LayoutInflater.from(mContext), viewSize); in showControl() 103 lp.width = viewSize.x <= 0 ? defaultSize : viewSize.x; in showControl() 104 lp.height = viewSize.y <= 0 ? defaultSize : viewSize.y; in showControl() 196 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 | 140 View onCreateView(LayoutInflater inflater, Point viewSize) { in onCreateView() argument 142 viewSize.x = mWidth; in onCreateView() 143 viewSize.y = mHeight; in onCreateView()
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 1054 int viewSize = cellSize - getTotalMargin(c, horizontal); in measureChildrenWithMargins() local 1056 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins() 1058 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins() 2794 abstract int getAlignmentValue(View view, int viewSize, int mode); 2808 int getSizeInCell(View view, int viewSize, int cellSize) { 2809 return viewSize; 2825 public int getAlignmentValue(View view, int viewSize, int mode) { 2841 public int getAlignmentValue(View view, int viewSize, int mode) { 2857 public int getAlignmentValue(View view, int viewSize, int mode) { 2858 return viewSize; [all …]
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/ |
D | NotificationSwipeActionHelper.java | 57 public boolean swipedFarEnough(float translation, float viewSize); in swipedFarEnough() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 332 public boolean swipedFastEnough(float translation, float viewSize) { in swipedFastEnough() argument 343 public boolean swipedFarEnough(float translation, float viewSize) { in swipedFarEnough() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 212 float viewSize = getSize(view); in getSwipeProgressForOffset() local 213 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()
|