Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/java/android/widget/
H A DImageButton.java73 public class ImageButton extends ImageView { class
74 public ImageButton(Context context) { in ImageButton() method in ImageButton
78 public ImageButton(Context context, AttributeSet attrs) { in ImageButton() method in ImageButton
82 public ImageButton(Context context, AttributeSet attrs, int defStyleAttr) { in ImageButton() method in ImageButton
86 public ImageButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ImageButton() method in ImageButton
98 return ImageButton.class.getName(); in getAccessibilityClassName()
H A DDayPickerView.java50 private final ImageButton mPrevButton;
51 private final ImageButton mNextButton;
213 final ImageButton leftButton;
214 final ImageButton rightButton;
H A DMediaController.java110 private ImageButton mPauseButton;
112 private ImageButton mFfwdButton;
114 private ImageButton mRewButton;
116 private ImageButton mNextButton;
118 private ImageButton mPrevButton;
H A DZoomButton.java39 public class ZoomButton extends ImageButton implements OnLongClickListener {
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/
H A DMediaViewHolder.kt22 import android.widget.ImageButton
66 val actionPlayPause = itemView.requireViewById<ImageButton>(R.id.actionPlayPause)
67 val actionNext = itemView.requireViewById<ImageButton>(R.id.actionNext)
68 val actionPrev = itemView.requireViewById<ImageButton>(R.id.actionPrev)
69 val action0 = itemView.requireViewById<ImageButton>(R.id.action0)
70 val action1 = itemView.requireViewById<ImageButton>(R.id.action1)
71 val action2 = itemView.requireViewById<ImageButton>(R.id.action2)
72 val action3 = itemView.requireViewById<ImageButton>(R.id.action3)
73 val action4 = itemView.requireViewById<ImageButton>(R.id.action4)
77 fun getAction(id: Int): ImageButton {
[all …]
/aosp14/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
H A 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()
H A DA11yMenuAdapter.java26 import android.widget.ImageButton;
95 ImageButton shortcutIconButton = convertView.findViewById(R.id.shortcutIconBtn); in expandIconTouchArea()
116 ImageButton shortcutIconButton = convertView.findViewById(R.id.shortcutIconBtn); in setActionForMenuShortcut()
126 ImageButton shortcutIconButton = convertView.findViewById(R.id.shortcutIconBtn); in configureShortcutView()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
H A DCompatUILayoutTest.java37 import android.widget.ImageButton;
103 final ImageButton button = mLayout.findViewById(R.id.size_compat_restart_button); in testOnClickForRestartButton()
121 final ImageButton button = mLayout.findViewById(R.id.size_compat_restart_button); in testOnLongClickForRestartButton()
141 final ImageButton button = in testUpdateCameraTreatmentButton_treatmentAppliedByDefault()
159 final ImageButton button = in testUpdateCameraTreatmentButton_treatmentSuggestedByDefault()
177 final ImageButton button = in testOnCameraDismissButtonClicked()
191 final ImageButton button = in testOnLongClickForCameraTreatmentButton()
202 final ImageButton button = mLayout.findViewById(R.id.camera_compat_dismiss_button); in testOnLongClickForCameraDismissButton()
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
H A DCompatUILayout.java25 import android.widget.ImageButton;
66 final ImageButton button = findViewById(R.id.camera_compat_treatment_button); in updateCameraTreatmentButton()
118 final ImageButton restartButton = findViewById(R.id.size_compat_restart_button); in onFinishInflate()
130 final ImageButton cameraTreatmentButton = in onFinishInflate()
139 final ImageButton cameraDismissButton = findViewById(R.id.camera_compat_dismiss_button); in onFinishInflate()
H A DUserAspectRatioSettingsLayout.java31 import android.widget.ImageButton;
126 final ImageButton userAspectRatioButton = in onFinishInflate()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
H A DDesktopModeAppControlsWindowDecorationViewHolder.kt8 import android.widget.ImageButton
29 private val closeWindowButton: ImageButton = rootView.requireViewById(R.id.close_window)
30 private val expandMenuButton: ImageButton = rootView.requireViewById(R.id.expand_menu_button)
31 private val maximizeWindowButton: ImageButton = rootView.requireViewById(R.id.maximize_window)
H A DDesktopModeFocusedWindowDecorationViewHolder.kt7 import android.widget.ImageButton
21 private val captionHandle: ImageButton = rootView.requireViewById(R.id.caption_handle)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DAlphaOptimizedImageButton.java21 import android.widget.ImageButton;
27 public class AlphaOptimizedImageButton extends ImageButton {
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
H A 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()
/aosp14/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java35 import android.widget.ImageButton;
83 mPlayPauseButton = (ImageButton) playPausebutton; in set()
84 ImageButton stop = (ImageButton) stopButton; in set()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DHandleMenu.java36 import android.widget.ImageButton;
147 final ImageButton collapseBtn = appInfoPillView.findViewById(R.id.collapse_menu_button); in setupHandleMenu()
158 final ImageButton fullscreenBtn = windowingPillView.findViewById( in setupHandleMenu()
160 final ImageButton splitscreenBtn = windowingPillView.findViewById( in setupHandleMenu()
162 final ImageButton floatingBtn = windowingPillView.findViewById(R.id.floating_button); in setupHandleMenu()
163 final ImageButton desktopBtn = windowingPillView.findViewById(R.id.desktop_button); in setupHandleMenu()
256 final ImageButton collapse = appInfoPill.findViewById(R.id.collapse_menu_button); in checkClickEvent()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListRecyclerProfiling.java24 import android.widget.ImageButton;
48 ImageButton stopProfiling = findViewById(R.id.pause); in onCreate()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/
H A DGutsViewHolder.kt23 import android.widget.ImageButton
44 val settings: ImageButton = itemView.requireViewById(R.id.settings)
/aosp14/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/
H A DBannerMessagePreference.java30 import android.widget.ImageButton;
182 mDismissButtonInfo.mButton = (ImageButton) holder.findViewById(R.id.banner_dismiss_btn); in onBindViewHolder()
372 private ImageButton mButton;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationSettings.java54 import android.widget.ImageButton;
97 private ImageButton mSmallButton;
98 private ImageButton mMediumButton;
99 private ImageButton mLargeButton;
102 private ImageButton mFullScreenButton;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationHeaderViewWrapper.java31 import android.widget.ImageButton;
173 if (mFeedbackIcon instanceof ImageButton) { in setFeedbackIcon()
174 ((ImageButton) mFeedbackIcon).setImageResource(icon.getIconRes()); in setFeedbackIcon()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
H A DMediaControlPanelTest.kt52 import android.widget.ImageButton
174 private lateinit var action0: ImageButton
175 private lateinit var action1: ImageButton
176 private lateinit var action2: ImageButton
177 private lateinit var action3: ImageButton
178 private lateinit var action4: ImageButton
179 private lateinit var actionPlayPause: ImageButton
180 private lateinit var actionNext: ImageButton
181 private lateinit var actionPrev: ImageButton
187 private lateinit var settings: ImageButton
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaControlPanel.java67 import android.widget.ImageButton;
1034 List<ImageButton> genericButtons = new ArrayList<>(); in bindActionButtons()
1043 for (ImageButton b: genericButtons) { in bindActionButtons()
1049 ImageButton button = mMediaViewHolder.getAction(id); in bindActionButtons()
1103 final ImageButton button, in setGenericButton()
1115 final ImageButton button, in setSemanticButton()
1134 final ImageButton button, in bindButtonWithAnimations()
1150 private void bindButtonCommon(final ImageButton button, @Nullable MediaAction mediaAction) { in bindButtonCommon()
1191 private RippleAnimation createTouchRippleAnimation(ImageButton button) { in createTouchRippleAnimation()
1240 private void clearButton(final ImageButton button) { in clearButton()

12