Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DRemoteAnimationTarget.java121 public final Rect contentInsets; field in RemoteAnimationTarget
188 Rect clipRect, Rect contentInsets, int prefixOrderIndex, Point position, in RemoteAnimationTarget() argument
197 this.contentInsets = new Rect(contentInsets); in RemoteAnimationTarget()
215 contentInsets = in.readParcelable(null); in RemoteAnimationTarget()
239 dest.writeParcelable(contentInsets, 0 /* flags */); in writeToParcel()
256 pw.print(" contentInsets="); contentInsets.printShortString(pw); in dump()
274 contentInsets.dumpDebug(proto, CONTENT_INSETS); in dumpDebug()
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.aidl55 void resized(in Rect frame, in Rect contentInsets, in resized() argument
DIWindowSession.aidl151 void setInsets(IWindow window, int touchableInsets, in Rect contentInsets, in setInsets() argument
DWindowlessWindowManager.java289 android.graphics.Rect contentInsets, android.graphics.Rect visibleInsets, in setInsets() argument
DViewRootImpl.java2997 final Rect contentInsets; in performTraversals() local
3001 contentInsets = mTranslator.getTranslatedContentInsets(insets.contentInsets); in performTraversals()
3005 contentInsets = insets.contentInsets; in performTraversals()
3012 contentInsets, visibleInsets, touchableRegion); in performTraversals()
7771 private void dispatchResized(Rect frame, Rect contentInsets, in dispatchResized() argument
7777 + " contentInsets=" + contentInsets.toShortString() in dispatchResized()
7797 mTranslator.translateRectInScreenToAppWindow(contentInsets); in dispatchResized()
7803 args.arg2 = sameProcessCall ? new Rect(contentInsets) : contentInsets; in dispatchResized()
9087 public void resized(Rect frame, Rect contentInsets, in resized() argument
9094 viewAncestor.dispatchResized(frame, contentInsets, in resized()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRemoteAnimationTargetCompat.java51 public final Rect contentInsets; field in RemoteAnimationTargetCompat
67 contentInsets = app.contentInsets; in RemoteAnimationTargetCompat()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1074 Animation createThumbnailAspectScaleAnimationLocked(Rect appRect, @Nullable Rect contentInsets, in createThumbnailAspectScaleAnimationLocked() argument
1140 if (contentInsets != null) { in createThumbnailAspectScaleAnimationLocked()
1141 mTmpToClipRect.inset((int) (-contentInsets.left * scaleW), in createThumbnailAspectScaleAnimationLocked()
1142 (int) (-contentInsets.top * scaleW), in createThumbnailAspectScaleAnimationLocked()
1143 (int) (-contentInsets.right * scaleW), in createThumbnailAspectScaleAnimationLocked()
1144 (int) (-contentInsets.bottom * scaleW)); in createThumbnailAspectScaleAnimationLocked()
1234 int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets, in createAspectScaledThumbnailEnterExitAnimationLocked() argument
1245 final int thumbStartX = mTmpRect.left - containingFrame.left - contentInsets.left; in createAspectScaledThumbnailEnterExitAnimationLocked()
1271 mTmpFromClipRect.inset(contentInsets); in createAspectScaledThumbnailEnterExitAnimationLocked()
1272 mNextAppTransitionInsets.set(contentInsets); in createAspectScaledThumbnailEnterExitAnimationLocked()
[all …]
DRecentsAnimationController.java490 final Rect contentInsets; in startAnimation() local
492 contentInsets = mTargetActivityRecord.findMainWindow().getContentInsets(); in startAnimation()
496 contentInsets = mTmpRect; in startAnimation()
498 mRunner.onAnimationStart(mController, appTargets, wallpaperTargets, contentInsets, in startAnimation()
DSession.java237 Rect contentInsets, Rect visibleInsets, Region touchableArea) { in setInsets() argument
238 mService.setInsetsWindow(this, window, touchableInsets, contentInsets, in setInsets()
DTaskSnapshotSurface.java522 public void resized(Rect frame, Rect contentInsets, Rect visibleInsets, in resized() argument
DWindowManagerService.java2022 void setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, in setInsetsWindow() argument
2029 + ", contentInsets=" + w.mGivenContentInsets + " -> " + contentInsets in setInsetsWindow()
2035 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/
DTaskSnapshotControllerTest.java142 final Rect contentInsets = new Rect(1, 2, 3, 4); in testSnapshotBuilder() local
154 builder.setContentInsets(contentInsets); in testSnapshotBuilder()
174 assertEquals(contentInsets, snapshot.getContentInsets()); in testSnapshotBuilder()
DTestIWindow.java41 public void resized(Rect frame, Rect contentInsets, Rect visibleInsets, in resized() argument
DTaskSnapshotSurfaceTest.java68 private void setupSurface(int width, int height, Rect contentInsets, int sysuiVis, in setupSurface() argument
86 Surface.ROTATION_0, taskSize, 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);
1807 outInsets.contentInsets.left = 0; in onComputeInsets()
1808 outInsets.contentInsets.bottom = 0; in onComputeInsets()
1809 outInsets.contentInsets.right = 0; in onComputeInsets()
1811 outInsets.contentInsets.top = decor.getHeight(); in onComputeInsets()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java54 public void resized(Rect frame, 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/packages/SystemUI/src/com/android/systemui/wm/
DSystemWindows.java325 public void resized(Rect frame, Rect contentInsets, Rect visibleInsets, Rect stableInsets, in resized() argument
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java343 outInsets.contentInsets.top = mBottomContent.getTop(); in onComputeInsets()
/frameworks/base/core/java/android/app/
DActivityManager.java2112 Rect contentInsets, boolean isLowResolution, boolean isRealSnapshot, in TaskSnapshot() argument
2122 mContentInsets = new Rect(contentInsets); in TaskSnapshot()
2356 public Builder setContentInsets(Rect contentInsets) {
2357 mContentInsets = contentInsets;
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java482 info.contentInsets.top = info.visibleInsets.top = decor.getHeight();
486 info.contentInsets.top = mTmpInsets.contentTopInsets;
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java325 public void resized(Rect frame, Rect contentInsets,
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java404 info.contentInsets.setEmpty();

12