Home
last modified time | relevance | path

Searched refs:contentInsets (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/view/
DRemoteAnimationTarget.java119 public final Rect contentInsets; field in RemoteAnimationTarget
167 Rect clipRect, Rect contentInsets, int prefixOrderIndex, Point position, in RemoteAnimationTarget() argument
175 this.contentInsets = new Rect(contentInsets); in RemoteAnimationTarget()
191 contentInsets = in.readParcelable(null); in RemoteAnimationTarget()
213 dest.writeParcelable(contentInsets, 0 /* flags */); in writeToParcel()
228 pw.print(" contentInsets="); contentInsets.printShortString(pw); in dump()
244 contentInsets.writeToProto(proto, CONTENT_INSETS); in writeToProto()
DViewTreeObserver.java231 public final Rect contentInsets = new Rect(); field in ViewTreeObserver.InternalInsetsInfo
287 contentInsets.setEmpty(); in reset()
294 return contentInsets.isEmpty() in isEmpty()
302 int result = contentInsets.hashCode(); in hashCode()
316 contentInsets.equals(other.contentInsets) && in equals()
323 contentInsets.set(other.contentInsets); in set()
DIWindow.aidl54 void resized(in Rect frame, in Rect overscanInsets, in Rect contentInsets, in resized() argument
DIWindowSession.aidl141 void setInsets(IWindow window, int touchableInsets, in Rect contentInsets, in setInsets() argument
DViewRootImpl.java1898 Rect contentInsets = mDispatchContentInsets; in getWindowInsets() local
1905 && (!mPendingContentInsets.equals(contentInsets) || in getWindowInsets()
1908 contentInsets = mPendingContentInsets; in getWindowInsets()
1914 contentInsets = new Rect(contentInsets.left + outsets.left, in getWindowInsets()
1915 contentInsets.top + outsets.top, contentInsets.right + outsets.right, in getWindowInsets()
1916 contentInsets.bottom + outsets.bottom); in getWindowInsets()
1918 contentInsets = ensureInsetsNonNegative(contentInsets, "content"); in getWindowInsets()
1923 contentInsets, stableInsets, mWindowAttributes.softInputMode); in getWindowInsets()
2669 final Rect contentInsets; in performTraversals() local
2673 contentInsets = mTranslator.getTranslatedContentInsets(insets.contentInsets); in performTraversals()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRemoteAnimationTargetCompat.java49 public final Rect contentInsets; field in RemoteAnimationTargetCompat
63 contentInsets = app.contentInsets; in RemoteAnimationTargetCompat()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1066 Animation createThumbnailAspectScaleAnimationLocked(Rect appRect, @Nullable Rect contentInsets, in createThumbnailAspectScaleAnimationLocked() argument
1132 if (contentInsets != null) { in createThumbnailAspectScaleAnimationLocked()
1133 mTmpToClipRect.inset((int) (-contentInsets.left * scaleW), in createThumbnailAspectScaleAnimationLocked()
1134 (int) (-contentInsets.top * scaleW), in createThumbnailAspectScaleAnimationLocked()
1135 (int) (-contentInsets.right * scaleW), in createThumbnailAspectScaleAnimationLocked()
1136 (int) (-contentInsets.bottom * scaleW)); in createThumbnailAspectScaleAnimationLocked()
1226 int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets, in createAspectScaledThumbnailEnterExitAnimationLocked() argument
1237 final int thumbStartX = mTmpRect.left - containingFrame.left - contentInsets.left; in createAspectScaledThumbnailEnterExitAnimationLocked()
1263 mTmpFromClipRect.inset(contentInsets); in createAspectScaledThumbnailEnterExitAnimationLocked()
1264 mNextAppTransitionInsets.set(contentInsets); in createAspectScaledThumbnailEnterExitAnimationLocked()
[all …]
DTaskSnapshotSurface.java277 void setFrames(Rect frame, Rect contentInsets, Rect stableInsets) { in setFrames() argument
279 mContentInsets.set(contentInsets); in setFrames()
283 mSystemBarBackgroundPainter.setInsets(contentInsets, stableInsets); in setFrames()
469 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, in resized() argument
529 void setInsets(Rect contentInsets, Rect stableInsets) { in setInsets() argument
530 mContentInsets.set(contentInsets); in setInsets()
DRecentsAnimationController.java475 final Rect contentInsets; in startAnimation() local
477 contentInsets = mTargetAppToken.findMainWindow().getContentInsets(); in startAnimation()
481 contentInsets = mTmpRect; in startAnimation()
483 mRunner.onAnimationStart(mController, appTargets, contentInsets, minimizedHomeBounds); in startAnimation()
DSession.java217 Rect contentInsets, Rect visibleInsets, Region touchableArea) { in setInsets() argument
218 mService.setInsetsWindow(this, window, touchableInsets, contentInsets, in setInsets()
DWindowState.java3234 final Rect contentInsets = mWindowFrames.mLastContentInsets; in reportResized() local
3249 dispatchResized(frame, overscanInsets, contentInsets, visibleInsets, in reportResized()
3258 dispatchResized(frame, overscanInsets, contentInsets, visibleInsets, stableInsets, in reportResized()
3369 private void dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, in dispatchResized() argument
3376 mClient.resized(frame, overscanInsets, contentInsets, visibleInsets, stableInsets, outsets, in dispatchResized()
DWindowManagerService.java1905 void setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, in setInsetsWindow() argument
1912 + ", contentInsets=" + w.mGivenContentInsets + " -> " + contentInsets in setInsetsWindow()
1918 w.mGivenContentInsets.set(contentInsets); in setInsetsWindow()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java247 final Insets contentInsets = super.getOpticalInsets(); in getOpticalInsets() local
250 contentInsets.left + mTmpInsetRect.left, in getOpticalInsets()
251 contentInsets.top + mTmpInsetRect.top, in getOpticalInsets()
252 contentInsets.right + mTmpInsetRect.right, in getOpticalInsets()
253 contentInsets.bottom + mTmpInsetRect.bottom); in getOpticalInsets()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java957 public final Rect contentInsets = new Rect(); field in VoiceInteractionSession.Insets
999 info.contentInsets.set(mTmpInsets.contentInsets);
1000 info.visibleInsets.set(mTmpInsets.contentInsets);
1804 outInsets.contentInsets.left = 0; in onComputeInsets()
1805 outInsets.contentInsets.bottom = 0; in onComputeInsets()
1806 outInsets.contentInsets.right = 0; in onComputeInsets()
1808 outInsets.contentInsets.top = decor.getHeight(); in onComputeInsets()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestIWindow.java40 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, in resized() argument
DTaskSnapshotSurfaceTest.java63 private void setupSurface(int width, int height, Rect contentInsets, int sysuiVis, in setupSurface() argument
68 ColorSpace.get(ColorSpace.Named.SRGB), ORIENTATION_PORTRAIT, contentInsets, false, in setupSurface()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java51 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, in resized() argument
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java431 public Rect getTranslatedContentInsets(Rect contentInsets) { in getTranslatedContentInsets() argument
433 mContentInsetsBuffer.set(contentInsets); in getTranslatedContentInsets()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java343 outInsets.contentInsets.top = mBottomContent.getTop(); in onComputeInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java542 inoutInfo.contentInsets.set(mList.getLeft(), mList.getTop(),
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1087 Rect contentInsets, Rect outRect, float scale) { in getNavigationBarRect() argument
1089 (int) (getColorViewBottomInset(stableInsets.bottom, contentInsets.bottom) * scale); in getNavigationBarRect()
1091 (int) (getColorViewLeftInset(stableInsets.left, contentInsets.left) * scale); in getNavigationBarRect()
1093 (int) (getColorViewLeftInset(stableInsets.right, contentInsets.right) * scale); in getNavigationBarRect()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java439 info.contentInsets.top = info.visibleInsets.top = decor.getHeight();
444 info.contentInsets.top = mTmpInsets.contentTopInsets;
/frameworks/base/core/java/android/app/
DActivityManager.java1852 @NonNull ColorSpace colorSpace, int orientation, Rect contentInsets, in TaskSnapshot() argument
1860 mContentInsets = new Rect(contentInsets); in TaskSnapshot()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java321 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets,
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java404 info.contentInsets.setEmpty();

12