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

12 3 4 5

  /external/proguard/src/proguard/gui/
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...]
ProGuardGUI.java 177 constraints.insets = new Insets(0, 4, 0, 4);
183 constraintsStretch.insets = constraints.insets;
188 constraintsLast.insets = constraints.insets;
195 constraintsLastStretch.insets = constraints.insets;
203 //splashPanelConstraints.insets = constraints.insets;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
StatusBarWindowView.java 67 protected boolean fitSystemWindows(Rect insets) {
69 boolean paddingChanged = insets.left != getPaddingLeft()
70 || insets.top != getPaddingTop()
71 || insets.bottom != getPaddingBottom();
74 if (insets.right != mRightInset) {
75 mRightInset = insets.right;
80 setPadding(insets.left, 0, 0, 0);
82 insets.left = 0;
83 insets.top = 0;
84 insets.right = 0
    [all...]
NotificationsQuickSettingsContainer.java 58 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
59 setPadding(0, 0, 0, insets.getSystemWindowInsetBottom());
60 return 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 151 * window insets are not dispatched and this method will have no effect.
228 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
229 int bottomInset = insets.getSystemWindowInsetBottom();
232 insets.getSystemWindowInsetBottom() - mNavigationBarHeight, 0);
245 return insets.replaceSystemWindowInsets(
246 insets.getSystemWindowInsetLeft(),
247 insets.getSystemWindowInsetTop(),
248 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...]
  /packages/apps/Launcher3/src/com/android/launcher3/
InsettableFrameLayout.java 36 public void setInsets(Rect insets) {
40 setFrameLayoutChildInsets(child, insets, mInsets);
42 mInsets.set(insets);
BaseContainerView.java 32 // The window insets
59 final public void setInsets(Rect insets) {
60 mInsets.set(insets);
89 * Update the backgrounds and padding in response to a change in the bounds or insets.
108 // the offsets for the insets so we can ignore that
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
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/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/android/support/wearable/view/
BoxInsetLayout.java 79 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
80 insets = super.onApplyWindowInsets(insets);
81 final boolean round = insets.isRound();
87 insets.getSystemWindowInsetLeft(),
88 insets.getSystemWindowInsetTop(),
89 insets.getSystemWindowInsetRight(),
90 insets.getSystemWindowInsetBottom());
91 return insets;
103 * @return the system window insets Rec
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarOverlayLayout.java 231 // and the application has asked for stable content insets, then
287 private boolean applyInsets(View view, Rect insets, boolean left, boolean top,
291 if (left && lp.leftMargin != insets.left) {
293 lp.leftMargin = insets.left;
295 if (top && lp.topMargin != insets.top) {
297 lp.topMargin = insets.top;
299 if (right && lp.rightMargin != insets.right) {
301 lp.rightMargin = insets.right;
303 if (bottom && lp.bottomMargin != insets.bottom) {
305 lp.bottomMargin = insets.bottom
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarOverlayLayout.java 199 // // and the application has asked for stable content insets, then
257 private boolean applyInsets(View view, Rect insets, boolean left, boolean top,
261 if (left && lp.leftMargin != insets.left) {
263 lp.leftMargin = insets.left;
265 if (top && lp.topMargin != insets.top) {
267 lp.topMargin = insets.top;
269 if (right && lp.rightMargin != insets.right) {
271 lp.rightMargin = insets.right;
273 if (bottom && lp.bottomMargin != insets.bottom) {
275 lp.bottomMargin = insets.bottom
    [all...]
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
InteractiveWatchFaceService.java 108 public void onApplyWindowInsets(WindowInsets insets) {
110 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square"));
112 super.onApplyWindowInsets(insets);
116 boolean isRound = insets.isRound();
  /developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
InteractiveWatchFaceService.java 108 public void onApplyWindowInsets(WindowInsets insets) {
110 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square"));
112 super.onApplyWindowInsets(insets);
116 boolean isRound = insets.isRound();
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
InteractiveWatchFaceService.java 108 public void onApplyWindowInsets(WindowInsets insets) {
110 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square"));
112 super.onApplyWindowInsets(insets);
116 boolean isRound = insets.isRound();
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 29 import android.graphics.Insets;
73 private Insets mOpticalInsets = Insets.NONE;
183 private static Insets scaleFromDensity(Insets insets, int sdensity, int tdensity) {
184 int left = Bitmap.scaleFromDensity(insets.left, sdensity, tdensity);
185 int top = Bitmap.scaleFromDensity(insets.top, sdensity, tdensity);
186 int right = Bitmap.scaleFromDensity(insets.right, sdensity, tdensity);
187 int bottom = Bitmap.scaleFromDensity(insets.bottom, sdensity, tdensity)
293 NinePatch.InsetStruct insets = mNinePatchState.mNinePatch.getBitmap().getNinePatchInsets(); local
    [all...]
  /frameworks/base/core/java/android/widget/
Switch.java 28 import android.graphics.Insets;
856 final Insets inset = mThumbDrawable.getOpticalInsets();
1099 final Insets insets = mThumbDrawable.getOpticalInsets(); local
1225 final Insets insets = thumbDrawable.getOpticalInsets(); local
1315 final Insets insets; local
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
SwitchCompat.java 813 final Rect insets = DrawableUtils.getOpticalBounds(mThumbDrawable); local
814 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left);
815 opticalInsetRight = Math.max(0, insets.right - trackPadding.right);
879 // If necessary, offset by the optical insets of the thumb asset.
940 final Rect insets = DrawableUtils.getOpticalBounds(thumbDrawable); local
1030 final Rect insets; local
    [all...]
  /frameworks/support/design/src/android/support/design/widget/
CoordinatorLayout.java 209 // We're set to fitSystemWindows but we haven't had any insets yet...
210 // We should request a new dispatch of window insets
231 * Set a drawable to draw in the insets area for the status bar.
242 * Gets the drawable used to draw in the insets area for the status bar.
251 * Set a drawable to draw in the insets area for the status bar.
261 * Set a drawable to draw in the insets area for the status bar.
271 private void setWindowInsets(WindowInsetsCompat insets) {
272 if (mLastInsets != insets) {
273 mLastInsets = insets;
274 mDrawStatusBarBackground = insets != null && insets.getSystemWindowInsetTop() > 0
    [all...]

Completed in 1299 milliseconds

12 3 4 5