HomeSort by relevance Sort by last modified time
    Searched refs:controlType (Results 1 - 25 of 31) sorted by null

1 2

  /frameworks/av/packages/MediaComponents/src/com/android/media/
VolumeProvider2Impl.java 34 @VolumeProvider2.ControlType int controlType, int maxVolume, int currentVolume) {
35 if (controlType != VOLUME_CONTROL_FIXED && controlType != VOLUME_CONTROL_RELATIVE
36 && controlType != VOLUME_CONTROL_ABSOLUTE) {
37 throw new IllegalArgumentException("wrong controlType " + controlType);
48 mControlType = controlType;
MediaController2Impl.java     [all...]
  /frameworks/base/media/java/android/media/session/
ParcelableVolumeInfo.java 31 public int controlType;
35 public ParcelableVolumeInfo(int volumeType, AudioAttributes audioAttrs, int controlType,
40 this.controlType = controlType;
47 controlType = from.readInt();
61 dest.writeInt(controlType);
MediaController.java 326 return new PlaybackInfo(result.volumeType, result.audioAttrs, result.controlType,
    [all...]
  /frameworks/support/media/src/main/java/android/support/v4/media/session/
ParcelableVolumeInfo.java 28 public int controlType;
32 public ParcelableVolumeInfo(int volumeType, int audioStream, int controlType,
37 this.controlType = controlType;
44 controlType = from.readInt();
58 dest.writeInt(controlType);
  /frameworks/base/media/java/android/media/
VolumeProvider2.java 44 public @interface ControlType {}
73 * @param controlType The method for controlling volume that is used by this provider.
77 public VolumeProvider2(@ControlType int controlType, int maxVolume, int currentVolume) {
79 this, controlType, maxVolume, currentVolume);
94 @ControlType
  /packages/apps/Launcher3/src/com/android/launcher3/
OverviewButtonClickListener.java 14 private int mControlType; /** ControlType enum as defined in {@link Action.Touch} */
16 public OverviewButtonClickListener(int controlType) {
17 mControlType = controlType;
DeleteDropTarget.java 28 import com.android.launcher3.userevent.nano.LauncherLogProto.ControlType;
33 private int mControlType = ControlType.DEFAULT_CONTROLTYPE;
95 mControlType = item.id != ItemInfo.NO_ID ? ControlType.REMOVE_TARGET
96 : ControlType.CANCEL_TARGET;
124 t.controlType = mControlType;
SecondaryDropTarget.java 35 import com.android.launcher3.userevent.nano.LauncherLogProto.ControlType;
103 t.controlType = mCurrentAccessibilityAction == UNINSTALL ? ControlType.UNINSTALL_TARGET
104 : ControlType.SETTINGS_BUTTON;
  /developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/
MainActivity.kt 88 val controlType = intent.getIntExtra(EXTRA_CONTROL_TYPE, 0)
89 when (controlType) {
133 * @param controlType The type of the action. either [.CONTROL_TYPE_PLAY] or
139 controlType: Int, requestCode: Int) {
147 .putExtra(EXTRA_CONTROL_TYPE, controlType), 0)
  /developers/samples/android/media/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/
MainActivity.kt 88 val controlType = intent.getIntExtra(EXTRA_CONTROL_TYPE, 0)
89 when (controlType) {
133 * @param controlType The type of the action. either [.CONTROL_TYPE_PLAY] or
139 controlType: Int, requestCode: Int) {
147 .putExtra(EXTRA_CONTROL_TYPE, controlType), 0)
  /packages/apps/Launcher3/src/com/android/launcher3/logging/
UserEventDispatcher.java 265 public void logActionOnControl(int action, int controlType) {
266 logActionOnControl(action, controlType, null, -1);
269 public void logActionOnControl(int action, int controlType, int parentContainerType) {
270 logActionOnControl(action, controlType, null, parentContainerType);
273 public void logActionOnControl(int action, int controlType, @Nullable View controlInContainer) {
274 logActionOnControl(action, controlType, controlInContainer, -1);
277 public void logActionOnControl(int action, int controlType, int parentContainer,
280 newControlTarget(controlType),
286 public void logActionOnControl(int action, int controlType, @Nullable View controlInContainer,
292 event.srcTarget[0].controlType = controlType
    [all...]
LoggerUtils.java 30 import com.android.launcher3.userevent.nano.LauncherLogProto.ControlType;
94 str = getFieldName(t.controlType, ControlType.class);
202 public static Target newControlTarget(int controlType) {
204 t.controlType = controlType;
  /developers/build/prebuilts/gradle/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/
MainActivity.java 126 * @param controlType The type of the action. either {@link #CONTROL_TYPE_PLAY} or {@link
131 @DrawableRes int iconId, String title, int controlType, int requestCode) {
141 new Intent(ACTION_MEDIA_CONTROL).putExtra(EXTRA_CONTROL_TYPE, controlType),
238 final int controlType = intent.getIntExtra(EXTRA_CONTROL_TYPE, 0);
239 switch (controlType) {
  /developers/samples/android/media/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/
MainActivity.java 126 * @param controlType The type of the action. either {@link #CONTROL_TYPE_PLAY} or {@link
131 @DrawableRes int iconId, String title, int controlType, int requestCode) {
141 new Intent(ACTION_MEDIA_CONTROL).putExtra(EXTRA_CONTROL_TYPE, controlType),
238 final int controlType = intent.getIntExtra(EXTRA_CONTROL_TYPE, 0);
239 switch (controlType) {
  /frameworks/support/media/src/main/java/androidx/media/
MediaController2.java     [all...]
MediaSession2ImplBase.java 221 int controlType = VolumeProviderCompat.VOLUME_CONTROL_ABSOLUTE;
223 controlType = VolumeProviderCompat.VOLUME_CONTROL_FIXED;
228 controlType,
    [all...]
  /packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
UserEventDispatcherExtension.java 22 import static com.android.launcher3.userevent.nano.LauncherLogProto.ControlType.CANCEL_TARGET;
65 target.controlType = CANCEL_TARGET;
  /packages/apps/Launcher3/src/com/android/launcher3/views/
OptionsPopupView.java 40 import com.android.launcher3.userevent.nano.LauncherLogProto.ControlType;
88 private void logTap(int action, int controlType) {
89 mLauncher.getUserEventDispatcher().logActionOnControl(action, controlType);
146 ControlType.WALLPAPER_BUTTON, OptionsPopupView::startWallpaperPicker));
148 ControlType.WIDGETS_BUTTON, OptionsPopupView::onWidgetsClicked));
150 ControlType.SETTINGS_BUTTON, OptionsPopupView::startSettings));
  /frameworks/av/packages/MediaComponents/src/com/android/media/update/
ApiFactory.java 220 public VolumeProvider2Provider createVolumeProvider2(VolumeProvider2 instance, int controlType,
222 return new VolumeProvider2Impl(instance, controlType, maxVolume, currentVolume);
  /frameworks/base/media/java/android/media/update/
StaticProvider.java 112 VolumeProvider2Provider createVolumeProvider2(VolumeProvider2 instance, int controlType,
  /frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
ServiceBroadcastReceiver.java 154 volumeInfo.controlType,
  /frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
ServiceBroadcastReceiver.java 153 volumeInfo.controlType,
  /frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
MediaRouter.java     [all...]
  /frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
MediaRouter.java     [all...]

Completed in 547 milliseconds

1 2