Searched refs:insets (Results 26 - 43 of 43) sorted by relevance

12

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DContentFrameLayout.java61 public void dispatchFitSystemWindows(Rect insets) { argument
62 fitSystemWindows(insets);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java363 WindowInsetsCompat onApplyWindowInsets(View v, WindowInsetsCompat insets); argument
364 WindowInsetsCompat dispatchApplyWindowInsets(View v, WindowInsetsCompat insets); argument
805 public WindowInsetsCompat onApplyWindowInsets(View v, WindowInsetsCompat insets) { argument
806 return insets;
810 public WindowInsetsCompat dispatchApplyWindowInsets(View v, WindowInsetsCompat insets) { argument
811 return insets;
1517 public WindowInsetsCompat onApplyWindowInsets(View v, WindowInsetsCompat insets) { argument
1518 return ViewCompatLollipop.onApplyWindowInsets(v, insets);
1522 public WindowInsetsCompat dispatchApplyWindowInsets(View v, WindowInsetsCompat insets) { argument
1523 return ViewCompatLollipop.dispatchApplyWindowInsets(v, insets);
2682 onApplyWindowInsets(View view, WindowInsetsCompat insets) argument
2698 dispatchApplyWindowInsets(View view, WindowInsetsCompat insets) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV7.java392 WindowInsetsCompat insets) {
393 final int top = insets.getSystemWindowInsetTop();
397 insets = insets.replaceSystemWindowInsets(
398 insets.getSystemWindowInsetLeft(),
400 insets.getSystemWindowInsetRight(),
401 insets.getSystemWindowInsetBottom());
404 // Now apply the insets on our view
405 return ViewCompat.onApplyWindowInsets(v, insets);
413 public void onFitSystemWindows(Rect insets) {
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java279 void dispatchChildInsets(View child, Object insets, int drawerGravity); argument
280 void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity); argument
290 public void dispatchChildInsets(View child, Object insets, int drawerGravity) { argument
294 public void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity) { argument
298 public int getTopInset(Object insets) { argument
313 public void dispatchChildInsets(View child, Object insets, int drawerGravity) { argument
314 DrawerLayoutCompatApi21.dispatchChildInsets(child, insets, drawerGravity);
317 public void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity) { argument
318 DrawerLayoutCompatApi21.applyMarginInsets(lp, insets, drawerGravity);
321 public int getTopInset(Object insets) { argument
423 setChildInsets(Object insets, boolean draw) argument
[all...]
H A DMaterialProgressDrawable.java713 float insets;
715 insets = (float) Math.ceil(mStrokeWidth / 2.0f);
717 insets = (float) (minEdge / 2.0f - mRingCenterRadius);
719 mStrokeInset = insets;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java1951 final Rect insets = lp.mDecorInsets;
1952 mTempRect.left -= insets.left;
1953 mTempRect.right += insets.right;
1954 mTempRect.top -= insets.top;
1955 mTempRect.bottom += insets.bottom;
3753 final Rect insets = lp.mDecorInsets;
3754 insets.set(0, 0, 0, 0);
3759 insets.left += mTempRect.left;
3760 insets.top += mTempRect.top;
3761 insets
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsConfiguration.java274 /** Updates the system insets */
275 public void updateSystemInsets(Rect insets) { argument
276 systemInsets.set(insets);
321 * the system insets.
336 * the system insets.
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java514 final Insets insets = thumbDrawable.getOpticalInsets();
518 tempRect.left += insets.left;
519 tempRect.right -= insets.right;
H A DGridLayout.java912 Insets insets = getOpticalInsets();
914 int top = getPaddingTop() + insets.top;
915 int left = getPaddingLeft() + insets.left;
916 int right = getWidth() - getPaddingRight() - insets.right;
917 int bottom = getHeight() - getPaddingBottom() - insets.bottom;
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingToolbarLayout.java211 WindowInsetsCompat insets) {
212 mLastInsets = insets;
214 return insets.consumeSystemWindowInsets();
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DListenerBindingObject.java175 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { argument
/frameworks/base/core/java/android/view/
H A DViewGroup.java3200 Insets insets = child.getOpticalInsets();
3201 left = Math.max(left, insets.left);
3202 top = Math.max(top, insets.top);
3203 right = Math.max(right, insets.right);
3204 bottom = Math.max(bottom, insets.bottom);
3286 Insets insets = c.getOpticalInsets();
3289 c.getLeft() + insets.left,
3290 c.getTop() + insets.top,
3291 c.getRight() - insets.right - 1,
3292 c.getBottom() - insets
6269 dispatchApplyWindowInsets(WindowInsets insets) argument
[all...]
H A DViewRootImpl.java476 // Compute surface insets required to draw at specified Z value.
477 // TODO: Use real shadow insets for a constant max Z.
751 final Rect insets = attrs.surfaceInsets;
752 final boolean hasSurfaceInsets = insets.left != 0 || insets.right != 0
753 || insets.top != 0 || insets.bottom != 0;
804 // Restore old surface insets.
1258 // immediately use pending insets.
1426 if (DEBUG_LAYOUT) Log.v(TAG, "Visible insets changin
[all...]
H A DView.java882 * requested system UI flags that ignore those insets for layout.
2401 * Flag indicating that we're in the process of applying window insets.
2666 * flags, we would like a stable view of the content insets given to
2667 * {@link #fitSystemWindows(Rect)}. This means that the insets seen there
2694 * insets it adds to those given to the application.
3250 * The layout insets in pixels, that is the distance in pixels between the
7067 * Called by the view hierarchy when the content insets for a window have
7069 * The content insets tell you the space that the status bar, input method,
7081 * insets to the view's padding, consuming that content (modifying the
7082 * insets t
7129 fitSystemWindows(Rect insets) argument
7153 fitSystemWindowsInt(Rect insets) argument
7197 onApplyWindowInsets(WindowInsets insets) argument
7250 dispatchApplyWindowInsets(WindowInsets insets) argument
17953 setOpticalInsets(Insets insets) argument
21434 onApplyWindowInsets(View v, WindowInsets insets) argument
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java442 * Called with the current insets that are in effect for the wallpaper.
446 * @param insets Insets to apply.
448 public void onApplyWindowInsets(WindowInsets insets) { argument
790 WindowInsets insets = new WindowInsets(mFinalSystemInsets,
794 Log.v(TAG, "dispatching insets=" + insets);
796 onApplyWindowInsets(insets);
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java436 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
437 if (insets.isRound()) {
443 return insets.consumeSystemWindowInsets();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java317 * This is called with the full size of the window since we are handling our own insets.
358 * This is called with the full size of the window since we are handling our own insets.
385 public WindowInsets onApplyWindowInsets(WindowInsets insets) { argument
386 // Update the configuration with the latest system insets and trigger a relayout
387 mConfig.updateSystemInsets(insets.getSystemWindowInsets());
389 return insets.consumeSystemWindowInsets();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java1902 public WindowInsets onApplyWindowInsets(WindowInsets insets) { argument
1903 mNavigationBarBottomHeight = insets.getSystemWindowInsetBottom();
1905 return insets;

Completed in 3416 milliseconds

12