Searched refs:contentInsets (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java966 Animation createThumbnailAspectScaleAnimationLocked(Rect appRect, @Nullable Rect contentInsets, argument
1032 if (contentInsets != null) {
1033 mTmpToClipRect.inset((int) (-contentInsets.left * scaleW),
1034 (int) (-contentInsets.top * scaleW),
1035 (int) (-contentInsets.right * scaleW),
1036 (int) (-contentInsets.bottom * scaleW));
1126 int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets,
1137 final int thumbStartX = mTmpRect.left - containingFrame.left - contentInsets.left;
1163 mTmpFromClipRect.inset(contentInsets);
1164 mNextAppTransitionInsets.set(contentInsets);
1125 createAspectScaledThumbnailEnterExitAnimationLocked(int thumbTransitState, int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets, @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean freeform, int taskId) argument
1434 createRelaunchAnimation(Rect containingFrame, Rect contentInsets) argument
[all...]
H A DSurfaceControlWithBackground.java172 final Rect contentInsets = mWindowSurfaceController.mAnimator.mWin.mContentInsets;
173 float d = contentInsets.top == 0 ? 0 : (float) crop.top / contentInsets.top;
H A DTaskSnapshotSurface.java267 void setFrames(Rect frame, Rect contentInsets, Rect stableInsets) { argument
269 mContentInsets.set(contentInsets);
273 mSystemBarBackgroundPainter.setInsets(contentInsets, stableInsets);
437 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, argument
486 void setInsets(Rect contentInsets, Rect stableInsets) { argument
487 mContentInsets.set(contentInsets);
H A DSession.java261 Rect contentInsets, Rect visibleInsets, Region touchableArea) {
262 mService.setInsetsWindow(this, window, touchableInsets, contentInsets,
260 setInsets(IWindow window, int touchableInsets, Rect contentInsets, Rect visibleInsets, Region touchableArea) argument
H A DWindowState.java3145 final Rect contentInsets = mLastContentInsets;
3159 dispatchResized(frame, overscanInsets, contentInsets, visibleInsets,
3168 dispatchResized(frame, overscanInsets, contentInsets, visibleInsets, stableInsets,
3224 private void dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, argument
3231 mClient.resized(frame, overscanInsets, contentInsets, visibleInsets, stableInsets, outsets,
H A DWindowManagerService.java1845 void setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, argument
1852 + ", contentInsets=" + w.mGivenContentInsets + " -> " + contentInsets
1858 w.mGivenContentInsets.set(contentInsets);
/frameworks/base/core/java/android/view/
H A DIWindow.aidl50 void resized(in Rect frame, in Rect overscanInsets, in Rect contentInsets,
H A DViewTreeObserver.java212 public final Rect contentInsets = new Rect(); field in class:ViewTreeObserver.InternalInsetsInfo
263 contentInsets.setEmpty();
270 return contentInsets.isEmpty()
278 int result = contentInsets.hashCode();
292 contentInsets.equals(other.contentInsets) &&
298 contentInsets.set(other.contentInsets);
H A DIWindowSession.aidl133 void setInsets(IWindow window, int touchableInsets, in Rect contentInsets,
H A DViewRootImpl.java1543 Rect contentInsets = mDispatchContentInsets;
1548 && (!mPendingContentInsets.equals(contentInsets) ||
1550 contentInsets = mPendingContentInsets;
1555 contentInsets = new Rect(contentInsets.left + outsets.left,
1556 contentInsets.top + outsets.top, contentInsets.right + outsets.right,
1557 contentInsets.bottom + outsets.bottom);
1559 mLastWindowInsets = new WindowInsets(contentInsets,
2267 final Rect contentInsets;
6407 dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, MergedConfiguration mergedConfiguration, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId) argument
7466 resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, MergedConfiguration mergedConfiguration, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTestIWindow.java38 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, argument
H A DTaskSnapshotSurfaceTest.java58 private void setupSurface(int width, int height, Rect contentInsets, int sysuiVis, argument
63 ORIENTATION_PORTRAIT, contentInsets, false, 1.0f);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java246 final Insets contentInsets = super.getOpticalInsets();
249 contentInsets.left + mTmpInsetRect.left,
250 contentInsets.top + mTmpInsetRect.top,
251 contentInsets.right + mTmpInsetRect.right,
252 contentInsets.bottom + mTmpInsetRect.bottom);
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java41 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java124 public void setInsets(IWindow window, int touchable, Rect contentInsets, argument
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java909 public final Rect contentInsets = new Rect(); field in class:VoiceInteractionSession.Insets
951 info.contentInsets.set(mTmpInsets.contentInsets);
952 info.visibleInsets.set(mTmpInsets.contentInsets);
1587 * sets {@link Insets#contentInsets outInsets.contentInsets.top} to the height
1595 outInsets.contentInsets.left = 0;
1596 outInsets.contentInsets.bottom = 0;
1597 outInsets.contentInsets.right = 0;
1599 outInsets.contentInsets
[all...]
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java413 public Rect getTranslatedContentInsets(Rect contentInsets) { argument
415 mContentInsetsBuffer.set(contentInsets);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DHardwareUiLayout.java429 inoutInfo.contentInsets.set(mChild.getLeft(), mChild.getTop(),
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java1049 Rect contentInsets, Rect outRect) {
1050 final int bottomInset = getColorViewBottomInset(stableInsets.bottom, contentInsets.bottom);
1051 final int leftInset = getColorViewLeftInset(stableInsets.left, contentInsets.left);
1052 final int rightInset = getColorViewLeftInset(stableInsets.right, contentInsets.right);
1048 getNavigationBarRect(int canvasWidth, int canvasHeight, Rect stableInsets, Rect contentInsets, Rect outRect) argument
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionSession.java329 outInsets.contentInsets.top = mBottomContent.getTop();
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java349 info.contentInsets.top = info.visibleInsets.top
355 info.contentInsets.top = mTmpInsets.contentTopInsets;
/frameworks/base/core/java/android/app/
H A DActivityManager.java2321 public TaskSnapshot(GraphicBuffer snapshot, int orientation, Rect contentInsets, argument
2325 mContentInsets = new Rect(contentInsets);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java302 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets,
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java387 info.contentInsets.setEmpty();

Completed in 590 milliseconds