Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/widget/
DImageButton.java72 public class ImageButton extends ImageView { class
73 public ImageButton(Context context) { in ImageButton() method in ImageButton
77 public ImageButton(Context context, AttributeSet attrs) { in ImageButton() method in ImageButton
81 public ImageButton(Context context, AttributeSet attrs, int defStyleAttr) { in ImageButton() method in ImageButton
85 public ImageButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ImageButton() method in ImageButton
97 return ImageButton.class.getName(); in getAccessibilityClassName()
DDayPickerView.java54 private final ImageButton mPrevButton;
55 private final ImageButton mNextButton;
215 final ImageButton leftButton;
216 final ImageButton rightButton;
DMediaController.java90 private ImageButton mPauseButton;
91 private ImageButton mFfwdButton;
92 private ImageButton mRewButton;
93 private ImageButton mNextButton;
94 private ImageButton mPrevButton;
DZoomButton.java39 public class ZoomButton extends ImageButton implements OnLongClickListener {
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/
DActionBarActivity.java22 import android.widget.ImageButton;
41 ImageButton skpPrevious = createButton(this, R.drawable.ic_skip_next); in onCreate()
46 mActionPanel.setViews(new ImageButton[]{ in onCreate()
56 private ImageButton createButton(Context context, @DrawableRes int iconResId) { in createButton()
57 ImageButton button = new ImageButton(context, null, in createButton()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java23 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/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
DQueueFragment.java31 import android.widget.ImageButton;
48 private ImageButton mSkipNext;
49 private ImageButton mSkipPrevious;
50 private ImageButton mPlayPause;
146 mSkipPrevious = (ImageButton) rootView.findViewById(R.id.skip_previous); in onCreateView()
150 mSkipNext = (ImageButton) rootView.findViewById(R.id.skip_next); in onCreateView()
154 mPlayPause = (ImageButton) rootView.findViewById(R.id.play_pause); in onCreateView()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
DActionBarSettingsActionProviderActivity.java26 import android.widget.ImageButton;
76 ImageButton button = (ImageButton) view.findViewById(R.id.button); in onCreateActionView()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAlphaOptimizedImageButton.java21 import android.widget.ImageButton;
27 public class AlphaOptimizedImageButton extends ImageButton {
/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/core/tests/coretests/src/android/widget/listview/
DListRecyclerProfiling.java23 import android.widget.ImageButton;
48 ImageButton stopProfiling = findViewById(R.id.pause); in onCreate()
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
DActionBarTest.java34 import android.widget.ImageButton;
77 private ImageButton createButton(Context context) { in createButton()
78 ImageButton button = new ImageButton(context, null, R.style.Widget_Car_Button_ActionBar); in createButton()
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouteExpandCollapseButton.java26 import android.widget.ImageButton;
34 class MediaRouteExpandCollapseButton extends ImageButton {
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java45 import android.widget.ImageButton;
96 private ImageButton mPauseResumeButton;
97 private ImageButton mStopButton;
336 mPauseResumeButton = (ImageButton)findViewById(R.id.pause_resume_button); in onCreate()
348 mStopButton = (ImageButton)findViewById(R.id.stop_button); in onCreate()
705 ImageButton b = (ImageButton)v.findViewById(R.id.item_action); in getView()
740 ImageButton b = (ImageButton)v.findViewById(R.id.item_action); in getView()
/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/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouteExpandCollapseButton.java27 import android.widget.ImageButton;
35 public class MediaRouteExpandCollapseButton extends ImageButton {
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DManualActivity.java30 import android.widget.ImageButton;
118 ((ImageButton) findViewById(R.id.next)).setOnClickListener(new OnClickListener() { in onCreate()
126 ((ImageButton) findViewById(R.id.previous)).setOnClickListener(new OnClickListener() { in onCreate()
/frameworks/support/car/src/main/java/androidx/car/widget/
DActionBar.java40 import android.widget.ImageButton;
221 private ImageButton createIconButton(Context context, @DrawableRes int iconResId) { in createIconButton()
222 ImageButton button = (ImageButton) inflate(context, R.layout.action_bar_button, null); in createIconButton()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/
DMediaControlView2.java38 import android.widget.ImageButton;
273 private ImageButton mBackButton;
280 private ImageButton mPlayPauseButton;
281 private ImageButton mFfwdButton;
282 private ImageButton mRewButton;
283 private ImageButton mNextButton;
284 private ImageButton mPrevButton;
310 private ImageButton mSubtitleButton;
311 private ImageButton mFullScreenButton;
312 private ImageButton mOverflowButtonRight;
[all …]
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DMediaControlView2Impl.java40 import android.widget.ImageButton;
166 private ImageButton mBackButton;
173 private ImageButton mPlayPauseButton;
174 private ImageButton mFfwdButton;
175 private ImageButton mRewButton;
176 private ImageButton mNextButton;
177 private ImageButton mPrevButton;
203 private ImageButton mSubtitleButton;
204 private ImageButton mFullScreenButton;
205 private ImageButton mOverflowButtonRight;
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java30 import android.widget.ImageButton;
96 ImageButton sendButton = mView.findViewById(R.id.remote_input_send); in testSendRemoteInput_intentContainsResultsAndSource()
/frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
DAnimatedVectorDrawableTest.java45 import android.widget.ImageButton;
295 final ImageButton imageButton = in testAnimateColor()
296 (ImageButton) mActivityTestRule.getActivity().findViewById(R.id.imageButton); in testAnimateColor()
387 final ImageButton imageButton = in setupAnimatedVectorDrawableCompat()
388 (ImageButton) mActivityTestRule.getActivity().findViewById(R.id.imageButton); in setupAnimatedVectorDrawableCompat()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatImageButton.java28 import android.widget.ImageButton;
58 public class AppCompatImageButton extends ImageButton implements TintableBackgroundView,
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DRemoteInputView.java44 import android.widget.ImageButton;
74 private ImageButton mSendButton;
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java46 import android.widget.ImageButton;
282 ImageButton stop = findViewById(stopButtonId); in SimpleMediaController()
298 ImageButton stop = findViewById(stopButtonId); in SimpleMediaController()

123