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

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawArraysIndirect.java1 // C function void glDrawArraysIndirect ( GLenum mode, const void *indirect );
3 public static native void glDrawArraysIndirect(int mode, long indirect); argument
H A DglDrawElementsIndirect.java1 // C function glDrawElementsIndirect ( GLenum mode, GLenum type, const void *indirect );
3 public static native void glDrawElementsIndirect(int mode, int type, long indirect); argument
H A DglDrawArraysIndirect.cpp1 /* void glDrawArraysIndirect ( GLenum mode, const void *indirect ) */
2 static void android_glDrawArraysIndirect(JNIEnv *_env, jobject, int mode, jlong indirect) { argument
10 glDrawArraysIndirect(mode, (const void*)indirect);
H A DglDrawElementsIndirect.cpp1 /* void glDrawElementsIndirect ( GLenum mode, GLenum type, const void *indirect ) */
2 static void android_glDrawElementsIndirect(JNIEnv *_env, jobject, jint mode, jint type, jlong indirect) { argument
10 glDrawElementsIndirect(mode, type, (const void*)indirect);
H A DglDrawElementsInstanced.java1 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
4 int mode,
11 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
14 int mode,
3 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument
13 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument
H A DglDrawElementsInstancedBaseVertex.java1 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex )
4 int mode,
12 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex )
15 int mode,
3 glDrawElementsInstancedBaseVertex( int mode, int count, int type, java.nio.Buffer indices, int instanceCount, int basevertex ) argument
14 glDrawElementsInstancedBaseVertex( int mode, int count, int type, int indicesOffset, int instanceCount, int basevertex ) argument
/frameworks/base/graphics/java/android/graphics/
H A DPorterDuffXfermode.java21 * {@link Paint#setXfermode(Xfermode) transfer mode}. Refer to the
27 * Create an xfermode that uses the specified porter-duff mode.
29 * @param mode The porter-duff mode that is applied
31 public PorterDuffXfermode(PorterDuff.Mode mode) { argument
32 porterDuffMode = mode.nativeInt;
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dreverse_bits.h36 Description: Adding #include "mode.h" so that it compiles and works for the
65 #include "mode.h"
105 void reverse_bits(enum Mode mode, unsigned char *pCompressedBlock);
H A Dd_gain_p.h52 #include "mode.h"
72 enum Mode mode, /* i : AMR mode */
H A Dbits2prm.h53 #include "mode.h"
82 enum Mode mode,
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dol_ltp.cpp91 mode = coder mode (Mode)
133 enum Mode mode, // i : coder mode
143 if (sub ((Word16)mode, (Word16)MR102) != 0 )
149 if (sub ((Word16)mode, (Word16)MR475) == 0 || sub ((Word16)mode, (Word16)MR515) == 0 )
151 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx);
155 if ( sub ((Word16)mode, (Word16)MR795) <= 0 )
157 *T_op = Pitch_ol(vadSt, mode, ws
201 ol_ltp( pitchOLWghtState *st, vadState *vadSt, enum Mode mode, Word16 wsp[], Word16 *T_op, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
[all...]
H A Dets_to_if2.h66 #include "mode.h"
108 void ets_to_if2(enum Frame_Type_3GPP mode,
H A Dprm2bits.h53 #include "mode.h"
72 enum Mode mode, /* i : AMR mode */
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_gain_p.cpp58 mode -- enumerated type -- AMR mode
125 #include "mode.h"
177 enum Mode mode, /* i : AMR mode */
185 if (mode == MR122)
176 d_gain_pitch( enum Mode mode, Word16 index ) argument
/frameworks/base/media/java/android/media/
H A DAudioGainConfig.java35 AudioGainConfig(int index, AudioGain gain, int mode, int channelMask, argument
39 mMode = mode;
57 public int mode() { method in class:AudioGainConfig
78 * Ramp duration in milliseconds. N/A if mode() does not
H A DIVolumeController.aidl37 * Change the a11y mode.
41 void setA11yMode(int mode);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dbits2prm.cpp52 #include "mode.h"
189 mode = AMR mode of type enum Mode
226 enum Mode mode, // i : AMR mode
233 for (i = 0; i < prmno[mode]; i++)
235 prm[i] = Bin2int (bitno[mode][i], bits);
236 bits += bitno[mode][i];
270 enum Mode mode, /* i : AMR mode */
269 Bits2prm( enum Mode mode, Word16 bits[], Word16 prm[] ) argument
[all...]
/frameworks/native/services/sensorservice/
H A DSensorFusion.h72 bool hasEstimate(int mode = FUSION_9AXIS) const {
73 return mFusions[mode].hasEstimate();
76 mat33_t getRotationMatrix(int mode = FUSION_9AXIS) const {
77 return mFusions[mode].getRotationMatrix();
80 vec4_t getAttitude(int mode = FUSION_9AXIS) const {
81 return mAttitudes[mode];
87 status_t activate(int mode, void* ident, bool enabled);
88 status_t setDelay(int mode, void* ident, int64_t ns);
90 float getPowerUsage(int mode=FUSION_9AXIS) const;
/frameworks/opt/net/wifi/libwifi_hal/
H A Ddriver_tool.cpp35 return true; // HAL doesn't think we need to load firmware for any mode.
59 bool DriverTool::IsFirmwareModeChangeNeeded(int mode) { argument
60 return (wifi_get_fw_path(mode) != nullptr);
63 bool DriverTool::ChangeFirmwareMode(int mode) { argument
64 const char* fwpath = wifi_get_fw_path(mode);
66 return true; // HAL doesn't think we need to load firmware for this mode.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarTransitions.java59 private float getNonBatteryClockAlphaFor(int mode) { argument
60 return isLightsOut(mode) ? ICON_ALPHA_WHEN_LIGHTS_OUT_NON_BATTERY_CLOCK
61 : !isOpaque(mode) ? ICON_ALPHA_WHEN_NOT_OPAQUE
65 private float getBatteryClockAlpha(int mode) { argument
66 return isLightsOut(mode) ? ICON_ALPHA_WHEN_LIGHTS_OUT_BATTERY_CLOCK
67 : getNonBatteryClockAlphaFor(mode);
70 private boolean isOpaque(int mode) { argument
71 return !(mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT
72 || mode
81 applyMode(int mode, boolean animate) argument
[all...]
/frameworks/base/core/java/android/app/
H A DIUiModeManager.aidl25 * Enables the car mode. Only the system can do this.
31 * Disables the car mode.
36 * Return the current running mode.
41 * Sets the night mode.
42 * The mode can be one of:
43 * 1 - notnight mode
44 * 2 - night mode
45 * 3 - automatic mode switching
47 void setNightMode(int mode);
50 * Gets the currently configured night mode
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DIParcelFileDescriptorFactory.aidl25 ParcelFileDescriptor open(String name, int mode);
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DWindowDecorActionBarTest.java48 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback);
50 assertNotNull(mode);
58 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback);
60 assertNull(mode);
80 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
85 public void onDestroyActionMode(ActionMode mode) { argument
90 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
96 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
/frameworks/opt/net/wifi/libwifi_hal/include/wifi_hal/
H A Ddriver_tool.h44 // the firmware for the provided mode.
45 // |mode| is one of the kFirmwareMode* constants defined above.
47 virtual bool IsFirmwareModeChangeNeeded(int mode);
49 // Change the firmware mode.
50 // |mode| is one of the kFirmwareMode* constants defined above.
52 virtual bool ChangeFirmwareMode(int mode);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatCallback.java31 * Called when a support action mode has been started.
33 * @param mode The new action mode.
35 void onSupportActionModeStarted(ActionMode mode); argument
38 * Called when a support action mode has finished.
40 * @param mode The action mode that just finished.
42 void onSupportActionModeFinished(ActionMode mode); argument
45 * Called when a support action mode is being started for this window. Gives the
46 * callback an opportunity to handle the action mode i
[all...]

Completed in 2326 milliseconds

1234567891011>>