Searched defs:control (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/tests/
H A DTestContext.cpp36 sp<SurfaceControl> control = gSession->createSurface(String8("HwuiTest"), local
40 control->setLayer(0x7FFFFFF);
41 control->show();
44 return control;
H A Dmain.cpp75 sp<SurfaceControl> control = createWindow(width, height); local
76 sp<Surface> surface = control->getSurface();
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp52 sp<SurfaceControl> control = local
60 CHECK(control != NULL);
61 CHECK(control->isValid());
64 CHECK_EQ(control->setLayer(30000), (status_t)OK);
65 CHECK_EQ(control->show(), (status_t)OK);
68 sp<Surface> surface = control->getSurface();
73 gControl = control;
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp379 sp<SurfaceControl> control; local
395 control = composerClient->createSurface(
402 CHECK(control != NULL);
403 CHECK(control->isValid());
406 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK);
407 CHECK_EQ(control->show(), (status_t)OK);
410 surface = control->getSurface();
H A Dstream.cpp323 sp<SurfaceControl> control = local
331 CHECK(control != NULL);
332 CHECK(control->isValid());
335 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK);
336 CHECK_EQ(control->show(), (status_t)OK);
339 sp<Surface> surface = control->getSurface();
H A Dsf2.cpp630 sp<SurfaceControl> control; local
637 control = composerClient->createSurface(
644 CHECK(control != NULL);
645 CHECK(control->isValid());
648 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK);
649 CHECK_EQ(control->show(), (status_t)OK);
652 surface = control->getSurface();
H A Dstagefright.cpp915 sp<SurfaceControl> control; local
922 control = composerClient->createSurface(
929 CHECK(control != NULL);
930 CHECK(control->isValid());
933 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK);
934 CHECK_EQ(control->show(), (status_t)OK);
937 gSurface = control->getSurface();
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DBrightnessController.java132 public BrightnessController(Context context, ImageView icon, ToggleSlider control) { argument
135 mControl = control;
164 public void onInit(ToggleSlider control) { argument
/frameworks/native/libs/gui/
H A DSurfaceControl.cpp173 const sp<SurfaceControl>& control, Parcel* parcel)
176 if (control != NULL) {
177 bp = control->mGraphicBufferProducer;
172 writeSurfaceToParcel( const sp<SurfaceControl>& control, Parcel* parcel) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java1052 //Test case 5.0: test control passed to higher priority client
1072 assertTrue(msg + ": Effect2 does not have control", effect2.hasControl());
1073 assertFalse(msg + ": Effect1 has control", effect1.hasControl());
1095 //Test case 5.1: test control passed to higher priority client
1148 //Test case 5.2: test control status listener
1178 assertFalse(msg + ": effect control not lost by effect1", mHasControl);
1408 public ListenerThread(boolean control, boolean enable, boolean parameter) { argument
1410 mControl = control;
1415 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { argument
1417 new ListenerThread(control, enabl
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaController.java815 public PlaybackInfo(int type, AudioAttributes attrs, int control, int max, int current) { argument
818 mVolumeControl = control;
849 * Get the type of volume control that can be used. One of:
856 * @return The type of volume control that may be used with this
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java695 PlaybackInfo(int type, int stream, int control, int max, int current) { argument
698 mVolumeControl = control;
729 * Get the type of volume control that can be used. One of:
736 * @return The type of volume control that may be used with this
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionRecord.java421 * Get the type of volume control. Only valid if playback type is remote.
423 * @return The volume control type being used.
861 public void setPlaybackToRemote(int control, int max) { argument
866 mVolumeControlType = control;

Completed in 277 milliseconds