Home
last modified time | relevance | path

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

/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.java226 public final Rect contentInsets = new Rect(); field in ViewTreeObserver.InternalInsetsInfo
282 contentInsets.setEmpty(); in reset()
289 return contentInsets.isEmpty() in isEmpty()
297 int result = contentInsets.hashCode(); in hashCode()
311 contentInsets.equals(other.contentInsets) && in equals()
318 contentInsets.set(other.contentInsets); in set()
DIWindow.aidl53 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.java1874 Rect contentInsets = mDispatchContentInsets; in getWindowInsets() local
1881 && (!mPendingContentInsets.equals(contentInsets) || in getWindowInsets()
1884 contentInsets = mPendingContentInsets; in getWindowInsets()
1890 contentInsets = new Rect(contentInsets.left + outsets.left, in getWindowInsets()
1891 contentInsets.top + outsets.top, contentInsets.right + outsets.right, in getWindowInsets()
1892 contentInsets.bottom + outsets.bottom); in getWindowInsets()
1894 contentInsets = ensureInsetsNonNegative(contentInsets, "content"); in getWindowInsets()
1899 contentInsets, stableInsets, mWindowAttributes.softInputMode); in getWindowInsets()
2645 final Rect contentInsets; in performTraversals() local
2649 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.java1064 Animation createThumbnailAspectScaleAnimationLocked(Rect appRect, @Nullable Rect contentInsets, in createThumbnailAspectScaleAnimationLocked() argument
1130 if (contentInsets != null) { in createThumbnailAspectScaleAnimationLocked()
1131 mTmpToClipRect.inset((int) (-contentInsets.left * scaleW), in createThumbnailAspectScaleAnimationLocked()
1132 (int) (-contentInsets.top * scaleW), in createThumbnailAspectScaleAnimationLocked()
1133 (int) (-contentInsets.right * scaleW), in createThumbnailAspectScaleAnimationLocked()
1134 (int) (-contentInsets.bottom * scaleW)); in createThumbnailAspectScaleAnimationLocked()
1224 int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets, in createAspectScaledThumbnailEnterExitAnimationLocked() argument
1235 final int thumbStartX = mTmpRect.left - containingFrame.left - contentInsets.left; in createAspectScaledThumbnailEnterExitAnimationLocked()
1261 mTmpFromClipRect.inset(contentInsets); in createAspectScaledThumbnailEnterExitAnimationLocked()
1262 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()
468 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, in resized() argument
528 void setInsets(Rect contentInsets, Rect stableInsets) { in setInsets() argument
529 mContentInsets.set(contentInsets); in setInsets()
DRecentsAnimationController.java450 final Rect contentInsets; in startAnimation() local
452 contentInsets = mTargetAppToken.findMainWindow().getContentInsets(); in startAnimation()
456 contentInsets = mTmpRect; in startAnimation()
458 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()
DWindowManagerService.java1884 void setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, in setInsetsWindow() argument
1891 + ", contentInsets=" + w.mGivenContentInsets + " -> " + contentInsets in setInsetsWindow()
1897 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/services/tests/wmtests/src/com/android/server/wm/
DTestIWindow.java39 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/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/core/java/com/android/internal/view/
DBaseIWindow.java44 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.java1085 Rect contentInsets, Rect outRect, float scale) { in getNavigationBarRect() argument
1087 (int) (getColorViewBottomInset(stableInsets.bottom, contentInsets.bottom) * scale); in getNavigationBarRect()
1089 (int) (getColorViewLeftInset(stableInsets.left, contentInsets.left) * scale); in getNavigationBarRect()
1091 (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.java1845 @NonNull ColorSpace colorSpace, int orientation, Rect contentInsets, in TaskSnapshot() argument
1853 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();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...