diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-05-08 20:42:11 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-08 20:42:12 +0000 |
commit | ed9af066b2407a36699fae2e475c4d1b53d2ca1d (patch) | |
tree | 005f834b928f7a47220e1468b7aa90d6fee1bfd3 /core/java/android/view/ViewAssistStructure.java | |
parent | 180fd27832b429aaca0a35e8b93c88195b6451be (diff) | |
parent | 49b043f37d7231b1544cb72e1bfb616e5a00688d (diff) | |
download | frameworks_base-ed9af066b2407a36699fae2e475c4d1b53d2ca1d.zip frameworks_base-ed9af066b2407a36699fae2e475c4d1b53d2ca1d.tar.gz frameworks_base-ed9af066b2407a36699fae2e475c4d1b53d2ca1d.tar.bz2 |
Merge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-dev
Diffstat (limited to 'core/java/android/view/ViewAssistStructure.java')
-rw-r--r-- | core/java/android/view/ViewAssistStructure.java | 67 |
1 files changed, 3 insertions, 64 deletions
diff --git a/core/java/android/view/ViewAssistStructure.java b/core/java/android/view/ViewAssistStructure.java index fccfbb8..a66d93c 100644 --- a/core/java/android/view/ViewAssistStructure.java +++ b/core/java/android/view/ViewAssistStructure.java @@ -16,70 +16,9 @@ package android.view; -import android.graphics.Rect; -import android.os.Bundle; -import android.text.TextPaint; - /** - * Container for storing additional per-view data generated by {@link View#onProvideAssistStructure - * View.onProvideAssistStructure}. + * @deprecated Temporary until old apps can move off this. */ -public abstract class ViewAssistStructure { - public abstract void setId(int id, String packageName, String typeName, String entryName); - - public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, - int height); - - public abstract void setVisibility(int visibility); - - public abstract void setAssistBlocked(boolean state); - - public abstract void setEnabled(boolean state); - - public abstract void setClickable(boolean state); - - public abstract void setLongClickable(boolean state); - - public abstract void setStylusButtonPressable(boolean state); - - public abstract void setFocusable(boolean state); - - public abstract void setFocused(boolean state); - - public abstract void setAccessibilityFocused(boolean state); - - public abstract void setCheckable(boolean state); - - public abstract void setChecked(boolean state); - - public abstract void setSelected(boolean state); - - public abstract void setActivated(boolean state); - - public abstract void setClassName(String className); - - public abstract void setContentDescription(CharSequence contentDescription); - - public abstract void setText(CharSequence text); - public abstract void setText(CharSequence text, int selectionStart, int selectionEnd); - public abstract void setTextPaint(TextPaint paint); - public abstract void setHint(CharSequence hint); - - public abstract CharSequence getText(); - public abstract int getTextSelectionStart(); - public abstract int getTextSelectionEnd(); - public abstract CharSequence getHint(); - - public abstract Bundle editExtras(); - public abstract void clearExtras(); - - public abstract void setChildCount(int num); - public abstract int getChildCount(); - public abstract ViewAssistStructure newChild(int index); - - public abstract ViewAssistStructure asyncNewChild(int index); - public abstract void asyncCommit(); - - /** @hide */ - public abstract Rect getTempRect(); +@Deprecated +public abstract class ViewAssistStructure extends ViewStructure { } |