Home
last modified time | relevance | path

Searched refs:ImageButton (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/widget/
DImageButton.java77 public class ImageButton extends ImageView { class
78 public ImageButton(Context context) { in ImageButton() method in ImageButton
82 public ImageButton(Context context, AttributeSet attrs) { in ImageButton() method in ImageButton
86 public ImageButton(Context context, AttributeSet attrs, int defStyleAttr) { in ImageButton() method in ImageButton
90 public ImageButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ImageButton() method in ImageButton
102 return ImageButton.class.getName(); in getAccessibilityClassName()
DDayPickerView.java50 private final ImageButton mPrevButton;
51 private final ImageButton mNextButton;
213 final ImageButton leftButton;
214 final ImageButton rightButton;
DMediaController.java110 private ImageButton mPauseButton;
112 private ImageButton mFfwdButton;
114 private ImageButton mRewButton;
116 private ImageButton mNextButton;
118 private ImageButton mPrevButton;
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java22 import android.widget.ImageButton;
31 private ImageButton mPrev;
32 private ImageButton mNext;
33 private ImageButton mPause;
47 mPrev = (ImageButton) activity.findViewById(R.id.prev); in setUp()
48 mNext = (ImageButton) activity.findViewById(R.id.next); in setUp()
49 mPause = (ImageButton) activity.findViewById(R.id.pause); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaViewHolder.kt22 import android.widget.ImageButton
67 val actionPlayPause = itemView.requireViewById<ImageButton>(R.id.actionPlayPause)
68 val actionNext = itemView.requireViewById<ImageButton>(R.id.actionNext)
69 val actionPrev = itemView.requireViewById<ImageButton>(R.id.actionPrev)
70 val action0 = itemView.requireViewById<ImageButton>(R.id.action0)
71 val action1 = itemView.requireViewById<ImageButton>(R.id.action1)
72 val action2 = itemView.requireViewById<ImageButton>(R.id.action2)
73 val action3 = itemView.requireViewById<ImageButton>(R.id.action3)
74 val action4 = itemView.requireViewById<ImageButton>(R.id.action4)
78 fun getAction(id: Int): ImageButton { in getAction()
[all …]
DGutsViewHolder.kt23 import android.widget.ImageButton
44 val settings: ImageButton = itemView.requireViewById(R.id.settings)
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuFooter.java25 import android.widget.ImageButton;
48 private ImageButton mPreviousPageBtn;
49 private ImageButton mNextPageBtn;
60 public @Nullable ImageButton getPreviousPageBtn() { in getPreviousPageBtn()
64 public @Nullable ImageButton getNextPageBtn() { in getNextPageBtn()
94 private void expandBtnTouchArea(ImageButton btn, View btnParent) { in expandBtnTouchArea()
DA11yMenuAdapter.java27 import android.widget.ImageButton;
102 ImageButton shortcutIconButton = convertView.findViewById(R.id.shortcutIconBtn); in expandIconTouchArea()
123 ImageButton shortcutIconButton = convertView.findViewById(R.id.shortcutIconBtn); in setActionForMenuShortcut()
133 ImageButton shortcutIconButton = convertView.findViewById(R.id.shortcutIconBtn); in configureShortcutSize()
144 ImageButton shortcutIconButton = convertView.findViewById(R.id.shortcutIconBtn); in configureShortcutView()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DCompatUILayoutTest.java38 import android.widget.ImageButton;
105 final ImageButton button = mLayout.findViewById(R.id.size_compat_restart_button); in testOnClickForRestartButton()
123 final ImageButton button = mLayout.findViewById(R.id.size_compat_restart_button); in testOnLongClickForRestartButton()
143 final ImageButton button = in testUpdateCameraTreatmentButton_treatmentAppliedByDefault()
161 final ImageButton button = in testUpdateCameraTreatmentButton_treatmentSuggestedByDefault()
179 final ImageButton button = in testOnCameraDismissButtonClicked()
193 final ImageButton button = in testOnLongClickForCameraTreatmentButton()
204 final ImageButton button = mLayout.findViewById(R.id.camera_compat_dismiss_button); in testOnLongClickForCameraDismissButton()
DUserAspectRatioSettingsLayoutTest.java35 import android.widget.ImageButton;
111 final ImageButton button = mLayout.findViewById(R.id.user_aspect_ratio_settings_button); in testOnClickForUserAspectRatioSettingsButton()
129 final ImageButton button = mLayout.findViewById(R.id.user_aspect_ratio_settings_button); in testOnLongClickForUserAspectRatioButton()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUILayout.java26 import android.widget.ImageButton;
67 final ImageButton button = findViewById(R.id.camera_compat_treatment_button); in updateCameraTreatmentButton()
119 final ImageButton restartButton = findViewById(R.id.size_compat_restart_button); in onFinishInflate()
131 final ImageButton cameraTreatmentButton = in onFinishInflate()
140 final ImageButton cameraDismissButton = findViewById(R.id.camera_compat_dismiss_button); in onFinishInflate()
DUserAspectRatioSettingsLayout.java31 import android.widget.ImageButton;
126 final ImageButton userAspectRatioButton = in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAlphaOptimizedImageButton.java21 import android.widget.ImageButton;
27 public class AlphaOptimizedImageButton extends ImageButton {
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DHandleMenuImageButton.kt25 import android.widget.ImageButton
38 ) : ImageButton(context, attrs) {
DHandleImageButton.kt22 import android.widget.ImageButton in <lambda>()
30 ImageButton(context, attrs) { in <lambda>()
DMaximizeButtonView.kt29 import android.widget.ImageButton
49 private val maximizeWindow: ImageButton
DHandleMenu.java45 import android.widget.ImageButton;
193 final ImageButton fullscreenBtn = handleMenu.findViewById( in setupWindowingPill()
195 final ImageButton splitscreenBtn = handleMenu.findViewById( in setupWindowingPill()
197 final ImageButton floatingBtn = handleMenu.findViewById(R.id.floating_button); in setupWindowingPill()
201 final ImageButton desktopBtn = handleMenu.findViewById(R.id.desktop_button); in setupWindowingPill()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPaintActivity.java35 import android.widget.ImageButton;
218 ((ImageButton) findViewById(R.id.btnBrush)).setImageDrawable(widthButtonDrawable); in setupViews()
219 ((ImageButton) findViewById(R.id.btnColor)).setImageDrawable(colorButtonDrawable); in setupViews()
238 final ImageButton button = new ImageButton(this); in refreshBrushAndColor()
264 final ImageButton button = new ImageButton(this); in refreshBrushAndColor()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListRecyclerProfiling.java24 import android.widget.ImageButton;
48 ImageButton stopProfiling = findViewById(R.id.pause); in onCreate()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java35 import android.widget.ImageButton;
83 mPlayPauseButton = (ImageButton) playPausebutton; in set()
84 ImageButton stop = (ImageButton) stopButton; in set()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
DAppHandleViewHolder.kt25 import android.widget.ImageButton in <lambda>()
44 private val captionHandle: ImageButton = rootView.requireViewById(R.id.caption_handle) in <lambda>()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerView.java34 import android.widget.ImageButton;
49 private ImageButton mClearButton;
81 mClearButton = (ImageButton) findViewById(R.id.clear_search); in TimeZonePickerView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaViewControllerTest.kt31 import android.widget.ImageButton in <lambda>()
89 private lateinit var settings: ImageButton in <lambda>()
103 private lateinit var actionPlayPause: ImageButton in <lambda>()
104 private lateinit var actionNext: ImageButton in <lambda>()
105 private lateinit var actionPrev: ImageButton in <lambda>()
569 settings = ImageButton(context) in <lambda>()
593 actionPlayPause = ImageButton(context).also { it.id = R.id.actionPlayPause } in <lambda>()
594 actionPrev = ImageButton(context).also { it.id = R.id.actionPrev } in <lambda>()
595 actionNext = ImageButton(context).also { it.id = R.id.actionNext } in <lambda>()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DPermissionListAdapter.java31 import android.widget.ImageButton;
125 private final ImageButton mExpandButton;
/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/
DBannerMessagePreference.java30 import android.widget.ImageButton;
182 mDismissButtonInfo.mButton = (ImageButton) holder.findViewById(R.id.banner_dismiss_btn); in onBindViewHolder()
372 private ImageButton mButton;

123