Skip to content

Commit 7bb66c9

Browse files
author
Philip Milne
committed
Hide optical bounds feature for JB.
Change-Id: I1fe38e9c64515acd550baa930ebc0af4c139bf40
1 parent 44e3f88 commit 7bb66c9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

api/current.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24594,7 +24594,6 @@ package android.view {
2459424594
method public android.view.View getFocusedChild();
2459524595
method public android.view.animation.LayoutAnimationController getLayoutAnimation();
2459624596
method public android.view.animation.Animation.AnimationListener getLayoutAnimationListener();
24597-
method public int getLayoutMode();
2459824597
method public android.animation.LayoutTransition getLayoutTransition();
2459924598
method public int getPersistentDrawingCache();
2460024599
method public int indexOfChild(android.view.View);
@@ -24642,7 +24641,6 @@ package android.view {
2464224641
method public void setDescendantFocusability(int);
2464324642
method public void setLayoutAnimation(android.view.animation.LayoutAnimationController);
2464424643
method public void setLayoutAnimationListener(android.view.animation.Animation.AnimationListener);
24645-
method public void setLayoutMode(int);
2464624644
method public void setLayoutTransition(android.animation.LayoutTransition);
2464724645
method public void setMotionEventSplittingEnabled(boolean);
2464824646
method public void setOnHierarchyChangeListener(android.view.ViewGroup.OnHierarchyChangeListener);
@@ -24654,12 +24652,10 @@ package android.view {
2465424652
method public void startLayoutAnimation();
2465524653
method public void startViewTransition(android.view.View);
2465624654
method public void updateViewLayout(android.view.View, android.view.ViewGroup.LayoutParams);
24657-
field public static final int CLIP_BOUNDS = 0; // 0x0
2465824655
field protected static final int CLIP_TO_PADDING_MASK = 34; // 0x22
2465924656
field public static final int FOCUS_AFTER_DESCENDANTS = 262144; // 0x40000
2466024657
field public static final int FOCUS_BEFORE_DESCENDANTS = 131072; // 0x20000
2466124658
field public static final int FOCUS_BLOCK_DESCENDANTS = 393216; // 0x60000
24662-
field public static final int OPTICAL_BOUNDS = 1; // 0x1
2466324659
field public static final int PERSISTENT_ALL_CACHES = 3; // 0x3
2466424660
field public static final int PERSISTENT_ANIMATION_CACHE = 1; // 0x1
2466524661
field public static final int PERSISTENT_NO_CACHE = 0; // 0x0

core/java/android/view/ViewGroup.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
348348
* This constant is a {@link #setLayoutMode(int) layoutMode}.
349349
* Clip bounds are the raw values of {@link #getLeft() left}, {@link #getTop() top},
350350
* {@link #getRight() right} and {@link #getBottom() bottom}.
351+
*
352+
* @hide
351353
*/
352354
public static final int CLIP_BOUNDS = 0;
353355

@@ -356,6 +358,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
356358
* Optical bounds describe where a widget appears to be. They sit inside the clip
357359
* bounds which need to cover a larger area to allow other effects,
358360
* such as shadows and glows, to be drawn.
361+
*
362+
* @hide
359363
*/
360364
public static final int OPTICAL_BOUNDS = 1;
361365

@@ -4539,6 +4543,8 @@ public void setPersistentDrawingCache(int drawingCacheToKeep) {
45394543
* @return the layout mode to use during layout operations
45404544
*
45414545
* @see #setLayoutMode(int)
4546+
*
4547+
* @hide
45424548
*/
45434549
public int getLayoutMode() {
45444550
return mLayoutMode;
@@ -4553,6 +4559,8 @@ public int getLayoutMode() {
45534559
* @param layoutMode the layout mode to use during layout operations
45544560
*
45554561
* @see #getLayoutMode()
4562+
*
4563+
* @hide
45564564
*/
45574565
public void setLayoutMode(int layoutMode) {
45584566
if (mLayoutMode != layoutMode) {

0 commit comments

Comments
 (0)