/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES20RenderEngine.cpp | 268 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 D | vr_hwc.h | 151 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 D | CameraView.java | 57 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 D | CameraView.java | 57 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 D | Filters.java | 314 public Filters(int mode, int[] filter) { argument 315 mMode = mode;
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 79 public void setMode(byte mode) { argument 80 mMode = mode;
|
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
H A D | MockFontProvider.java | 252 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | Visibility.java | 101 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 D | AppCompatActivity.java | 249 * 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 D | AppCompatDelegate.java | 92 * 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 D | DecorToolbar.java | 81 void setNavigationMode(int mode); argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentWithAspectRatioTest.java | 228 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 D | AudioRecorder_to_android.cpp | 77 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 D | MockDrmCryptoPlugin.cpp | 796 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 D | loopback.cpp | 311 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 D | IOMX.cpp | 230 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 D | RTSPSource.cpp | 255 // 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 D | MP3Extractor.cpp | 43 // protection, bitrate, padding, private bits, mode, mode extension, 499 ReadOptions::SeekMode mode; local 502 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
|
H A D | StagefrightMetadataRetriever.cpp | 197 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 D | pvdec_api.cpp | 78 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 D | motion_comp.cpp | 108 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 D | h264bsd_intra_prediction.c | 201 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 D | MPEG2PSExtractor.cpp | 597 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 D | RTPSender.cpp | 185 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 D | NdkMediaCodec.cpp | 494 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
|