Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DRemoteAnimationTarget.java97 public final Rect contentInsets; field in RemoteAnimationTarget
131 Rect clipRect, Rect contentInsets, int prefixOrderIndex, Point position, in RemoteAnimationTarget() argument
138 this.contentInsets = new Rect(contentInsets); in RemoteAnimationTarget()
152 contentInsets = in.readParcelable(null); in RemoteAnimationTarget()
172 dest.writeParcelable(contentInsets, 0 /* flags */); in writeToParcel()
185 pw.print(" contentInsets="); contentInsets.printShortString(pw); in dump()
201 contentInsets.writeToProto(proto, CONTENT_INSETS); in writeToProto()
DViewTreeObserver.java212 public final Rect contentInsets = new Rect(); field in ViewTreeObserver.InternalInsetsInfo
263 contentInsets.setEmpty(); in reset()
270 return contentInsets.isEmpty() in isEmpty()
278 int result = contentInsets.hashCode(); in hashCode()
292 contentInsets.equals(other.contentInsets) && in equals()
298 contentInsets.set(other.contentInsets); in set()
DIWindow.aidl51 void resized(in Rect frame, in Rect overscanInsets, in Rect contentInsets, in resized() argument
DIWindowSession.aidl138 void setInsets(IWindow window, int touchableInsets, in Rect contentInsets, in setInsets() argument
DViewRootImpl.java1613 Rect contentInsets = mDispatchContentInsets;
1619 && (!mPendingContentInsets.equals(contentInsets) ||
1622 contentInsets = mPendingContentInsets;
1628 contentInsets = new Rect(contentInsets.left + outsets.left,
1629 contentInsets.top + outsets.top, contentInsets.right + outsets.right,
1630 contentInsets.bottom + outsets.bottom);
1632 contentInsets = ensureInsetsNonNegative(contentInsets, "content");
1634 mLastWindowInsets = new WindowInsets(contentInsets,
2375 final Rect contentInsets; in performTraversals() local
2379 contentInsets = mTranslator.getTranslatedContentInsets(insets.contentInsets); in performTraversals()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRemoteAnimationTargetCompat.java48 public final Rect contentInsets; field in RemoteAnimationTargetCompat
60 contentInsets = app.contentInsets; in RemoteAnimationTargetCompat()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1005 Animation createThumbnailAspectScaleAnimationLocked(Rect appRect, @Nullable Rect contentInsets, in createThumbnailAspectScaleAnimationLocked() argument
1071 if (contentInsets != null) { in createThumbnailAspectScaleAnimationLocked()
1072 mTmpToClipRect.inset((int) (-contentInsets.left * scaleW), in createThumbnailAspectScaleAnimationLocked()
1073 (int) (-contentInsets.top * scaleW), in createThumbnailAspectScaleAnimationLocked()
1074 (int) (-contentInsets.right * scaleW), in createThumbnailAspectScaleAnimationLocked()
1075 (int) (-contentInsets.bottom * scaleW)); in createThumbnailAspectScaleAnimationLocked()
1165 int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets, in createAspectScaledThumbnailEnterExitAnimationLocked() argument
1176 final int thumbStartX = mTmpRect.left - containingFrame.left - contentInsets.left; in createAspectScaledThumbnailEnterExitAnimationLocked()
1202 mTmpFromClipRect.inset(contentInsets); in createAspectScaledThumbnailEnterExitAnimationLocked()
1203 mNextAppTransitionInsets.set(contentInsets); in createAspectScaledThumbnailEnterExitAnimationLocked()
[all …]
DTaskSnapshotSurface.java270 void setFrames(Rect frame, Rect contentInsets, Rect stableInsets) { in setFrames() argument
272 mContentInsets.set(contentInsets); in setFrames()
276 mSystemBarBackgroundPainter.setInsets(contentInsets, stableInsets); in setFrames()
443 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, in resized() argument
493 void setInsets(Rect contentInsets, Rect stableInsets) { in setInsets() argument
494 mContentInsets.set(contentInsets); in setInsets()
DRecentsAnimationController.java365 final Rect contentInsets = mTargetAppToken != null in startAnimation() local
369 mRunner.onAnimationStart(mController, appTargets, contentInsets, in startAnimation()
DSession.java267 Rect contentInsets, Rect visibleInsets, Region touchableArea) { in setInsets() argument
268 mService.setInsetsWindow(this, window, touchableInsets, contentInsets, in setInsets()
DWindowState.java2991 final Rect contentInsets = mLastContentInsets; in reportResized() local
3006 dispatchResized(frame, overscanInsets, contentInsets, visibleInsets, in reportResized()
3015 dispatchResized(frame, overscanInsets, contentInsets, visibleInsets, stableInsets, in reportResized()
3071 private void dispatchResized(Rect frame, Rect overscanInsets, Rect contentInsets, in dispatchResized() argument
3078 mClient.resized(frame, overscanInsets, contentInsets, visibleInsets, stableInsets, outsets, in dispatchResized()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java246 final Insets contentInsets = super.getOpticalInsets(); in getOpticalInsets() local
249 contentInsets.left + mTmpInsetRect.left, in getOpticalInsets()
250 contentInsets.top + mTmpInsetRect.top, in getOpticalInsets()
251 contentInsets.right + mTmpInsetRect.right, in getOpticalInsets()
252 contentInsets.bottom + mTmpInsetRect.bottom); in getOpticalInsets()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java898 public final Rect contentInsets = new Rect(); field in VoiceInteractionSession.Insets
940 info.contentInsets.set(mTmpInsets.contentInsets);
941 info.visibleInsets.set(mTmpInsets.contentInsets);
1582 outInsets.contentInsets.left = 0; in onComputeInsets()
1583 outInsets.contentInsets.bottom = 0; in onComputeInsets()
1584 outInsets.contentInsets.right = 0; in onComputeInsets()
1586 outInsets.contentInsets.top = decor.getHeight(); in onComputeInsets()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTestIWindow.java39 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, in resized() argument
DTaskSnapshotSurfaceTest.java59 private void setupSurface(int width, int height, Rect contentInsets, int sysuiVis, in setupSurface() argument
64 ORIENTATION_PORTRAIT, contentInsets, false, 1.0f, true /* isRealSnapshot */, in setupSurface()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java42 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, in resized() argument
/frameworks/base/core/proto/android/view/
Dremote_animation_target.proto38 optional .android.graphics.RectProto contentInsets = 6; field
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java413 public Rect getTranslatedContentInsets(Rect contentInsets) { in getTranslatedContentInsets() argument
415 mContentInsetsBuffer.set(contentInsets); in getTranslatedContentInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java423 inoutInfo.contentInsets.set(mChild.getLeft(), mChild.getTop(),
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1040 Rect contentInsets, Rect outRect) { in getNavigationBarRect() argument
1041 final int bottomInset = getColorViewBottomInset(stableInsets.bottom, contentInsets.bottom); in getNavigationBarRect()
1042 final int leftInset = getColorViewLeftInset(stableInsets.left, contentInsets.left); in getNavigationBarRect()
1043 final int rightInset = getColorViewLeftInset(stableInsets.right, contentInsets.right); in getNavigationBarRect()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java343 outInsets.contentInsets.top = mBottomContent.getTop(); in onComputeInsets()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java426 info.contentInsets.top = info.visibleInsets.top = decor.getHeight();
431 info.contentInsets.top = mTmpInsets.contentTopInsets;
/frameworks/base/core/java/android/app/
DActivityManager.java2116 public TaskSnapshot(GraphicBuffer snapshot, int orientation, Rect contentInsets, in TaskSnapshot() argument
2121 mContentInsets = new Rect(contentInsets); in TaskSnapshot()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java308 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets,
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java405 info.contentInsets.setEmpty();

12