Home
last modified time | relevance | path

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

12345678910>>...105

/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java25 import android.widget.TextView;
37 public void initialize(TextView widget, Spannable text) { in initialize() argument
41 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) { in onKeyDown() argument
43 boolean handled = handleMovementKey(widget, text, keyCode, movementMetaState, event); in onKeyDown()
52 public boolean onKeyOther(TextView widget, Spannable text, KeyEvent event) { in onKeyOther() argument
60 if (!handleMovementKey(widget, text, keyCode, movementMetaState, event)) { in onKeyOther()
75 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) { in onKeyUp() argument
80 public void onTakeFocus(TextView widget, Spannable text, int direction) { in onTakeFocus() argument
84 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event) { in onTouchEvent() argument
89 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.java27 import android.widget.TextView;
43 private static int getPageHeight(TextView widget) { in getPageHeight() argument
48 return widget.getGlobalVisibleRect(rect) ? rect.height() : 0; in getPageHeight()
52 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey() argument
61 return widget.showContextMenu(); in handleMovementKey()
66 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event); in handleMovementKey()
70 protected boolean left(TextView widget, Spannable buffer) { in left() argument
71 if (widget.isOffsetMappingAvailable()) { in left()
74 final Layout layout = widget.getLayout(); in left()
83 protected boolean right(TextView widget, Spannable buffer) { in right() argument
[all …]
DLinkMovementMethod.java30 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 …]
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/base/core/java/com/android/internal/widget/remotecompose/core/
DOperations.java16 package com.android.internal.widget.remotecompose.core;
18 import com.android.internal.widget.remotecompose.core.operations.BitmapData;
19 import com.android.internal.widget.remotecompose.core.operations.ClickArea;
20 import com.android.internal.widget.remotecompose.core.operations.ClipPath;
21 import com.android.internal.widget.remotecompose.core.operations.ClipRect;
22 import com.android.internal.widget.remotecompose.core.operations.ColorExpression;
23 import com.android.internal.widget.remotecompose.core.operations.DrawArc;
24 import com.android.internal.widget.remotecompose.core.operations.DrawBitmap;
25 import com.android.internal.widget.remotecompose.core.operations.DrawBitmapInt;
26 import com.android.internal.widget.remotecompose.core.operations.DrawCircle;
[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.java124 import android.widget.RemoteViews;
137 import com.android.internal.widget.IRemoteViewsFactory;
798 Widget widget = provider.widgets.get(j); in maskWidgetsViewsLocked() local
799 if (targetWidget != null && targetWidget != widget) continue; in maskWidgetsViewsLocked()
802 new int[] { widget.appWidgetId }); in maskWidgetsViewsLocked()
804 PendingIntent.getBroadcast(mContext, widget.appWidgetId, in maskWidgetsViewsLocked()
809 PendingIntent.getActivity(mContext, widget.appWidgetId, onClickIntent, in maskWidgetsViewsLocked()
813 if (widget.replaceWithMaskedViewsLocked(views)) { in maskWidgetsViewsLocked()
814 scheduleNotifyUpdateAppWidgetLocked(widget, widget.getEffectiveViewsLocked()); in maskWidgetsViewsLocked()
825 Widget widget = provider.widgets.get(j); in unmaskWidgetsViewsLocked() local
[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/core/java/com/android/internal/widget/remotecompose/core/operations/
DPaintData.java16 package com.android.internal.widget.remotecompose.core.operations;
18 import com.android.internal.widget.remotecompose.core.CompanionOperation;
19 import com.android.internal.widget.remotecompose.core.Operation;
20 import com.android.internal.widget.remotecompose.core.Operations;
21 import com.android.internal.widget.remotecompose.core.PaintContext;
22 import com.android.internal.widget.remotecompose.core.PaintOperation;
23 import com.android.internal.widget.remotecompose.core.RemoteContext;
24 import com.android.internal.widget.remotecompose.core.VariableSupport;
25 import com.android.internal.widget.remotecompose.core.WireBuffer;
26 import com.android.internal.widget.remotecompose.core.operations.paint.PaintBundle;
DMatrixRestore.java16 package com.android.internal.widget.remotecompose.core.operations;
18 import com.android.internal.widget.remotecompose.core.CompanionOperation;
19 import com.android.internal.widget.remotecompose.core.Operation;
20 import com.android.internal.widget.remotecompose.core.Operations;
21 import com.android.internal.widget.remotecompose.core.PaintContext;
22 import com.android.internal.widget.remotecompose.core.PaintOperation;
23 import com.android.internal.widget.remotecompose.core.WireBuffer;
DMatrixSave.java16 package com.android.internal.widget.remotecompose.core.operations;
18 import com.android.internal.widget.remotecompose.core.CompanionOperation;
19 import com.android.internal.widget.remotecompose.core.Operation;
20 import com.android.internal.widget.remotecompose.core.Operations;
21 import com.android.internal.widget.remotecompose.core.PaintContext;
22 import com.android.internal.widget.remotecompose.core.PaintOperation;
23 import com.android.internal.widget.remotecompose.core.WireBuffer;
DDrawBase2.java16 package com.android.internal.widget.remotecompose.core.operations;
18 import static com.android.internal.widget.remotecompose.core.operations.Utils.floatToString;
20 import com.android.internal.widget.remotecompose.core.CompanionOperation;
21 import com.android.internal.widget.remotecompose.core.Operation;
22 import com.android.internal.widget.remotecompose.core.Operations;
23 import com.android.internal.widget.remotecompose.core.PaintOperation;
24 import com.android.internal.widget.remotecompose.core.RemoteContext;
25 import com.android.internal.widget.remotecompose.core.VariableSupport;
26 import com.android.internal.widget.remotecompose.core.WireBuffer;
DTheme.java16 package com.android.internal.widget.remotecompose.core.operations;
18 import com.android.internal.widget.remotecompose.core.CompanionOperation;
19 import com.android.internal.widget.remotecompose.core.Operation;
20 import com.android.internal.widget.remotecompose.core.Operations;
21 import com.android.internal.widget.remotecompose.core.RemoteComposeOperation;
22 import com.android.internal.widget.remotecompose.core.RemoteContext;
23 import com.android.internal.widget.remotecompose.core.WireBuffer;
DDrawPath.java16 package com.android.internal.widget.remotecompose.core.operations;
18 import com.android.internal.widget.remotecompose.core.CompanionOperation;
19 import com.android.internal.widget.remotecompose.core.Operation;
20 import com.android.internal.widget.remotecompose.core.Operations;
21 import com.android.internal.widget.remotecompose.core.PaintContext;
22 import com.android.internal.widget.remotecompose.core.PaintOperation;
23 import com.android.internal.widget.remotecompose.core.WireBuffer;
DRootContentDescription.java16 package com.android.internal.widget.remotecompose.core.operations;
18 import com.android.internal.widget.remotecompose.core.CompanionOperation;
19 import com.android.internal.widget.remotecompose.core.Operation;
20 import com.android.internal.widget.remotecompose.core.Operations;
21 import com.android.internal.widget.remotecompose.core.RemoteComposeOperation;
22 import com.android.internal.widget.remotecompose.core.RemoteContext;
23 import com.android.internal.widget.remotecompose.core.WireBuffer;
/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/graphics/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/opt/car/services/builtInServices/tests/src/com/android/car/rotary/
DActivityResolverTest.java83 new UiSelector().className(android.widget.ListView.class)); in testListItemFocusable_threeItems()
90 .className(android.widget.LinearLayout.class).focusable(true).instance(0)); in testListItemFocusable_threeItems()
95 .className(android.widget.LinearLayout.class).focusable(true).instance(1)); in testListItemFocusable_threeItems()
100 .className(android.widget.LinearLayout.class).focusable(true).instance(2)); in testListItemFocusable_threeItems()
116 new UiSelector().className(android.widget.ListView.class)); in testListItemFocusable_twoItems()
123 .className(android.widget.LinearLayout.class).focusable(true).instance(0)); in testListItemFocusable_twoItems()
128 .className(android.widget.LinearLayout.class).focusable(true).instance(1)); in testListItemFocusable_twoItems()
133 .className(android.widget.Button.class).focusable(true).enabled(true).instance(0)); in testListItemFocusable_twoItems()
138 .className(android.widget.Button.class).focusable(true).enabled(true).instance(1)); in testListItemFocusable_twoItems()
151 .className(android.widget.Button.class).focusable(true).enabled(false).instance(0)); in testActionButtonsNotFocusable_threeItems()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSplitShadeMediaSection.kt22 import android.widget.FrameLayout
23 import androidx.constraintlayout.widget.ConstraintLayout
24 import androidx.constraintlayout.widget.ConstraintSet
25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
26 import androidx.constraintlayout.widget.ConstraintSet.END
27 import androidx.constraintlayout.widget.ConstraintSet.MATCH_CONSTRAINT
28 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
29 import androidx.constraintlayout.widget.ConstraintSet.START
30 import androidx.constraintlayout.widget.ConstraintSet.TOP
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/
DSharedNotificationContainer.kt23 import androidx.constraintlayout.widget.ConstraintLayout
24 import androidx.constraintlayout.widget.ConstraintSet
25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
26 import androidx.constraintlayout.widget.ConstraintSet.END
27 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
28 import androidx.constraintlayout.widget.ConstraintSet.START
29 import androidx.constraintlayout.widget.ConstraintSet.TOP
30 import androidx.constraintlayout.widget.ConstraintSet.VERTICAL
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/scaffold/
DSuwScaffoldPageProvider.kt36 import com.android.settingslib.spa.widget.illustration.Illustration
37 import com.android.settingslib.spa.widget.illustration.IllustrationModel
38 import com.android.settingslib.spa.widget.illustration.ResourceType
39 import com.android.settingslib.spa.widget.preference.Preference
40 import com.android.settingslib.spa.widget.preference.PreferenceModel
41 import com.android.settingslib.spa.widget.scaffold.BottomAppBarButton
42 import com.android.settingslib.spa.widget.scaffold.SuwScaffold
43 import com.android.settingslib.spa.widget.ui.SettingsBody
44 import com.android.settingslib.spa.widget.ui.Spinner
45 import com.android.settingslib.spa.widget.ui.SpinnerOption
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DButtonsWithTallTextViewInBetween.java17 package android.widget.scroll;
19 import android.widget.ScrollViewScenario;
20 import android.widget.Button;
21 import android.widget.LinearLayout;
22 import android.widget.TextView;

12345678910>>...105