/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 24 import android.widget.TextView; 36 public void initialize(TextView widget, Spannable text) { in initialize() argument 40 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) { in onKeyDown() argument 42 boolean handled = handleMovementKey(widget, text, keyCode, movementMetaState, event); in onKeyDown() 51 public boolean onKeyOther(TextView widget, Spannable text, KeyEvent event) { in onKeyOther() argument 59 if (!handleMovementKey(widget, text, keyCode, movementMetaState, event)) { in onKeyOther() 74 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) { in onKeyUp() argument 79 public void onTakeFocus(TextView widget, Spannable text, int direction) { in onTakeFocus() argument 83 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event) { in onTouchEvent() argument 88 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event) { in onTrackballEvent() argument [all …]
|
D | ScrollingMovementMethod.java | 23 import android.widget.TextView; 30 protected boolean left(TextView widget, Spannable buffer) { in left() argument 31 return scrollLeft(widget, buffer, 1); in left() 35 protected boolean right(TextView widget, Spannable buffer) { in right() argument 36 return scrollRight(widget, buffer, 1); in right() 40 protected boolean up(TextView widget, Spannable buffer) { in up() argument 41 return scrollUp(widget, buffer, 1); in up() 45 protected boolean down(TextView widget, Spannable buffer) { in down() argument 46 return scrollDown(widget, buffer, 1); in down() 50 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() argument [all …]
|
D | ArrowKeyMovementMethod.java | 26 import android.widget.TextView; 42 private static int getPageHeight(TextView widget) { in getPageHeight() argument 47 return widget.getGlobalVisibleRect(rect) ? rect.height() : 0; in getPageHeight() 51 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey() argument 60 return widget.showContextMenu(); in handleMovementKey() 65 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event); in handleMovementKey() 69 protected boolean left(TextView widget, Spannable buffer) { in left() argument 70 final Layout layout = widget.getLayout(); in left() 79 protected boolean right(TextView widget, Spannable buffer) { in right() argument 80 final Layout layout = widget.getLayout(); in right() [all …]
|
D | LinkMovementMethod.java | 30 import android.widget.TextView; 49 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey() argument 56 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { in handleMovementKey() 62 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event); in handleMovementKey() 66 protected boolean up(TextView widget, Spannable buffer) { in up() argument 67 if (action(UP, widget, buffer)) { in up() 71 return super.up(widget, buffer); in up() 75 protected boolean down(TextView widget, Spannable buffer) { in down() argument 76 if (action(DOWN, widget, buffer)) { in down() 80 return super.down(widget, buffer); in down() [all …]
|
D | Touch.java | 26 import android.widget.TextView; 37 public static void scrollTo(TextView widget, Layout layout, int x, int y) { in scrollTo() argument 38 final int horizontalPadding = widget.getTotalPaddingLeft() + widget.getTotalPaddingRight(); in scrollTo() 39 final int availableWidth = widget.getWidth() - horizontalPadding; in scrollTo() 46 if (widget.getHorizontallyScrolling()) { in scrollTo() 47 … final int verticalPadding = widget.getTotalPaddingTop() + widget.getTotalPaddingBottom(); in scrollTo() 48 final int bottom = layout.getLineForVertical(y + widget.getHeight() - verticalPadding); in scrollTo() 81 widget.scrollTo(x, y); in scrollTo() 88 public static boolean onTouchEvent(TextView widget, Spannable buffer, in onTouchEvent() argument 101 widget.getScrollX(), widget.getScrollY()), in onTouchEvent() [all …]
|
D | MovementMethod.java | 22 import android.widget.TextView; 36 public void initialize(TextView widget, Spannable text); in initialize() argument 37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyDown() argument 38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyUp() argument 47 public void onTakeFocus(TextView widget, Spannable text, int direction); in onTakeFocus() argument 48 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event); in onTrackballEvent() argument 49 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event); in onTouchEvent() argument 50 public boolean onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event); in onGenericMotionEvent() argument
|
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/ |
D | missingSinces.txt | 3 NO DOC BLOCK: android.support.design.widget.BaseTransientBottomBar Class 4 NO DOC BLOCK: android.support.design.widget.BaseTransientBottomBar.BaseCallback Class 5 NO DOC BLOCK: android.support.design.widget.BaseTransientBottomBar.ContentViewCallback Interface 7 NO DOC BLOCK: android.support.v7.widget.PagerSnapHelper Class 16 NO DOC BLOCK: android.support.v17.leanback.widget.PlaybackRowPresenter Class 17 NO DOC BLOCK: android.support.v17.leanback.widget.PlaybackRowPresenter.ViewHolder Class 31 NO DOC BLOCK: android.support.v17.leanback.widget.GuidedActionsStylist Method collapseAction(boolea… 32 NO DOC BLOCK: android.support.v7.widget.SnapHelper Method createSnapScroller(android.support.v7.wid… 33 ….app.GuidedStepFragment Method expandAction(android.support.v17.leanback.widget.GuidedAction, bool… 34 …idedStepSupportFragment Method expandAction(android.support.v17.leanback.widget.GuidedAction, bool… [all …]
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 99 import android.widget.RemoteViews; 111 import com.android.internal.widget.IRemoteViewsFactory; 652 Widget widget = provider.widgets.get(j); in maskWidgetsViewsLocked() local 653 if (targetWidget != null && targetWidget != widget) continue; in maskWidgetsViewsLocked() 656 intent = PendingIntent.getActivity(mContext, widget.appWidgetId, in maskWidgetsViewsLocked() 660 if (widget.replaceWithMaskedViewsLocked(views)) { in maskWidgetsViewsLocked() 661 scheduleNotifyUpdateAppWidgetLocked(widget, widget.getEffectiveViewsLocked()); in maskWidgetsViewsLocked() 672 Widget widget = provider.widgets.get(j); in unmaskWidgetsViewsLocked() local 673 if (widget.clearMaskedViewsLocked()) { in unmaskWidgetsViewsLocked() 674 scheduleNotifyUpdateAppWidgetLocked(widget, widget.getEffectiveViewsLocked()); in unmaskWidgetsViewsLocked() [all …]
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | AlignmentTest.java | 25 import android.widget.Button; 26 import android.widget.EditText; 27 import android.widget.GridLayout; 28 import android.widget.GridLayout.Alignment; 29 import android.widget.GridLayout.LayoutParams; 30 import android.widget.TextView; 32 import static android.widget.GridLayout.BASELINE; 33 import static android.widget.GridLayout.BOTTOM; 34 import static android.widget.GridLayout.CENTER; 35 import static android.widget.GridLayout.FILL; [all …]
|
D | GridLayoutTest.java | 22 import android.widget.GridLayout; 24 import static android.widget.GridLayout.Spec; 25 import static android.widget.GridLayout.UNDEFINED; 26 import static android.widget.GridLayout.VERTICAL; 27 import static android.widget.GridLayout.spec;
|
D | LayoutInsetsTest.java | 9 import android.widget.Button; 10 import android.widget.GridLayout; 11 import android.widget.TextView; 13 import static android.widget.GridLayout.LayoutParams; 14 import static android.widget.GridLayout.LAYOUT_MODE_OPTICAL_BOUNDS;
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGridLayoutCodeRtl.java | 25 import android.widget.Button; 26 import android.widget.EditText; 27 import android.widget.FrameLayout; 28 import android.widget.GridLayout; 29 import android.widget.Space; 30 import android.widget.TextView; 35 import static android.widget.GridLayout.ALIGN_BOUNDS; 36 import static android.widget.GridLayout.BASELINE; 37 import static android.widget.GridLayout.CENTER; 38 import static android.widget.GridLayout.FILL; [all …]
|
D | BiDiTestGridLayoutCodeLtr.java | 25 import android.widget.Button; 26 import android.widget.EditText; 27 import android.widget.FrameLayout; 28 import android.widget.GridLayout; 29 import android.widget.Space; 30 import android.widget.TextView; 35 import static android.widget.GridLayout.ALIGN_BOUNDS; 36 import static android.widget.GridLayout.BASELINE; 37 import static android.widget.GridLayout.CENTER; 38 import static android.widget.GridLayout.FILL; [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewFlipperActivity.java | 24 import android.widget.FrameLayout; 25 import android.widget.ImageView; 26 import android.widget.TextView; 27 import android.widget.ViewFlipper; 36 final View widget = inflater.inflate(R.layout.widget, null); in onCreate() local 37 widget.setLayoutParams(new FrameLayout.LayoutParams(180, 180, Gravity.CENTER)); in onCreate() 39 ViewFlipper flipper = (ViewFlipper) widget.findViewById(R.id.flipper); in onCreate() 54 layout.addView(widget); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DrawableBgMinSize.java | 23 import android.widget.AbsoluteLayout; 24 import android.widget.Button; 25 import android.widget.FrameLayout; 26 import android.widget.LinearLayout; 27 import android.widget.RelativeLayout; 28 import android.widget.TextView;
|
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/ |
D | missingSinces.txt | 1 NO DOC BLOCK: android.support.design.widget.BottomNavigationView Class 2 NO DOC BLOCK: android.support.design.widget.BottomNavigationView.OnNavigationItemSelectedListener I… 3 NO DOC BLOCK: android.support.v7.widget.DividerItemDecoration Class 8 NO DOC BLOCK: android.support.v7.widget.RecyclerView Method getDecoratedBoundsWithMargins(android.v… 10 NO DOC BLOCK: android.support.v4.widget.SwipeRefreshLayout Method getProgressViewEndOffset() 11 NO DOC BLOCK: android.support.v4.widget.SwipeRefreshLayout Method getProgressViewStartOffset() 13 NO DOC BLOCK: android.support.design.widget.FloatingActionButton Method getRippleColor() 14 NO DOC BLOCK: android.support.v7.widget.RecyclerView.LayoutManager Method isItemPrefetchEnabled() 18 NO DOC BLOCK: android.support.v7.widget.RecyclerView.LayoutManager Method setItemPrefetchEnabled(bo…
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListManagedCursor.java | 17 package android.widget.listview; 26 import android.widget.AdapterView; 27 import android.widget.AdapterView.OnItemClickListener; 28 import android.widget.ListAdapter; 29 import android.widget.SimpleCursorAdapter;
|
D | ListScrollListener.java | 17 package android.widget.listview; 23 import android.widget.AbsListView; 24 import android.widget.AdapterView; 25 import android.widget.ArrayAdapter; 26 import android.widget.TextView;
|
D | ListWithDisappearingItemBug.java | 17 package android.widget.listview; 28 import android.widget.ListAdapter; 29 import android.widget.ListView; 30 import android.widget.SimpleCursorAdapter; 31 import android.widget.Toast;
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
D | AddColumn.java | 17 package android.widget.layout.table; 22 import android.widget.Button; 23 import android.widget.TableLayout; 24 import android.widget.TableRow; 25 import android.widget.TextView;
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
D | ButtonsWithTallTextViewInBetween.java | 17 package android.widget.scroll; 20 import android.widget.Button; 21 import android.widget.LinearLayout; 22 import android.widget.TextView;
|
D | ScrollViewButtonsAndLabels.java | 17 package android.widget.scroll; 21 import android.widget.Button; 22 import android.widget.LinearLayout; 23 import android.widget.ScrollView; 24 import android.widget.TextView;
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | SimplePlayer.java | 28 import android.widget.Button; 29 import android.widget.TextView; 30 import android.widget.EditText; 31 import android.widget.SeekBar; 32 import android.widget.ToggleButton; 33 import android.widget.CompoundButton; 34 import android.widget.CompoundButton.OnCheckedChangeListener; 35 import android.widget.ImageButton; 36 import android.widget.ImageView;
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridScrollListener.java | 17 package android.widget.gridview; 22 import android.widget.AbsListView; 23 import android.widget.ArrayAdapter; 24 import android.widget.GridView; 25 import android.widget.TextView;
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | LLEditTextThenButton.java | 17 package android.widget.layout.linear; 21 import android.widget.Button; 22 import android.widget.EditText; 23 import android.widget.LinearLayout;
|