Home
last modified time | relevance | path

Searched refs:widget (Results 1 – 25 of 2411) sorted by relevance

12345678910>>...97

/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java24 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 …]
DScrollingMovementMethod.java23 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 …]
DArrowKeyMovementMethod.java26 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 …]
DLinkMovementMethod.java27 import android.widget.TextView;
44 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey() argument
51 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { in handleMovementKey()
57 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event); in handleMovementKey()
61 protected boolean up(TextView widget, Spannable buffer) { in up() argument
62 if (action(UP, widget, buffer)) { in up()
66 return super.up(widget, buffer); in up()
70 protected boolean down(TextView widget, Spannable buffer) { in down() argument
71 if (action(DOWN, widget, buffer)) { in down()
75 return super.down(widget, buffer); in down()
[all …]
DTouch.java26 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 …]
DMovementMethod.java22 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/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DCallbackBindingObject.java33 import android.widget.AbsListView;
34 import android.widget.AdapterView;
35 import android.widget.CalendarView;
36 import android.widget.Chronometer;
37 import android.widget.CompoundButton;
38 import android.widget.ExpandableListView;
39 import android.widget.NumberPicker;
40 import android.widget.RadioGroup;
41 import android.widget.RatingBar;
42 import android.widget.SeekBar;
[all …]
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
DmissingSinces.txt3 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/
DAppWidgetServiceImpl.java92 import android.widget.RemoteViews;
102 import com.android.internal.widget.IRemoteViewsAdapterConnection;
103 import com.android.internal.widget.IRemoteViewsFactory;
620 Widget widget = provider.widgets.get(j); in maskWidgetsViewsLocked() local
621 if (targetWidget != null && targetWidget != widget) continue; in maskWidgetsViewsLocked()
624 intent = PendingIntent.getActivity(mContext, widget.appWidgetId, in maskWidgetsViewsLocked()
628 if (widget.replaceWithMaskedViewsLocked(views)) { in maskWidgetsViewsLocked()
629 scheduleNotifyUpdateAppWidgetLocked(widget, widget.getEffectiveViewsLocked()); in maskWidgetsViewsLocked()
640 Widget widget = provider.widgets.get(j); in unmaskWidgetsViewsLocked() local
641 if (widget.clearMaskedViewsLocked()) { in unmaskWidgetsViewsLocked()
[all …]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAlignmentTest.java25 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 …]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeRtl.java25 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 …]
DBiDiTestGridLayoutCodeLtr.java25 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/
DViewFlipperActivity.java24 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/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackOverlayFragment.java20 import android.support.v17.leanback.widget.Action;
21 import android.support.v17.leanback.widget.ArrayObjectAdapter;
22 import android.support.v17.leanback.widget.ClassPresenterSelector;
23 import android.support.v17.leanback.widget.HeaderItem;
24 import android.support.v17.leanback.widget.ListRow;
25 import android.support.v17.leanback.widget.ListRowPresenter;
26 import android.support.v17.leanback.widget.OnItemViewClickedListener;
27 import android.support.v17.leanback.widget.OnItemViewSelectedListener;
28 import android.support.v17.leanback.widget.PlaybackControlsRow;
29 import android.support.v17.leanback.widget.PlaybackControlsRowPresenter;
[all …]
DPlaybackOverlaySupportFragment.java23 import android.support.v17.leanback.widget.Action;
24 import android.support.v17.leanback.widget.ArrayObjectAdapter;
25 import android.support.v17.leanback.widget.ClassPresenterSelector;
26 import android.support.v17.leanback.widget.HeaderItem;
27 import android.support.v17.leanback.widget.ListRow;
28 import android.support.v17.leanback.widget.ListRowPresenter;
29 import android.support.v17.leanback.widget.OnItemViewClickedListener;
30 import android.support.v17.leanback.widget.OnItemViewSelectedListener;
31 import android.support.v17.leanback.widget.PlaybackControlsRow;
32 import android.support.v17.leanback.widget.PlaybackControlsRowPresenter;
[all …]
DDetailsFragment.java20 import android.support.v17.leanback.widget.Action;
21 import android.support.v17.leanback.widget.ArrayObjectAdapter;
22 import android.support.v17.leanback.widget.ClassPresenterSelector;
23 import android.support.v17.leanback.widget.DetailsOverviewRow;
24 import android.support.v17.leanback.widget.DetailsOverviewRowPresenter;
25 import android.support.v17.leanback.widget.HeaderItem;
26 import android.support.v17.leanback.widget.ImageCardView;
27 import android.support.v17.leanback.widget.ListRow;
28 import android.support.v17.leanback.widget.ListRowPresenter;
29 import android.support.v17.leanback.widget.OnActionClickedListener;
[all …]
DDetailsSupportFragment.java23 import android.support.v17.leanback.widget.Action;
24 import android.support.v17.leanback.widget.ArrayObjectAdapter;
25 import android.support.v17.leanback.widget.ClassPresenterSelector;
26 import android.support.v17.leanback.widget.DetailsOverviewRow;
27 import android.support.v17.leanback.widget.DetailsOverviewRowPresenter;
28 import android.support.v17.leanback.widget.HeaderItem;
29 import android.support.v17.leanback.widget.ImageCardView;
30 import android.support.v17.leanback.widget.ListRow;
31 import android.support.v17.leanback.widget.ListRowPresenter;
32 import android.support.v17.leanback.widget.OnActionClickedListener;
[all …]
DRowsSupportFragment.java21 import android.support.v17.leanback.widget.ArrayObjectAdapter;
22 import android.support.v17.leanback.widget.HeaderItem;
23 import android.support.v17.leanback.widget.ImageCardView;
24 import android.support.v17.leanback.widget.ListRow;
25 import android.support.v17.leanback.widget.ListRowPresenter;
26 import android.support.v17.leanback.widget.OnItemViewClickedListener;
27 import android.support.v17.leanback.widget.OnItemViewSelectedListener;
28 import android.support.v17.leanback.widget.Presenter;
29 import android.support.v17.leanback.widget.Row;
30 import android.support.v17.leanback.widget.RowPresenter;
[all …]
DRowsFragment.java18 import android.support.v17.leanback.widget.ArrayObjectAdapter;
19 import android.support.v17.leanback.widget.HeaderItem;
20 import android.support.v17.leanback.widget.ImageCardView;
21 import android.support.v17.leanback.widget.ListRow;
22 import android.support.v17.leanback.widget.ListRowPresenter;
23 import android.support.v17.leanback.widget.OnItemViewClickedListener;
24 import android.support.v17.leanback.widget.OnItemViewSelectedListener;
25 import android.support.v17.leanback.widget.Presenter;
26 import android.support.v17.leanback.widget.Row;
27 import android.support.v17.leanback.widget.RowPresenter;
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/
DGridLayout3.java19 import static android.support.v7.widget.GridLayout.ALIGN_BOUNDS;
20 import static android.support.v7.widget.GridLayout.BASELINE;
21 import static android.support.v7.widget.GridLayout.CENTER;
22 import static android.support.v7.widget.GridLayout.FILL;
23 import static android.support.v7.widget.GridLayout.LEFT;
24 import static android.support.v7.widget.GridLayout.RIGHT;
25 import static android.support.v7.widget.GridLayout.spec;
34 import android.support.v7.widget.GridLayout;
35 import android.support.v7.widget.GridLayout.LayoutParams;
36 import android.support.v7.widget.GridLayout.Spec;
[all …]
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/
DCardExampleFragment.java30 import android.support.v17.leanback.widget.ArrayObjectAdapter;
31 import android.support.v17.leanback.widget.HeaderItem;
32 import android.support.v17.leanback.widget.ImageCardView;
33 import android.support.v17.leanback.widget.DividerRow;
34 import android.support.v17.leanback.widget.SectionRow;
35 import android.support.v17.leanback.widget.ListRow;
36 import android.support.v17.leanback.widget.OnItemViewClickedListener;
37 import android.support.v17.leanback.widget.Presenter;
38 import android.support.v17.leanback.widget.PresenterSelector;
39 import android.support.v17.leanback.widget.Row;
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DDetailsTestSupportFragment.java25 import android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter;
26 import android.support.v17.leanback.widget.Action;
27 import android.support.v17.leanback.widget.ArrayObjectAdapter;
28 import android.support.v17.leanback.widget.ClassPresenterSelector;
29 import android.support.v17.leanback.widget.DetailsOverviewRow;
30 import android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter;
31 import android.support.v17.leanback.widget.HeaderItem;
32 import android.support.v17.leanback.widget.ImageCardView;
33 import android.support.v17.leanback.widget.ListRow;
34 import android.support.v17.leanback.widget.ListRowPresenter;
[all …]
DDetailsTestFragment.java22 import android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter;
23 import android.support.v17.leanback.widget.Action;
24 import android.support.v17.leanback.widget.ArrayObjectAdapter;
25 import android.support.v17.leanback.widget.ClassPresenterSelector;
26 import android.support.v17.leanback.widget.DetailsOverviewRow;
27 import android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter;
28 import android.support.v17.leanback.widget.HeaderItem;
29 import android.support.v17.leanback.widget.ImageCardView;
30 import android.support.v17.leanback.widget.ListRow;
31 import android.support.v17.leanback.widget.ListRowPresenter;
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DBitmapDrawable.java26 import android.widget.AbsoluteLayout;
27 import android.widget.Button;
28 import android.widget.FrameLayout;
29 import android.widget.LinearLayout;
30 import android.widget.RelativeLayout;
31 import android.widget.TextView;
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
DBaseLayoutManagerActivity.java17 package com.example.android.supportv7.widget;
21 import android.support.v7.widget.DefaultItemAnimator;
22 import android.support.v7.widget.LinearLayoutManager;
23 import android.support.v7.widget.RecyclerView;
27 import android.widget.BaseAdapter;
28 import android.widget.CheckBox;
29 import android.widget.EditText;
30 import android.widget.Spinner;
31 import android.widget.TextView;
35 import com.example.android.supportv7.widget.adapter.SimpleStringAdapter;
[all …]

12345678910>>...97