/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/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.c | 22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) argument 26 switch (mode) { 32 thiz->mMode = 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 | 33 * It provides functionality to disable the car mode and it gives access to the 34 * night mode settings. 40 * to the appropriate UI mode, sends broadcasts about the mode switch, and 41 * starts the corresponding mode activity if appropriate. See the 45 * <p>In addition, the user may manually switch the system to car mode without 46 * physically being in a dock. While in car mode -- whether by manual action 48 * displayed allowing the user to exit dock mode. Thus the dock mode 60 * Broadcast sent when the device's UI has switched to car mode, eithe 232 setNightMode(@ightMode int mode) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | ColorFilter.cpp | 40 SkXfermode::Mode mode = static_cast<SkXfermode::Mode>(modeHandle); local 41 return reinterpret_cast<jlong>(SkColorFilter::CreateModeFilter(srcColor, mode));
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | WindowDecorActionBarTest.java | 46 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback); 48 assertNotNull(mode); 56 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback); 58 assertNull(mode); 78 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 83 public void onDestroyActionMode(ActionMode mode) { argument 88 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 94 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PorterDuff.java | 74 public static final int modeToInt(Mode mode) { argument 75 return mode.nativeInt;
|
/frameworks/base/libs/hwui/ |
H A D | PixelBuffer.cpp | 38 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override; 56 uint8_t* CpuPixelBuffer::map(AccessMode mode) { argument 58 mAccessMode = mode; 85 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override; 116 uint8_t* GpuPixelBuffer::map(AccessMode mode) { argument 119 mMappedPointer = (uint8_t*) glMapBufferRange(GL_PIXEL_UNPACK_BUFFER, 0, getSize(), mode); 124 mAccessMode = mode;
|
/frameworks/base/libs/hwui/utils/ |
H A D | PaintUtils.h | 37 * Safely retrieves the mode from the specified xfermode. If the specified 38 * xfermode is null, the mode is assumed to be SkXfermode::kSrcOver_Mode. 40 static inline SkXfermode::Mode getXfermode(SkXfermode* mode) { argument 42 if (!SkXfermode::AsMode(mode, &resultMode)) { 80 SkXfermode::Mode mode = getXfermode(paint->getXfermode()); local 81 return mode == SkXfermode::Mode::kSrcOver_Mode 82 || mode == SkXfermode::Mode::kSrc_Mode;
|
/frameworks/base/media/java/android/media/ |
H A D | AudioGain.java | 24 * - mode: defines modes of operation or features 44 * Bit of AudioGain.mode() field indicating that 49 * Bit of AudioGain.mode() field indicating that 54 * Bit of AudioGain.mode() field indicating that 72 AudioGain(int index, int mode, int channelMask, argument 76 mMode = mode; 89 public int mode() { method in class:AudioGain 148 * @param mode: desired mode of operation 151 * @param rampDurationMs: ramp duration if mode MODE_RAM 154 buildConfig(int mode, int channelMask, int[] values, int rampDurationMs) argument [all...] |
/frameworks/base/native/android/ |
H A D | native_window.cpp | 67 int mode = NATIVE_WINDOW_SCALING_MODE_FREEZE; local 69 mode = NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW; 71 err = native_window_set_scaling_mode(window, mode);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarTransitions.java | 55 private void applyMode(int mode, boolean animate, boolean force) { argument 58 applyLightsOut(isLightsOut(mode), animate, force);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | DisplayAdjustmentUtils.java | 58 /** Default inversion mode for display color correction. */ 148 * Sets the surface flinger's Daltonization mode. This adjusts the color 151 * @param mode new Daltonization mode 153 private static void setDaltonizerMode(int mode) { argument 159 data.writeInt(mode); 164 Slog.e(LOG_TAG, "Failed to set Daltonizer mode", ex);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | DumpHeapProvider.java | 77 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
|
H A D | UriPermissionOwner.java | 68 void removeUriPermissionsLocked(int mode) { argument 69 removeUriPermissionLocked(null, mode); 72 void removeUriPermissionLocked(ActivityManagerService.GrantUri grantUri, int mode) { argument 73 if ((mode & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0 88 if ((mode & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0
|
/frameworks/base/services/core/java/com/android/server/lights/ |
H A D | Light.java | 35 * Low-persistence light mode. 42 public abstract void setFlashing(int color, int mode, int onMS, int offMS); argument
|