HomeSort by relevance Sort by last modified time
    Searched refs:insets (Results 26 - 50 of 171) sorted by null

12 3 4 5 6 7

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardPreviewContainer.java 65 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
66 setPadding(0, 0, 0, insets.getStableInsetBottom());
67 return super.onApplyWindowInsets(insets);
NotificationsQuickSettingsContainer.java 82 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
83 mBottomPadding = insets.getStableInsetBottom();
85 return insets;
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
ImmutablesRepresenter.java 18 import java.awt.Insets;
34 this.representers.put(Insets.class, new RepresentInsets());
42 Insets insets = (Insets) data; local
45 Arrays.asList(new Object[] { insets.top, insets.left, insets.bottom,
46 insets.right }), true);
  /frameworks/base/core/java/com/android/internal/policy/
DockedDividerUtils.java 99 public static int calculateMiddlePosition(boolean isHorizontalDivision, Rect insets,
101 int start = isHorizontalDivision ? insets.top : insets.left;
103 ? displayHeight - insets.bottom
104 : displayWidth - insets.right;
DecorView.java     [all...]
  /frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
TestWallpaper.java 165 public void onApplyWindowInsets(WindowInsets insets) {
166 super.onApplyWindowInsets(insets);
167 mMainInsets.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(),
168 insets.getSystemWindowInsetRight(), insets.getSystemWindowInsetBottom());
169 mStableInsets.set(insets.getStableInsetLeft(), insets.getStableInsetTop(),
170 insets.getStableInsetRight(), insets.getStableInsetBottom())
    [all...]
  /frameworks/support/compat/api21/android/support/v4/view/
ViewCompatLollipop.java 31 Object onApplyWindowInsets(View v, Object insets);
71 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
72 return (WindowInsets) bridge.onApplyWindowInsets(view, insets);
126 public static Object onApplyWindowInsets(View v, Object insets) {
127 WindowInsets unwrapped = (WindowInsets) insets;
130 insets = new WindowInsets(result);
132 return insets;
135 public static Object dispatchApplyWindowInsets(View v, Object insets) {
136 WindowInsets unwrapped = (WindowInsets) insets;
139 insets = new WindowInsets(result)
    [all...]
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
StickyHeaderListView.java 137 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
139 mStatusBarInset = insets.getSystemWindowInsetTop();
140 insets.replaceSystemWindowInsets(
141 insets.getSystemWindowInsetLeft(),
143 insets.getSystemWindowInsetRight(),
144 insets.getSystemWindowInsetBottom()
147 return insets;
StatusBarBackgroundLayout.java 109 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
110 mLastInsets = insets;
111 return super.onApplyWindowInsets(insets);
  /external/proguard/src/proguard/gui/
OptimizationsDialog.java 64 constraintsLast.insets = new Insets(1, 2, 1, 2);
71 constraintsLastStretch.insets = constraintsLast.insets;
79 panelConstraints.insets = constraintsLast.insets;
84 selectButtonConstraints.insets = new Insets(4, 4, 8, 4);
90 okButtonConstraints.insets = selectButtonConstraints.insets;
    [all...]
ClassSpecificationDialog.java 91 constraints.insets = new Insets(1, 2, 1, 2);
97 constraintsStretch.insets = constraints.insets;
102 constraintsLast.insets = constraints.insets;
109 constraintsLastStretch.insets = constraints.insets;
117 panelConstraints.insets = constraints.insets;
    [all...]
FilterDialog.java 82 textConstraints.insets = new Insets(10, 10, 10, 10);
86 labelConstraints.insets = new Insets(1, 2, 1, 2);
93 textFieldConstraints.insets = labelConstraints.insets;
101 panelConstraints.insets = labelConstraints.insets;
107 okButtonConstraints.insets = new Insets(4, 4, 8, 4)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
DrawableUtils.java 54 sInsetsClazz = Class.forName("android.graphics.Insets");
64 * Allows us to get the optical insets for a {@link Drawable}. Since this is hidden we need to
65 * use reflection. Since the {@code Insets} class is hidden also, we return a Rect instead.
76 final Object insets = getOpticalInsetsMethod.invoke(drawable); local
78 if (insets != null) {
79 // If the drawable has some optical insets, let's copy them into a Rect
85 result.left = field.getInt(insets);
88 result.top = field.getInt(insets);
91 result.right = field.getInt(insets);
94 result.bottom = field.getInt(insets);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionHandles.java 95 Margins insets = canvas.getInsets(mItem.getNode().getFqcn()); local
96 if (insets != null) {
97 x1 += insets.left;
98 x2 -= insets.right;
99 y1 += insets.top;
100 y2 -= insets.bottom;
SelectionOverlay.java 203 Margins insets = mCanvas.getInsets(selectedNode.getFqcn()); local
209 if (insets != null) {
210 x1 += insets.left;
211 x2 -= insets.right;
212 y1 += insets.top;
213 y2 -= insets.bottom;
  /packages/apps/Launcher3/src/com/android/launcher3/
InsettableFrameLayout.java 45 public void setInsets(Rect insets) {
46 // If the insets haven't changed, this is a no-op. Avoid unnecessary layout caused by
48 if (insets.equals(mInsets)) return;
53 setFrameLayoutChildInsets(child, insets, mInsets);
55 mInsets.set(insets);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
ViewOutlineProviderCompatUtilsLXX.java 52 public void setInsets(final InputMethodService.Insets insets) {
53 final int visibleTopInsets = insets.visibleTopInsets;
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
SystemBarHelper.java 204 * for this class to work. Otherwise window insets are not dispatched and this method will have
312 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
318 int bottomInset = insets.getSystemWindowInsetBottom();
321 insets.getSystemWindowInsetBottom() - mBottomOffset, 0);
334 return insets.replaceSystemWindowInsets(
335 insets.getSystemWindowInsetLeft(),
336 insets.getSystemWindowInsetTop(),
337 insets.getSystemWindowInsetRight(),
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionsActivity.java 92 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
94 insets = topFrameLayout.onApplyWindowInsets(insets);
96 boolean round = insets.isRound();
98 // Store system window insets regardless of screen shape
99 mInsets.set(insets.getSystemWindowInsetLeft(),
100 insets.getSystemWindowInsetTop(),
101 insets.getSystemWindowInsetRight(),
102 insets.getSystemWindowInsetBottom());
121 return insets;
    [all...]
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionsActivity.java 92 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
94 insets = topFrameLayout.onApplyWindowInsets(insets);
96 boolean round = insets.isRound();
98 // Store system window insets regardless of screen shape
99 mInsets.set(insets.getSystemWindowInsetLeft(),
100 insets.getSystemWindowInsetTop(),
101 insets.getSystemWindowInsetRight(),
102 insets.getSystemWindowInsetBottom());
121 return insets;
    [all...]
  /development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
AttractionsActivity.java 92 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
94 insets = topFrameLayout.onApplyWindowInsets(insets);
96 boolean round = insets.isRound();
98 // Store system window insets regardless of screen shape
99 mInsets.set(insets.getSystemWindowInsetLeft(),
100 insets.getSystemWindowInsetTop(),
101 insets.getSystemWindowInsetRight(),
102 insets.getSystemWindowInsetBottom());
121 return insets;
    [all...]
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DemoUtility.java 15 import java.awt.Insets;
53 c.insets = new Insets(2,2,2,2);
76 new insets.
78 public static void setInsets(Container cont, Component comp, Insets insets) {
81 g.insets = insets;
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
CommonControllerOverlay.java 246 // | Action Bar | insets.top
249 // | Content Area | insets.right = insets.left = 0
252 // | Navigation Bar | insets.bottom
258 protected boolean fitSystemWindows(Rect insets) {
261 mWindowInsets.set(insets);
267 Rect insets = mWindowInsets; local
268 int pl = insets.left; // the left paddings
269 int pr = insets.right;
270 int pt = insets.top
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
ScreenViewer.java 19 import java.awt.Insets;
90 new Insets(0, 0, 0, 0), 0, 0));
95 new Insets(0, 0, 0, 0), 0, 0));
138 new Insets(0, 0, 0, 0), 0, 0));
170 new Insets(0, 0, 0, 0), 0, 0));
200 new Insets(0, 0, 0, 0), 0, 0));
218 new Insets(0, 0, 0, 6), 0, 0));
229 new Insets(0, 0, 0, 0), 0, 0));
373 new Insets(0, 0, 0, 12), 0, 0 ));
379 new Insets(0, 0, 0, 12), 0, 0 ))
622 private final Insets insets = new Insets(0, 0, 0, 0); field in class:ScreenViewer.CrosshairPanel
650 Insets insets = getInsets(); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
BoxInsetLayout.java 77 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
78 insets = super.onApplyWindowInsets(insets);
79 final boolean round = insets.isRound();
85 insets.getSystemWindowInsetLeft(),
86 insets.getSystemWindowInsetTop(),
87 insets.getSystemWindowInsetRight(),
88 insets.getSystemWindowInsetBottom());
89 return insets;
101 * @return the system window insets Rec
    [all...]

Completed in 1089 milliseconds

12 3 4 5 6 7