Searched defs:mode (Results 276 - 300 of 567) sorted by relevance

<<11121314151617181920>>

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp268 void GLES20RenderEngine::setColorMode(android_color_mode mode) { argument
269 ALOGV("setColorMode: %s (0x%x)", decodeColorMode(mode).c_str(), mode);
271 if (mColorMode == mode) return;
273 if (!mPlatformHasWideColor || !mDisplayHasWideColor || mode == HAL_COLOR_MODE_SRGB ||
274 mode == HAL_COLOR_MODE_NATIVE) {
282 mColorMode = mode;
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.h151 void set_color_mode(ColorMode mode) { color_mode_ = mode; } argument
154 void set_power_mode(IComposerClient::PowerMode mode) { power_mode_ = mode; } argument
237 Error setColorMode(Display display, ColorMode mode) override;
238 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
265 Error setLayerBlendMode(Display display, Layer layer, int32_t mode) override;
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DCameraView.java57 byte mode = 0; field in class:CameraView
167 public void takePicture(int mode) { argument
187 mCameraOps.captureStillPicture(jpegRotation, name, mContext, mode);
221 switch (mode) {
252 public void setMode(byte mode) { argument
253 this.mode = mode;
257 return mode;
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraView.java57 byte mode = 0; field in class:CameraView
220 switch (mode) {
251 public void setMode(byte mode) { argument
252 this.mode = mode;
256 return mode;
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A DFilters.java314 public Filters(int mode, int[] filter) { argument
315 mMode = mode;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
H A DVrView.java79 public void setMode(byte mode) { argument
80 mMode = mode;
/frameworks/support/compat/tests/java/android/support/v4/provider/
H A DMockFontProvider.java252 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument
/frameworks/support/transition/src/android/support/transition/
H A DVisibility.java101 int mode = TypedArrayUtils.getNamedInt(a, (XmlResourceParser) attrs,
105 if (mode != 0) {
106 setMode(mode);
112 * on <code>mode</code>.
114 * @param mode The behavior supported by this transition, a combination of
117 public void setMode(@Mode int mode) { argument
118 if ((mode & ~(MODE_IN | MODE_OUT)) != 0) {
121 mMode = mode;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatActivity.java249 * Notifies the Activity that a support action mode has been started.
252 * @param mode The new action mode.
256 public void onSupportActionModeStarted(@NonNull ActionMode mode) { argument
260 * Notifies the activity that a support action mode has finished.
263 * @param mode The action mode that just finished.
267 public void onSupportActionModeFinished(@NonNull ActionMode mode) { argument
271 * Called when a support action mode is being started for this window. Gives the
272 * callback an opportunity to handle the action mode i
[all...]
H A DAppCompatDelegate.java92 * Mode which means to not use night mode, and therefore prefer {@code notnight} qualified
100 * Mode which means to always use night mode, and therefore prefer {@code night} qualified
108 * Mode which means to use night mode when it is determined that it is night or not.
120 * Mode which uses the system's night mode setting to determine if it is night or not.
161 * <p>This mode is especially useful with {@code View.SYSTEM_UI_FLAG_FULLSCREEN}, which allows
163 * When an ActionBar is in this mode it will adjust the insets provided to
173 * If overlay is enabled, the action mode UI will be allowed to cover existing window content.
362 * Start an action mode.
364 * @param callback Callback that will manage lifecycle events for this context mode
432 * <p>You can override the night mode usin
455 setLocalNightMode(@ightMode int mode) argument
470 setDefaultNightMode(@ightMode int mode) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDecorToolbar.java81 void setNavigationMode(int mode); argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentWithAspectRatioTest.java228 public static MeasureSpecMatcher is(int size, int mode) { argument
229 MeasureSpecMatcher matcher = new MeasureSpecMatcher(size, mode);
242 public static MeasureSpecMatcher mode(int mode) { argument
243 MeasureSpecMatcher matcher = new MeasureSpecMatcher(0, mode);
249 private MeasureSpecMatcher(int size, int mode) { argument
251 mMode = mode;
262 final int mode = View.MeasureSpec.getMode(intValue);
266 if (checkMode && mode != mMode) {
276 final int mode
297 modeName(int mode) argument
[all...]
/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp77 SLresult audioRecorder_setPerformanceMode(CAudioRecorder* ar, SLuint32 mode) { argument
79 SL_LOGV("performance mode set to %d", mode);
82 switch (mode) {
101 // performance mode needs to be set before the object is realized
450 // performance mode
488 // performance mode
610 // AudioRecord to adjust performance mode based on actual input flags
714 // update performance mode according to actual flags granted to AudioRecord
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp796 Mode mode, const Pattern &pattern, const void *srcPtr,
800 ALOGD("MockCryptoPlugin::decrypt(secure=%d, key=%s, iv=%s, mode=%d, "
806 (int)mode, pattern.mEncryptBlocks, pattern.mSkipBlocks, srcPtr,
795 decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], Mode mode, const Pattern &pattern, const void *srcPtr, const SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString * ) argument
/frameworks/av/media/libaaudio/examples/loopback/src/
H A Dloopback.cpp311 aaudio_performance_mode_t mode = AAUDIO_PERFORMANCE_MODE_NONE; local
315 mode = AAUDIO_PERFORMANCE_MODE_NONE;
318 mode = AAUDIO_PERFORMANCE_MODE_LOW_LATENCY;
321 mode = AAUDIO_PERFORMANCE_MODE_POWER_SAVING;
324 printf("ERROR invalue performance mode %c\n", c);
327 return mode;
/frameworks/av/media/libmedia/
H A DIOMX.cpp230 OMX_U32 port_index, IOMX::PortMode mode) {
234 data.writeInt32(mode);
487 OMX_U32 port_index, IOMX::PortMode mode) {
488 return mBase->setPortMode(port_index, mode);
759 IOMX::PortMode mode = (IOMX::PortMode) data.readInt32(); local
760 reply->writeInt32(setPortMode(port_index, mode));
229 setPortMode( OMX_U32 port_index, IOMX::PortMode mode) argument
486 setPortMode( OMX_U32 port_index, IOMX::PortMode mode) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp255 // We should not enter buffering mode
311 status_t NuPlayer::RTSPSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument
315 msg->setInt32("mode", mode);
502 int32_t mode; local
504 CHECK(msg->findInt32("mode", &mode));
506 // TODO: add "mode" to performSeek.
507 performSeek(seekTimeUs/*, (MediaPlayerSeekMode)mode */);
/frameworks/av/media/libstagefright/
H A DMP3Extractor.cpp43 // protection, bitrate, padding, private bits, mode, mode extension,
499 ReadOptions::SeekMode mode; local
502 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
H A DStagefrightMetadataRetriever.cpp197 ALOGE("Unknown seek mode: %d", seekMode);
202 MediaSource::ReadOptions::SeekMode mode = local
211 options.setSeekTo(thumbNailTime, mode);
214 options.setSeekTo(frameTimeUs, mode);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp78 int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode)
226 if (mode == MPEG4_MODE)
257 mode = H263_MODE;
258 /* Set max width and height. In H.263 mode, we use */
810 OSCL_EXPORT_REF void PVSetPostProcType(VideoDecControls *decCtrl, int mode) argument
813 video->postFilterType = mode;
906 /* Return : This function returns the decoding mode of the baselayer */
77 PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp108 Int mode = video->headerInfo.Mode[mbnum]; /* get mode */ local
130 if (mode == MODE_INTER || mode == MODE_INTER_Q)
161 else if (mode == MODE_INTER4V)
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_intra_prediction.c201 Perform intra 16x16 prediction mode for luma pixels and add
257 macroblock array 'data'. The intra 4x4 prediction mode for each
268 u32 mode; local
301 mode = DetermineIntra4x4PredMode(mbLayer,
304 pMb->intra4x4PredMode[block] = (u8)mode;
351 (OMXVCM4P10Intra4x4PredMode)mode,
451 specified prediction mode. Writes the final macroblock
616 Perform intra 16x16 prediction mode for luma pixels and add
691 macroblock array 'data'. The intra 4x4 prediction mode for each
704 u32 mode; local
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp597 ElementaryStreamQueue::Mode mode; local
601 mode = ElementaryStreamQueue::H264;
604 mode = ElementaryStreamQueue::AAC;
608 mode = ElementaryStreamQueue::MPEG_AUDIO;
613 mode = ElementaryStreamQueue::MPEG_VIDEO;
617 mode = ElementaryStreamQueue::MPEG4_VIDEO;
626 mQueue = new ElementaryStreamQueue(mode);
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.cpp185 const sp<ABuffer> &buffer, uint8_t packetType, PacketizationMode mode) {
188 switch (mode) {
184 queueBuffer( const sp<ABuffer> &buffer, uint8_t packetType, PacketizationMode mode) argument
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp494 cryptoinfo_mode_t mode; member in struct:AMediaCodecCryptoInfo
526 (CryptoPlugin::Mode)crypto->mode,
551 cryptoinfo_mode_t mode,
565 ret->mode = mode;
620 return ci->mode;
547 AMediaCodecCryptoInfo_new( int numsubsamples, uint8_t key[16], uint8_t iv[16], cryptoinfo_mode_t mode, size_t *clearbytes, size_t *encryptedbytes) argument

Completed in 3514 milliseconds

<<11121314151617181920>>