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

/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.java1537 Rect contentInsets = mDispatchContentInsets;
1542 && (!mPendingContentInsets.equals(contentInsets) ||
1544 contentInsets = mPendingContentInsets;
1549 contentInsets = new Rect(contentInsets.left + outsets.left,
1550 contentInsets.top + outsets.top, contentInsets.right + outsets.right,
1551 contentInsets.bottom + outsets.bottom);
1553 mLastWindowInsets = new WindowInsets(contentInsets,
2255 final Rect contentInsets;
6388 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
7439 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/core/java/com/android/server/wm/
H A DAppTransition.java963 Animation createThumbnailAspectScaleAnimationLocked(Rect appRect, @Nullable Rect contentInsets, argument
1029 if (contentInsets != null) {
1030 mTmpToClipRect.inset((int) (-contentInsets.left * scaleW),
1031 (int) (-contentInsets.top * scaleW),
1032 (int) (-contentInsets.right * scaleW),
1033 (int) (-contentInsets.bottom * scaleW));
1123 int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets,
1133 final int thumbStartX = mTmpRect.left - containingFrame.left - contentInsets.left;
1159 mTmpFromClipRect.inset(contentInsets);
1160 mNextAppTransitionInsets.set(contentInsets);
1122 createAspectScaledThumbnailEnterExitAnimationLocked(int thumbTransitState, int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets, @Nullable Rect surfaceInsets, boolean freeform, int taskId) argument
1423 createRelaunchAnimation(Rect containingFrame, Rect contentInsets) argument
[all...]
H A DTaskSnapshotSurface.java259 void setFrames(Rect frame, Rect contentInsets, Rect stableInsets) { argument
261 mContentInsets.set(contentInsets);
265 mSystemBarBackgroundPainter.setInsets(contentInsets, stableInsets);
408 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, argument
457 void setInsets(Rect contentInsets, Rect stableInsets) { argument
458 mContentInsets.set(contentInsets);
H A DSession.java247 Rect contentInsets, Rect visibleInsets, Region touchableArea) {
248 mService.setInsetsWindow(this, window, touchableInsets, contentInsets,
246 setInsets(IWindow window, int touchableInsets, Rect contentInsets, Rect visibleInsets, Region touchableArea) argument
H A DWindowState.java3021 final Rect contentInsets = mLastContentInsets;
3035 dispatchResized(frame, overscanInsets, contentInsets, visibleInsets,
3044 dispatchResized(frame, overscanInsets, contentInsets, visibleInsets, stableInsets,
3100 private void dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, argument
3107 mClient.resized(frame, overscanInsets, contentInsets, visibleInsets, stableInsets, outsets,
H A DWindowManagerService.java1813 void setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, argument
1820 + ", contentInsets=" + w.mGivenContentInsets + " -> " + contentInsets
1826 w.mGivenContentInsets.set(contentInsets);
/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/base/tools/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/core/java/com/android/internal/policy/
H A DDecorView.java1046 Rect contentInsets, Rect outRect) {
1047 final int bottomInset = getColorViewBottomInset(stableInsets.bottom, contentInsets.bottom);
1048 final int leftInset = getColorViewLeftInset(stableInsets.left, contentInsets.left);
1049 final int rightInset = getColorViewLeftInset(stableInsets.right, contentInsets.right);
1045 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.java2306 public TaskSnapshot(GraphicBuffer snapshot, int orientation, Rect contentInsets, argument
2310 mContentInsets = new Rect(contentInsets);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java287 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets,
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java385 info.contentInsets.setEmpty();

Completed in 482 milliseconds