/frameworks/base/services/core/java/com/android/server/am/ |
H A D | CompatModePackages.java | 57 // Compatibility state: no longer ask user to select the mode. 59 // Compatibility state: compatibility mode is enabled. 61 // Unsupported zoom state: don't warn the user about unsupported zoom mode. 114 String mode = parser.getAttributeValue(null, "mode"); 116 if (mode != null) { 118 modeInt = Integer.parseInt(mode); 185 // Update -- if the app no longer can run in compat mode, clear 282 public void setFrontActivityScreenCompatModeLocked(int mode) { argument 288 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode); 303 setPackageScreenCompatModeLocked(String packageName, int mode) argument 316 setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | gc_pred.cpp | 202 mode = AMR mode (enum Mode) 203 code = pointer to the innovative codebook vector; Q12 in MR122 mode, 210 is calculated for MR795 mode, Q0 (Word16) 212 this is calculated for MR795 mode, Q15 (Word16) 262 enum Mode mode, // i : AMR mode 288 if (sub (mode, MR122) == 0) 376 if (sub (mode, MR102) == 0) 381 else if (sub (mode, MR79 466 gc_pred( gc_predState *st, enum Mode mode, Word16 *code, Word16 *exp_gcode0, Word16 *frac_gcode0, Word16 *exp_en, Word16 *frac_en, Flag *pOverflow ) argument [all...] |
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplayProvider.java | 117 * Discovery mode: Do not perform any discovery. 122 * Discovery mode: Passive or low-power periodic discovery. 124 * This mode indicates that an application is interested in knowing whether there 133 * Discovery mode: Active discovery. 135 * This mode indicates that the user is actively trying to connect to a route 136 * and we should perform continuous scans. This mode may use significantly more 174 * Called when the current discovery mode changes. 176 * @param mode The new discovery mode. 178 public void onDiscoveryModeChanged(int mode) { argument 305 setDiscoveryMode(int mode) argument 335 setDiscoveryMode(int mode) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2CaptureRequestTest.java | 78 * Test AE mode and lock. 82 * For AE modes, each mode should satisfy the per frame controls defined in 103 Log.v(TAG, String.format("AE mode and lock: %d/%d", iteration + 1, 108 for (int mode : aeModes) { 109 aeModeAndLockTestByMode(mode); 123 * For manual AE mode, test iterates through different sensitivities and 125 * CONTROL_AE_MODE_ON_ALWAYS_FLASH mode, the AE lock and flash are tested. 126 * For the rest of the AUTO mode, AE lock is tested. 129 * @param mode 131 private void aeModeAndLockTestByMode(int mode) argument 163 aeAutoModeTestLock(int mode) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | bits.c | 36 Word16 coding_mode, /* i: coding bit-stream ratio mode */ 37 Word16 mode, /* i: coding bit-stream ratio mode*/ 86 *(dataOut + 2) = mode; 118 /* change mode index in case of SID frame */ 161 /* insert SID type indication and speech mode in case of SID frame */ 169 temp += mode & 0x000F; 35 PackBits(Word16 prms[], Word16 coding_mode, Word16 mode, Coder_State *st ) argument
|
/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/provider/ |
H A D | SearchRecentSuggestions.java | 124 * @param mode You can use mode flags here to determine certain functional aspects of your 131 public SearchRecentSuggestions(Context context, String authority, int mode) { argument 133 ((mode & SearchRecentSuggestionsProvider.DATABASE_MODE_QUERIES) == 0)) { 136 // unpack mode flags 137 mTwoLineDisplay = (0 != (mode & SearchRecentSuggestionsProvider.DATABASE_MODE_2LINES)); 158 * If you did not configure two-line mode, or if a given suggestion does not have any
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | PorterDuffUtility.java | 58 * PorterDuff mode and the alpha. Defaults to {@link Mode#SRC_OVER} for invalid modes. 60 public static Composite getComposite(Mode mode, int alpha255) { argument 62 switch (mode) { 101 String.format("Unsupported PorterDuff Mode: %1$s", mode.name()),
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCommon.java | 35 public void setColorFilter(int color, PorterDuff.Mode mode) { argument 37 mDelegateDrawable.setColorFilter(color, mode); 40 super.setColorFilter(color, mode);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 101 bool set(int mode, int socket, sockaddr_storage *remote, 167 bool AudioStream::set(int mode, int socket, sockaddr_storage *remote, argument 171 if (mode < 0 || mode > LAST_MODE) { 174 mMode = mode; 223 ALOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket, 480 bool setMode(int mode); 628 bool AudioGroup::setMode(int mode) argument 630 if (mode < 0 || mode > LAST_MOD 787 int mode = mGroup->mMode; local 943 add(JNIEnv *env, jobject thiz, jint mode, jint socket, jstring jRemoteAddress, jint remotePort, jstring jCodecSpec, jint dtmfType, jstring opPackageNameStr) argument 1003 int mode = env->GetIntField(thiz, gMode); local 1043 setMode(JNIEnv *env, jobject thiz, jint mode) argument [all...] |
H A D | AmrCodec.cpp | 75 // Handle mode-set and octet-align. 76 const char *modes = strcasestr(fmtp, "mode-set="); 82 int mode = c - '0'; local 83 if (mode > mMode) { 84 mMode = mode; 86 mModeSet |= 1 << mode; 95 // TODO: handle mode-change-*.
|
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 66 * <p></p>When checking operations, the result is a "mode" integer indicating the current 102 * use its default security check. This mode is not normally used; it should only be used 885 * This specifies the default mode for each operation. 1161 * Retrieve the default mode for the operation. 1252 public OpEntry(int op, int mode, long time, long rejectTime, int duration, argument 1255 mMode = mode; 1385 * Sets given app op in the specified mode for app ops in the UID. 1391 * @param mode The app op mode to set. 1394 public void setUidMode(int code, int uid, int mode) { argument 1414 setUidMode(String appOp, int uid, int mode) argument 1444 setMode(int code, int uid, String packageName, int mode) argument 1463 setRestriction(int code, @AttributeUsage int usage, int mode, String[] exceptionPackages) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | q_plsf.h | 66 #include "mode.h" 144 enum Mode mode, /* i : coder mode */ 148 Word16 *pred_init_i,/* o : init index for MA prediction in DTX mode */
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | ph_disp.h | 69 #include "mode.h" 163 ; mode and computes total excitation for synthesis part 170 enum Mode mode, /* i : codec mode */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cl_ltp.h | 70 #include "mode.h" 136 enum Mode mode, /* i : coder mode */
|
H A D | gain_q.h | 78 #include "mode.h" 150 enum Mode mode, /* i : coder mode */
|
H A D | qua_gain.cpp | 70 #include "mode.h" 122 mode -- enum Mode -- AMR mode 194 enum Mode mode, /* i : AMR mode */ 233 if (mode == MR102 || mode == MR74 || mode == MR67) 193 Qua_gain( enum Mode mode, Word16 exp_gcode0, Word16 frac_gcode0, Word16 frac_coeff[], Word16 exp_coeff[], Word16 gp_limit, Word16 *gain_pit, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | bits.h | 81 int PackBits(Word16 prms[], Word16 coding_mode, Word16 mode, Coder_State *st);
|
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 132 * We can use "mode" to decide how we want to go about it. 134 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) argument 179 pAsset->mAccessMode = mode; 191 AccessMode mode) 239 pAsset->mAccessMode = mode; 249 size_t length, AccessMode mode) 259 pAsset->mAccessMode = mode; 268 AccessMode mode) 279 pAsset->mAccessMode = mode; 288 AccessMode mode) 190 createFromCompressedFile(const char* fileName, AccessMode mode) argument 287 createFromUncompressedMap(FileMap* dataMap, AccessMode mode) argument 302 createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, AccessMode mode) argument 321 createFromCompressedMap(FileMap* dataMap, size_t uncompressedLen, AccessMode mode) argument 336 createFromCompressedMap(std::unique_ptr<FileMap> dataMap, size_t uncompressedLen, AccessMode mode) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | OpDumper.cpp | 41 << " mode=" << (int)op.localClip->mode;
|
H A D | ProgramCache.h | 54 void generateBlend(String8& shader, const char* name, SkBlendMode mode);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaVulkanPipeline.cpp | 121 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) { 122 return new VkLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend); 157 DrawGlInfo::Mode mode = DrawGlInfo::kModeProcessNoContext; local 158 (*functor)(mode, nullptr); 120 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | LocalBluetoothAdapter.java | 146 public void setScanMode(int mode) { argument 147 mAdapter.setScanMode(mode); 150 public boolean setScanMode(int mode, int duration) { argument 151 return mAdapter.setScanMode(mode, duration);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 33 /** Access mode None: Frame data will not be accessed at all. */ 35 /** Access mode Bytes: Frame data will be accessed as a ByteBuffer. */ 37 /** Access mode Texture: Frame data will be accessed as a TextureSource. */ 39 /** Access mode RenderTarget: Frame data will be accessed as a RenderTarget. */ 41 /** Access mode Object: Frame data will be accessed as a generic Object. */ 43 /** Access mode Bitmap: Frame data will be accessed as a Bitmap. */ 45 /** Access mode Allocation: Frame data will be accessed as a RenderScript Allocation. */ 84 public Object lockData(int mode, int accessFormat) { argument 85 return lockBacking(mode, accessFormat).lock(accessFormat); 88 public Backing lockBacking(int mode, in argument 186 fetchBacking(int mode, int access) argument 201 getBacking(int mode, int access) argument 215 attachNewBacking(int mode, int access) argument 224 createBacking(int mode, int access) argument 296 lock(Backing backingToLock, int mode) argument [all...] |
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | MainActivity.java | 153 byte mode = mPreviewView.getMode();
154 mSpeedButton.setElevation(mode == CameraView.MODE_SPEED ? 20 : 0);
155 mFocusButton.setElevation(mode == CameraView.MODE_FOCUS ? 20 : 0);
156 mISOButton.setElevation(mode == CameraView.MODE_ISO ? 20 : 0);
|