Searched refs:insets (Results 1 – 18 of 18) sorted by relevance
49 protected boolean fitSystemWindows(Rect insets) { in fitSystemWindows() argument50 mDrawSideInsetBar = (insets.right > 0 || insets.left > 0) && in fitSystemWindows()54 mLeftInsetBarWidth = insets.left; in fitSystemWindows()55 mRightInsetBarWidth = insets.right; in fitSystemWindows()56 insets = new Rect(0, insets.top, 0, insets.bottom); in fitSystemWindows()63 boolean rawInsetsChanged = !mInsets.equals(insets); in fitSystemWindows()64 setInsets(insets); in fitSystemWindows()79 launcher.onInsetsChanged(insets); in fitSystemWindows()
42 public void setInsets(Rect insets) { in setInsets() argument45 if (insets.equals(mInsets)) return; in setInsets()50 setFrameLayoutChildInsets(child, insets, mInsets); in setInsets()52 mInsets.set(insets); in setInsets()
27 void setInsets(Rect insets); in setInsets() argument
442 public void updateInsets(Rect insets) { in updateInsets() argument443 mInsets.set(insets); in updateInsets()
545 public void onInsetsChanged(Rect insets) { in onInsetsChanged() argument546 mDeviceProfile.updateInsets(insets); in onInsetsChanged()
359 public void setInsets(Rect insets) { in setInsets() argument360 mInsets.set(insets); in setInsets()
258 protected boolean fitSystemWindows(Rect insets) { in fitSystemWindows() argument261 mWindowInsets.set(insets); in fitSystemWindows()267 Rect insets = mWindowInsets; in onLayout() local268 int pl = insets.left; // the left paddings in onLayout()269 int pr = insets.right; in onLayout()270 int pt = insets.top; in onLayout()271 int pb = insets.bottom; in onLayout()
461 Rect insets = dragLayer.getInsets(); in orientAboutIcon() local467 boolean canBeLeftAligned = leftAlignedX + width + insets.left in orientAboutIcon()468 < dragLayer.getRight() - insets.right; in orientAboutIcon()469 boolean canBeRightAligned = rightAlignedX > dragLayer.getLeft() + insets.left; in orientAboutIcon()504 mIsAboveIcon = y > dragLayer.getTop() + insets.top; in orientAboutIcon()511 x += insets.right; in orientAboutIcon()513 x -= insets.left; in orientAboutIcon()515 y -= insets.top; in orientAboutIcon()518 if (y + height > dragLayer.getBottom() - insets.bottom) { in orientAboutIcon()522 int rightSide = leftAlignedX + iconWidth - insets.left; in orientAboutIcon()[all …]
336 public void setInsets(Rect insets) { in setInsets() argument340 mAppsRecyclerView.getPaddingRight(), insets.bottom); in setInsets()344 mlp.leftMargin = insets.left; in setInsets()345 mlp.topMargin = insets.top; in setInsets()346 mlp.rightMargin = insets.right; in setInsets()351 navBarBgLp.height = insets.bottom; in setInsets()
257 public void setInsets(Rect insets) { in setInsets() argument259 int leftInset = insets.left - mInsets.left; in setInsets()260 int rightInset = insets.right - mInsets.right; in setInsets()261 int bottomInset = insets.bottom - mInsets.bottom; in setInsets()262 mInsets.set(insets); in setInsets()
215 Rect insets = mLauncher.getDragLayer().getInsets(); in addOnScrollRangeChangeListener()216 int hotseatBottom = bottom - dp.hotseatBarBottomPaddingPx - insets.bottom; in addOnScrollRangeChangeListener()217 int searchTopMargin = insets.top + (mMinHeight - mSearchBoxHeight) in addOnScrollRangeChangeListener()
29 public void setInsets(final InputMethodService.Insets insets); in setInsets() argument34 public void setInsets(final InputMethodService.Insets insets) {}
52 public void setInsets(final InputMethodService.Insets insets) { in setInsets() argument53 final int visibleTopInsets = insets.visibleTopInsets; in setInsets()
306 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onApplyWindowInsets() argument307 final int insetTop = insets.getSystemWindowInsetTop(); in onApplyWindowInsets()310 return insets; in onApplyWindowInsets()
454 public void setInsets(Rect insets) { in setInsets() argument455 super.setInsets(insets); in setInsets()456 setBackground(insets.top == 0 ? null in setInsets()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...