OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:minEdgeSize
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/core/java/android/view/
IPinnedStackController.aidl
34
* properly calculate the aspect ratio of the expanded PIP. The given {@param
minEdgeSize
} is
35
* always bounded to be larger than the default
minEdgeSize
, so the caller can call this method
38
oneway void setMinEdgeSize(int
minEdgeSize
);
/frameworks/base/services/core/java/com/android/server/wm/
PinnedStackController.java
126
public void setMinEdgeSize(int
minEdgeSize
) {
128
mCurrentMinSize = Math.max(mDefaultMinSize,
minEdgeSize
);
232
final int
minEdgeSize
= useCurrentMinEdgeSize ? mCurrentMinSize : mDefaultMinSize;
233
final Size size = mSnapAlgorithm.getSizeForAspectRatio(aspectRatio,
minEdgeSize
,
/frameworks/base/core/java/com/android/internal/policy/
PipSnapAlgorithm.java
264
* is at least {@param
minEdgeSize
}.
266
public Size getSizeForAspectRatio(float aspectRatio, float
minEdgeSize
, int displayWidth,
269
final int minSize = (int) Math.max(
minEdgeSize
, smallestDisplaySize * mDefaultSizePercent);
Completed in 504 milliseconds