Searched refs:control (Results 1 - 25 of 25) sorted by relevance

/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentWithAspectRatioTest.java99 int control; field in class:BaseWrapContentWithAspectRatioTest.AspectRatioMeasureBehavior
105 public AspectRatioMeasureBehavior aspectRatio(int control, float ratio) { argument
106 this.control = control;
115 if (control == VERTICAL) {
118 } else if (control == HORIZONTAL) {
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DMultiSelectManager_SelectionTest.java165 Selection control = new Selection();
166 control.copyFrom(testSelection);
170 assertTrue(testSelection.equals(control));
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DUtil.java110 public static String volumeProviderControlToString(int control) { argument
111 switch (control) {
115 default: return "VOLUME_CONTROL_UNKNOWN_" + control;
/frameworks/av/cmds/stagefright/
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 Dcodec.cpp407 sp<SurfaceControl> control; local
423 control = composerClient->createSurface(
430 CHECK(control != NULL);
431 CHECK(control->isValid());
434 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK);
435 CHECK_EQ(control->show(), (status_t)OK);
438 surface = control->getSurface();
H A Dmediafilter.cpp744 android::sp<SurfaceControl> control; local
760 control = composerClient->createSurface(
764 CHECK(control != NULL);
765 CHECK(control->isValid());
768 CHECK_EQ((status_t)OK, control->setLayer(INT_MAX));
769 CHECK_EQ((status_t)OK, control->show());
772 surface = control->getSurface();
H A Dsf2.cpp629 sp<SurfaceControl> control; local
636 control = composerClient->createSurface(
643 CHECK(control != NULL);
644 CHECK(control->isValid());
647 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK);
648 CHECK_EQ(control->show(), (status_t)OK);
651 surface = control->getSurface();
H A Dstagefright.cpp931 sp<SurfaceControl> control; local
938 control = composerClient->createSurface(
945 CHECK(control != NULL);
946 CHECK(control->isValid());
949 CHECK_EQ(control->setLayer(INT_MAX), (status_t)OK);
950 CHECK_EQ(control->show(), (status_t)OK);
953 gSurface = control->getSurface();
/frameworks/base/media/java/android/media/session/
H A DISession.aidl51 void setPlaybackToRemote(int control, int max);
H A DMediaController.java923 public PlaybackInfo(int type, AudioAttributes attrs, int control, int max, int current) { argument
926 mVolumeControl = control;
957 * Get the type of volume control that can be used. One of:
964 * @return The type of volume control that may be used with this
/frameworks/base/core/java/android/hardware/radio/
H A DRadioTuner.java29 * RadioTuner interface provides methods to control a radio tuner on the device: selecting and
226 * The client can either wait for control to be returned (which is indicated by the same
292 * onControlChanged() is called when the client loses or gains control of the radio tuner.
293 * The control is always granted after a successful call to
296 * control set to {@code false} to indicate loss of control.
300 * with control set to {@code true}.
302 public void onControlChanged(boolean control) {} argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DBrightnessController.java135 public BrightnessController(Context context, ImageView icon, ToggleSlider control) { argument
138 mControl = control;
167 public void onInit(ToggleSlider control) { argument
/frameworks/native/libs/gui/
H A DSurfaceControl.cpp204 const sp<SurfaceControl>& control, Parcel* parcel)
207 if (control != NULL) {
208 bp = control->mGraphicBufferProducer;
203 writeSurfaceToParcel( const sp<SurfaceControl>& control, Parcel* parcel) argument
/frameworks/av/radio/
H A DIRadio.cpp329 bool control; local
330 status_t status = hasControl(&control);
333 reply->writeInt32(control ? 1 : 0);
/frameworks/native/include/gui/
H A DSurfaceControl.h91 const sp<SurfaceControl>& control, Parcel* parcel);
/frameworks/av/media/audioserver/
H A DAndroid.mk34 # If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to control
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp238 sp<SurfaceControl> control = session()->createSurface(String8("BootAnimation"),
242 control->setLayer(0x40000000);
245 sp<Surface> s = control->getSurface();
278 mFlingerSurfaceControl = control;
/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/services/core/java/com/android/server/media/
H A DMediaSessionRecord.java362 * Get the type of volume control. Only valid if playback type is remote.
364 * @return The volume control type being used.
855 public void setPlaybackToRemote(int control, int max) { argument
860 mVolumeControlType = control;
/frameworks/rs/api/
H A Drs_allocation_create.spec23 function. If some control-flow path can result in a call to these functions
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java770 PlaybackInfo(int type, int stream, int control, int max, int current) { argument
773 mVolumeControl = control;
804 * Get the type of volume control that can be used. One of:
811 * @return The type of volume control that may be used with this
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java154 * ASCII table and consists of specially defined commands and some ASCII control codes which work
155 * in a behavior slightly different from their original purpose. ASCII control codes and caption
156 * commands are explicit instructions that control the state of a closed caption service and the
171 * <li>C0 - contains modified ASCII control codes. It is not intended by CEA-708 but Korea TTA
176 * <li>Window commands: The window commands control a caption window which is addressable area being
178 * <li>Pen commands: Th pen commands control text style and location. (SPA, SPC, SPL)</li>
217 * <li>{@code CAPTION_EMIT_TYPE_CONTROL}: Passes a caption character control code to a observer.
338 // NUL, BS, FF, CR interpreted as they are in ASCII control codes.
1616 private void sendControlToCurrentWindow(char control) { argument
1618 mCurrentWindowLayout.sendControl(control);
1806 sendControl(char control) argument
[all...]
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs385 photos or control the camera hardware directly and build your own camera app."
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 2601 milliseconds