/frameworks/base/libs/hwui/renderstate/ |
H A D | Blend.cpp | 28 SkBlendMode mode; member in struct:android::uirenderer::Blender 74 // this array's SrcOver blending mode is actually DstOver. You can refer to 114 void Blend::getFactors(SkBlendMode mode, ModeOrderSwap modeUsage, GLenum* outSrc, GLenum* outDst) { argument 115 int index = static_cast<int>(mode);
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | SharedStorageAgent.java | 68 int type, String domain, String relpath, long mode, long mtime) 67 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/os/ |
H A D | FakeHandler.java | 50 public void setMode(Mode mode) { argument 51 mMode = mode;
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | FileMetadata.java | 36 public long mode; // e.g. 0666 (actually int) field in class:FileMetadata 63 // mode string 65 b.append(((mode & 0400) != 0) ? 'r' : '-'); 66 b.append(((mode & 0200) != 0) ? 'w' : '-'); 67 b.append(((mode & 0100) != 0) ? 'x' : '-'); 68 b.append(((mode & 0040) != 0) ? 'r' : '-'); 69 b.append(((mode & 0020) != 0) ? 'w' : '-'); 70 b.append(((mode & 0010) != 0) ? 'x' : '-'); 71 b.append(((mode & 0004) != 0) ? 'r' : '-'); 72 b.append(((mode [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameBuffer1D.java | 38 public ByteBuffer lockBytes(int mode) { argument 39 assertAccessible(mode); 40 return (ByteBuffer)mBackingStore.lockData(mode, BackingStore.ACCESS_BYTES); 51 public Allocation lockAllocation(int mode) { argument 52 assertAccessible(mode); 53 return (Allocation) mBackingStore.lockData(mode, BackingStore.ACCESS_ALLOCATION);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | FramebufferBlendActivity.java | 87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { argument 93 mPaint.setXfermode(new PorterDuffXfermode(mode)); 99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { argument 104 mPaint.setXfermode(new PorterDuffXfermode(mode));
|
/frameworks/native/libs/vr/libdisplay/ |
H A D | shared_buffer_helpers.cpp | 12 CPUMappedBuffer::CPUMappedBuffer(DvrGlobalBufferKey key, CPUUsageMode mode) argument 13 : buffer_key_(key), usage_mode_(mode) { 18 CPUUsageMode mode) 21 usage_mode_(mode) { 25 CPUMappedBuffer::CPUMappedBuffer(IonBuffer* buffer, CPUUsageMode mode) argument 26 : buffer_(buffer), usage_mode_(mode) { 17 CPUMappedBuffer(std::unique_ptr<IonBuffer> buffer, CPUUsageMode mode) argument
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glDrawElementsInstancedBaseVertex.cpp | 1 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */ 4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) { 25 (GLenum)mode, 39 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */ 42 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) { 44 (GLenum)mode, 3 android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) argument 41 android_glDrawElementsInstancedBaseVertex__IIIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) argument
|
/frameworks/native/services/sensorservice/ |
H A D | RotationVectorSensor.cpp | 30 RotationVectorSensor::RotationVectorSensor(int mode) : argument 31 mMode(mode) {
|
/frameworks/wilhelm/src/itf/ |
H A D | IMetadataTraversal.cpp | 22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) argument 26 switch (mode) { 32 thiz->mMode = mode;
|
/frameworks/av/media/libaaudio/tests/ |
H A D | test_open_params.cpp | 28 static const char *getSharingModeText(aaudio_sharing_mode_t mode) { argument 30 switch (mode) {
|
H A D | test_recovery.cpp | 26 static const char *getSharingModeText(aaudio_sharing_mode_t mode) { argument 28 switch (mode) {
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDrm.h | 99 CryptoPlugin::Mode mode; member in struct:android::NuPlayerDrm::CryptoInfo 108 CryptoPlugin::Mode mode,
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | c_g_aver.cpp | 87 #include "mode.h" 222 mode = AMR mode (enum Mode) 266 enum Mode mode, // i : AMR mode 342 if ((sub(mode, MR67) <= 0) || (sub(mode, MR102) == 0)) 348 ((sub(mode, MR475) == 0) || 349 (sub(mode, MR515) == 0) || 350 (sub(mode, MR5 463 Cb_gain_average( Cb_gain_averageState *st, enum Mode mode, Word16 gain_code, Word16 lsp[], Word16 lspAver[], Word16 bfi, Word16 prev_bf, Word16 pdfi, Word16 prev_pdf, Word16 inBackgroundNoise, Word16 voicedHangover, Flag *pOverflow ) argument [all...] |
H A D | d_plsf_3.cpp | 42 mode -- enum Mode -- coder mode 164 enum Mode mode, /* i : coder mode */ 206 if (mode != MRDTX) 231 } /* if (mode == MRDTX) */ 269 if ((mode == MR475) || (mode == MR515)) 278 else if (mode == MR795) 317 if (mode 162 D_plsf_3( D_plsfState *st, enum Mode mode, Word16 bfi, Word16 * indice, Word16 * lsp1_q, Flag *pOverflow ) argument [all...] |
H A D | pstfilt.cpp | 94 #include "mode.h" 265 mode = AMR mode 313 enum Mode mode, // i : AMR mode 346 if (sub(mode, MR122) == 0 || sub(mode, MR102) == 0) 441 enum Mode mode, /* i : AMR mode */ 474 if (mode 439 Post_Filter( Post_FilterState *st, enum Mode mode, Word16 *syn, Word16 *Az_4, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/ |
H A D | amrnbdec_test.cpp | 105 // Read mode 106 uint8_t mode; local 107 bytesRead = fread(&mode, 1, 1, fpInput); 111 Frame_Type_3GPP frameType = (Frame_Type_3GPP)((mode >> 3) & 0x0f);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | amrencode.cpp | 56 Added SID type and mode info to ets_output_bfr for ETS SID 86 #include "mode.h" 493 mode = codec mode (enum Mode) 506 mode or -1, if an error occurred (int) 510 data bytes per codec mode for WMF output 513 data bytes per codec mode for IF2 output 530 used mode. For SID frames, the SID type information and mode information are 558 followed by the encoded speech parameters. The codec mode informatio 746 AMREncode( void *pEncState, void *pSidSyncState, enum Mode mode, Word16 *pEncInput, UWord8 *pEncOutput, enum Frame_Type_3GPP *p3gpp_frame_type, Word16 output_format ) argument [all...] |
H A D | spstproc.cpp | 102 mode -- enum Mode -- coder mode 174 enum Mode mode, /* i : coder mode */ 205 if (mode != MR122) 172 subframePostProc( Word16 *speech, enum Mode mode, Word16 i_subfr, Word16 gain_pit, Word16 gain_code, Word16 *Aq, Word16 synth[], Word16 xn[], Word16 code[], Word16 y1[], Word16 y2[], Word16 *mem_syn, Word16 *mem_err, Word16 *mem_w0, Word16 *exc, Word16 *sharp, Flag *pOverflow ) argument
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | mime_io.cpp | 169 /* size of packed frame for each mode, excluding TOC byte */ 174 /* number of unused speech bits in packed format for each mode */ 532 int16 * mode, 551 const int16 * pt_AmrWbSortingTables = AmrWbSortingTables[*mode]; 556 unpacked_size[*mode]*sizeof(*sorted_bits_into_int16)); 561 for (i = unpacked_size[*mode] >> 3; i != 0; i--) 658 if (unpacked_size[*mode] % 4) 669 switch (*mode) 707 /* set mode index */ 708 *mode 529 mime_unsorting(uint8 unsorted_bits[], int16 sorted_bits_into_int16[], int16 * frame_type, int16 * mode, uint8 quality, RX_State_wb *st) argument [all...] |
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | Engine.h | 73 virtual status_t setPhoneState(audio_mode_t mode) argument 75 return mPolicyEngine->setPhoneState(mode); 113 status_t setPhoneState(audio_mode_t mode);
|
/frameworks/base/core/java/android/app/ |
H A D | UiModeManager.java | 35 * It provides functionality to disable the car mode and it gives access to the 36 * night mode settings. 42 * to the appropriate UI mode, sends broadcasts about the mode switch, and 43 * starts the corresponding mode activity if appropriate. See the 47 * <p>In addition, the user may manually switch the system to car mode without 48 * physically being in a dock. While in car mode -- whether by manual action 50 * displayed allowing the user to exit dock mode. Thus the dock mode 59 * Broadcast sent when the device's UI has switched to car mode, eithe 232 setNightMode(@ightMode int mode) argument [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManagerInternal.java | 33 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); argument
|
/frameworks/base/core/java/android/os/ |
H A D | PowerSaveState.java | 21 * 1. Whether battery saver mode is enabled 22 * 2. Specific parameters to use in battery saver mode(i.e. screen brightness, gps mode) 86 public Builder setGpsMode(int mode) { argument 87 mGpsMode = mode;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | ColorFilter.cpp | 42 SkBlendMode mode = static_cast<SkBlendMode>(modeHandle); local 43 return reinterpret_cast<jlong>(SkColorFilter::MakeModeFilter(srcColor, mode).release());
|