Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DImageButton.java70 public class ImageButton extends ImageView { class
71 public ImageButton(Context context) { in ImageButton() method in ImageButton
75 public ImageButton(Context context, AttributeSet attrs) { in ImageButton() method in ImageButton
79 public ImageButton(Context context, AttributeSet attrs, int defStyleAttr) { in ImageButton() method in ImageButton
83 public ImageButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ImageButton() method in ImageButton
95 return ImageButton.class.getName(); in getAccessibilityClassName()
DMediaController.java94 private ImageButton mPauseButton;
95 private ImageButton mFfwdButton;
96 private ImageButton mRewButton;
97 private ImageButton mNextButton;
98 private ImageButton mPrevButton;
264 mPauseButton = (ImageButton) v.findViewById(com.android.internal.R.id.pause); in initControllerView()
270 mFfwdButton = (ImageButton) v.findViewById(com.android.internal.R.id.ffwd); in initControllerView()
278 mRewButton = (ImageButton) v.findViewById(com.android.internal.R.id.rew); in initControllerView()
287 mNextButton = (ImageButton) v.findViewById(com.android.internal.R.id.next); in initControllerView()
291 mPrevButton = (ImageButton) v.findViewById(com.android.internal.R.id.prev); in initControllerView()
DDayPickerView.java53 private final ImageButton mPrevButton;
54 private final ImageButton mNextButton;
124 mPrevButton = (ImageButton) findViewById(R.id.prev); in DayPickerView()
127 mNextButton = (ImageButton) findViewById(R.id.next); in DayPickerView()
214 final ImageButton leftButton;
215 final ImageButton rightButton;
DZoomButton.java27 public class ZoomButton extends ImageButton implements OnLongClickListener {
DToolbar.java108 private ImageButton mNavButtonView;
113 private ImageButton mCollapseButtonView;
1039 mNavButtonView = new ImageButton(getContext(), null, 0, mNavButtonStyle); in ensureNavButtonView()
1048 mCollapseButtonView = new ImageButton(getContext(), null, 0, mNavButtonStyle); in ensureCollapseButtonView()
DNumberPicker.java212 private final ImageButton mIncrementButton;
217 private final ImageButton mDecrementButton;
707 mIncrementButton = (ImageButton) findViewById(R.id.increment); in NumberPicker()
716 mDecrementButton = (ImageButton) findViewById(R.id.decrement); in NumberPicker()
DActionMenuPresenter.java818 …private class OverflowMenuButton extends ImageButton implements ActionMenuView.ActionMenuChildView…
/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/base/core/tests/coretests/src/android/widget/listview/
DListRecyclerProfiling.java23 import android.widget.ImageButton;
48 ImageButton stopProfiling = (ImageButton) findViewById(R.id.pause); in onCreate()
/frameworks/base/packages/Keyguard/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()
DEnvReverbTest.java35 import android.widget.ImageButton;
/frameworks/base/docs/html/training/gestures/
Dviewgroup.jd218 <p>In the following example, an {@link android.widget.ImageButton} is the
229 &lt;ImageButton android:id=&quot;@+id/button&quot;
241 <li>Finds the {@link android.widget.ImageButton} child view and calls {@link android.view.View#getH…
242 <li>Extends the bounds of the {@link android.widget.ImageButton}'s hit rectangle.</li>
243 …}, passing in the expanded hit rectangle and the {@link android.widget.ImageButton} child view as …
248 In its capacity as touch delegate for the {@link android.widget.ImageButton} child view, the
270 // The bounds for the delegate view (an ImageButton
273 ImageButton myButton = (ImageButton) findViewById(R.id.button);
279 "Touch occurred within ImageButton touch region.",
284 // The hit rectangle for the ImageButton
[all …]
/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/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/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java46 import android.widget.ImageButton;
281 mPlayPauseButton = (ImageButton) findViewById(playPausebuttonId); in SimpleMediaController()
282 ImageButton stop = (ImageButton) findViewById(stopButtonId); in SimpleMediaController()
297 mPlayPauseButton = (ImageButton) findViewById(playPausebuttonId); in SimpleMediaController()
298 ImageButton stop = (ImageButton) findViewById(stopButtonId); in SimpleMediaController()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java38 import android.widget.ImageButton;
74 private ImageButton mPlayPauseButton;
75 private ImageButton mSettingsButton;
216 mSettingsButton = (ImageButton) findViewById(R.id.settings); in onCreate()
222 mPlayPauseButton = (ImageButton) findViewById(R.id.play_pause); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialog.java65 import android.widget.ImageButton;
101 private final ImageButton mExpandButton;
169 mExpandButton = (ImageButton) mDialogView.findViewById(R.id.volume_expand_button); in VolumeDialog()
390 row.icon = (ImageButton) row.view.findViewById(R.id.volume_row_icon); in initRow()
419 row.settingsButton = (ImageButton) row.view.findViewById(R.id.volume_settings_button); in initRow()
1107 private ImageButton icon;
1109 private ImageButton settingsButton;
/frameworks/base/docs/html/guide/topics/ui/controls/
Dbutton.jd24 <li>{@link android.widget.ImageButton}</li>
47 <li>With an icon, using the {@link android.widget.ImageButton} class:
49 &lt;ImageButton
/frameworks/base/docs/html/training/animation/
Dzoom.jd77 …to zoom. The following example creates an {@link android.widget.ImageButton} for clickable image t…
91 &lt;ImageButton
124 android.widget.ImageButton} to execute the zoom animation when the user
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java67 import android.widget.ImageButton;
126 private ImageButton mNavButtonView;
131 private ImageButton mCollapseButtonView;
1044 mNavButtonView = new ImageButton(getContext(), null, in ensureNavButtonView()
1054 mCollapseButtonView = new ImageButton(getContext(), null, in ensureCollapseButtonView()
/frameworks/base/docs/html/training/wearables/ui/
Dlayouts.jd234 &lt;ImageButton
241 &lt;ImageButton
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dapps.jd66 {@link android.widget.ImageButton}, {@link android.widget.ImageView}
98 example, a note-taking application might use an {@link android.widget.ImageButton} with a
111 {@code android:contentDescription}</a> attribute for every {@link android.widget.ImageButton},
116 <p>For example, the following {@link android.widget.ImageButton} sets the content description for
121 &lt;ImageButton
Dchecklist.jd58 {@link android.widget.ImageButton}, {@link android.widget.ImageView}
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java51 import android.widget.ImageButton;
1441 ((ImageButton) imageMenuItemButton in createMenuItemButton()

12