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

1 23 4 5 6 7

  /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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
StatusBarWindowView.java 95 protected boolean fitSystemWindows(Rect insets) {
97 boolean paddingChanged = insets.top != getPaddingTop()
98 || insets.bottom != getPaddingBottom();
101 if (insets.right != mRightInset || insets.left != mLeftInset) {
102 mRightInset = insets.right;
103 mLeftInset = insets.left;
110 insets.left = 0;
111 insets.top = 0;
112 insets.right = 0
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ActionBarOverlayLayout.java 201 // // 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...]
SwitchCompat.java 1091 final Rect insets = DrawableUtils.getOpticalBounds(mThumbDrawable); local
1218 final Rect insets = DrawableUtils.getOpticalBounds(thumbDrawable); local
1308 final Rect insets; local
    [all...]
ContentFrameLayout.java 71 public void dispatchFitSystemWindows(Rect insets) {
72 fitSystemWindows(insets);
  /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();
DigitalWatchFaceWearableConfigActivity.java 65 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
66 if (!insets.isRound()) {
73 return v.onApplyWindowInsets(insets);
FitDistanceWatchFaceService.java 288 public void onApplyWindowInsets(WindowInsets insets) {
289 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square"));
291 super.onApplyWindowInsets(insets);
295 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();
DigitalWatchFaceWearableConfigActivity.java 65 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
66 if (!insets.isRound()) {
73 return v.onApplyWindowInsets(insets);
FitDistanceWatchFaceService.java 288 public void onApplyWindowInsets(WindowInsets insets) {
289 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square"));
291 super.onApplyWindowInsets(insets);
295 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();
DigitalWatchFaceWearableConfigActivity.java 65 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
66 if (!insets.isRound()) {
73 return v.onApplyWindowInsets(insets);
FitDistanceWatchFaceService.java 288 public void onApplyWindowInsets(WindowInsets insets) {
289 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square"));
291 super.onApplyWindowInsets(insets);
295 boolean isRound = insets.isRound();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
TaskStack.java 278 public boolean acceptsDrop(int x, int y, int width, int height, Rect insets,
285 updateBoundsWithSystemInsets(mTmpRect, insets);
464 public Rect getPreDockedBounds(int width, int height, Rect insets) {
466 return updateBoundsWithSystemInsets(mTmpRect, insets);
473 public Rect getDockedBounds(int width, int height, int dividerSize, Rect insets,
479 insets, width, height, dividerSize);
491 int dividerSize, Rect insets, TaskStackLayoutAlgorithm layoutAlgorithm,
497 insets, width, height, dividerSize);
508 : insets.top;
509 // For now, ignore the left insets since we always dock on the left and show Recent
    [all...]
  /external/proguard/src/proguard/gui/
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...]
ClassPathPanel.java 343 jarNameLabelConstraints.insets = new Insets(1, 2, 1, 2);
350 filterLabelConstraints.insets = jarNameLabelConstraints.insets;
ListPanel.java 56 listConstraints.insets = new Insets(0, 2, 0, 2);
176 buttonConstraints.insets = new Insets(0, 2, 0, 2);
  /frameworks/base/core/java/com/android/internal/policy/
DividerSnapAlgorithm.java 78 public static DividerSnapAlgorithm create(Context ctx, Rect insets) {
91 insets);
95 boolean isHorizontalDivision, Rect insets) {
104 mInsets.set(insets);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
RecentsTvView.java 211 * Returns the last known system insets.
230 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
231 mSystemInsets.set(insets.getSystemWindowInsets());
233 return insets;
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
TitledSettingsFragment.java 182 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
183 mChinOffset = insets.getSystemWindowInsetBottom();
189 return insets.consumeSystemWindowInsets();
  /frameworks/base/graphics/java/android/graphics/
Rect.java 330 * Insets the rectangle on all sides specified by the dimensions of the {@code insets}
333 * @param insets The rectangle specifying the insets on all side.
335 public void inset(Rect insets) {
336 left += insets.left;
337 top += insets.top;
338 right -= insets.right;
339 bottom -= insets.bottom;
343 * Insets the rectangle on all sides specified by the insets
    [all...]
  /frameworks/base/core/java/android/widget/
Switch.java 29 import android.graphics.Insets;
860 final Insets inset = mThumbDrawable.getOpticalInsets();
1103 final Insets insets = mThumbDrawable.getOpticalInsets(); local
1229 final Insets insets = thumbDrawable.getOpticalInsets(); local
1319 final Insets insets; local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 30 import android.graphics.Insets;
77 private Insets mOpticalInsets = Insets.NONE;
286 final NinePatch.InsetStruct insets = local
288 if (insets != null) {
294 outline.setAlpha(insets.outlineAlpha * (getAlpha() / 255.0f));
306 public Insets getOpticalInsets() {
307 final Insets opticalInsets = mOpticalInsets;
309 return Insets.of(opticalInsets.right, opticalInsets.top,
456 state.mOpticalInsets = Insets.of(opticalInsets)
707 final NinePatch.InsetStruct insets = ninePatch.getBitmap().getNinePatchInsets(); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
RecentsViewTouchHandler.java 97 Rect insets = new Rect(); local
98 SystemServicesProxy.getInstance(mRv.getContext()).getStableInsets(insets);
99 mDividerSnapAlgorithm = DividerSnapAlgorithm.create(mRv.getContext(), insets);

Completed in 369 milliseconds

1 23 4 5 6 7