/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/library/ |
H A D | DataBinderTrojan.java | 23 public static void setBuildSdkInt(int level) { argument 24 ViewDataBinding.SDK_INT = level;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode_inline.h | 25 Int idx, run, level, j; local 48 level = dataBlock[j]; 51 if (level < 0) 53 RLB->level[idx] = -level; 61 RLB->level[idx] = level; 85 level = dataBlock[j]; 88 if (level < 0) 90 RLB->level[id 116 Int idx, run, level, j; local 139 ldrsh level, [dataBlock, run] /* load data */ local 181 ldrsh level, [dataBlock, run] /* load data */ local 230 Int idx, run, level = 0, j; local [all...] |
H A D | vlc_encode.cpp | 142 Int PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream); 143 Int PutCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream); 144 Int PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream); 145 Int PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream); 154 Int PutCoeff_Inter_RVLC(Int run, Int level, BitstreamEncVideo *bitstream); 155 Int PutCoeff_Inter_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream); 156 Int PutCoeff_Intra_RVLC(Int run, Int level, BitstreamEncVideo *bitstream); 157 Int PutCoeff_Intra_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream); 159 Int PutRunCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream); 160 Int PutRunCoeff_Inter_Last(Int run, Int level, BitstreamEncVide 291 PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument 311 PutCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 333 PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument 365 PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 393 PutCoeff_Inter_RVLC(Int run, Int level, BitstreamEncVideo *bitstream) argument 449 PutCoeff_Inter_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 483 PutCoeff_Intra_RVLC(Int run, Int level, BitstreamEncVideo *bitstream) argument 545 PutCoeff_Intra_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 580 PutRunCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument 609 PutRunCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 638 PutRunCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument 688 PutRunCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 729 PutLevelCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument 756 PutLevelCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 783 PutLevelCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument 829 PutLevelCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 1436 Int level; local 1509 Int level; local 1578 Int level; local 1792 Int level; local [all...] |
H A D | vlc_encode.h | 24 Int PutCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 25 Int PutCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 33 Int PutCoeff_Inter_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 34 Int PutCoeff_Intra_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 35 Int PutRunCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 36 Int PutRunCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 37 Int PutLevelCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 38 Int PutLevelCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
|
/frameworks/base/core/java/android/content/ |
H A D | ComponentCallbacks2.java | 69 * fallback that's roughly equivalent to the {@link ComponentCallbacks2#TRIM_MEMORY_COMPLETE} level. 149 * should never compare to exact values of the level, since new intermediate 151 * is greater or equal to a level you are interested in. 153 * <p>To retrieve the processes current trim level at any point, you can 157 * @param level The context of the trim, giving a hint of the amount of 164 void onTrimMemory(int level); argument
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellSignalStrengthGsm.java | 104 * Get signal level as an int from 0..4 108 int level; 115 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; 116 else if (asu >= GSM_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT; 117 else if (asu >= GSM_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD; 118 else if (asu >= GSM_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE; 119 else level = SIGNAL_STRENGTH_POOR; 120 if (DBG) log("getLevel=" + level); 121 return level; 131 int level [all...] |
H A D | CellSignalStrengthWcdma.java | 104 * Get signal level as an int from 0..4 108 int level; 115 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; 116 else if (asu >= WCDMA_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT; 117 else if (asu >= WCDMA_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD; 118 else if (asu >= WCDMA_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE; 119 else level = SIGNAL_STRENGTH_POOR; 120 if (DBG) log("getLevel=" + level); 121 return level; 131 int level [all...] |
H A D | SignalStrength.java | 498 * Retrieve an abstract level value for the overall signal strength. 506 int level = 0; 509 level = getLteLevel(); 510 if (level == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) { 511 level = getTdScdmaLevel(); 512 if (level == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) { 513 level = getGsmLevel(); 521 level = cdmaLevel; 524 level = evdoLevel; 526 /* We know both, use the lowest level */ [all...] |
H A D | CellSignalStrengthCdma.java | 116 * Get signal level as an int from 0..4 120 int level; 126 level = getCdmaLevel(); 129 level = getEvdoLevel(); 131 /* We know both, use the lowest level */ 132 level = cdmaLevel < evdoLevel ? cdmaLevel : evdoLevel; 134 if (DBG) log("getLevel=" + level); 135 return level; 139 * Get the signal level as an asu value between 0..97, 99 is unknown 163 int level [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PermissionInfo.java | 44 * System-level value for {@link #protectionLevel}, corresponding 125 * The level of access this permission is protecting, as per 182 public static int fixProtectionLevel(int level) { argument 183 if (level == PROTECTION_SIGNATURE_OR_SYSTEM) { 184 level = PROTECTION_SIGNATURE | PROTECTION_FLAG_PRIVILEGED; 186 return level; 190 public static String protectionToString(int level) { argument 192 switch (level&PROTECTION_MASK_BASE) { 206 if ((level&PermissionInfo.PROTECTION_FLAG_PRIVILEGED) != 0) { 209 if ((level [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLUtils.java | 93 * @param level 98 public static void texImage2D(int target, int level, int internalformat, argument 106 if (native_texImage2D(target, level, internalformat, bitmap, -1, border)!=0) { 118 * @param level 124 public static void texImage2D(int target, int level, int internalformat, argument 132 if (native_texImage2D(target, level, internalformat, bitmap, type, border)!=0) { 142 * @param level 146 public static void texImage2D(int target, int level, Bitmap bitmap, argument 154 if (native_texImage2D(target, level, -1, bitmap, -1, border)!=0) { 176 * @param level 181 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap) argument 206 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument 268 setTracingLevel(int level) argument 272 native_texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument 274 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StaticShadowHelper.java | 38 public void setShadowFocusLevel(Object impl, float level); argument 57 public void setShadowFocusLevel(Object impl, float level) { argument 78 public void setShadowFocusLevel(Object impl, float level) { argument 79 ShadowHelperJbmr2.setShadowFocusLevel(impl, level); 112 public void setShadowFocusLevel(Object impl, float level) { argument 113 mImpl.setShadowFocusLevel(impl, level);
|
H A D | ShadowHelper.java | 37 public void setShadowFocusLevel(Object impl, float level); argument 52 public void setShadowFocusLevel(Object impl, float level) { argument 74 public void setShadowFocusLevel(Object impl, float level) { argument 75 ShadowHelperApi21.setShadowFocusLevel(impl, level); 109 public void setShadowFocusLevel(Object impl, float level) { argument 110 mImpl.setShadowFocusLevel(impl, level);
|
/frameworks/base/core/java/android/text/ |
H A D | AndroidBidi.java | 72 int level = levels[i]; 73 if (level != curLevel) { 74 curLevel = level; 120 int level = levels[i]; 121 if (level != curLevel) { 122 curLevel = level; 123 if (level > maxLevel) { 124 maxLevel = level; 125 } else if (level < minLevel) { 126 minLevel = level; [all...] |
/frameworks/base/core/java/com/android/internal/logging/ |
H A D | AndroidHandler.java | 40 * <th>logger level</th> 41 * <th>Android level</th> 126 int level = getAndroidLevel(record.getLevel()); 128 if (!Log.isLoggable(tag, level)) { 134 Log.println(level, tag, message); 140 public void publish(Logger source, String tag, Level level, String message) { argument 142 int priority = getAndroidLevel(level); 155 * Converts a {@link java.util.logging.Logger} logging level into an Android one. 157 * @param level The {@link java.util.logging.Logger} logging level 161 getAndroidLevel(Level level) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | TraceTest.java | 157 private int dMethod(int level) { argument 159 if (level > 0) { 160 count = dMethod(level - 1); 165 if (level == 0) { 168 return dMethod(level - 1); 187 public int gMethod(int level) { argument 189 int count = level; 190 if (level > 1) 191 count += gMethod(level - 1);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | armVCM4P2_CheckVLCEscapeMode.c | 42 * Performs escape mode decision based on the run, run+, level, level+ and 49 * [in] level Level value (non-zero value) to be encoded 52 * levelPlus = sign(level)*[abs(level) - LMAX] 55 * The run value after which level 74 OMX_S16 level, 84 level = armAbs (level); 87 /* Check for a valid entry with run, level an 71 armVCM4P2_CheckVLCEscapeMode( OMX_U32 run, OMX_U32 runPlus, OMX_S16 level, OMX_S16 levelPlus, OMX_U8 maxStoreRun, OMX_U8 maxRunForMultipleEntries, OMX_INT shortVideoHeader, const OMX_U8 *pRunIndexTable ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_decode.cpp | 874 pTcoef->level = (int) tab->level; //tab->val & 255; 879 if (tab->level != 0xFF) 884 //if (((tab->run<<8)|(tab->level)|(tab->last<<16)) == VLC_ESCAPE_CODE) 888 /* first escape mode. level is offset */ 921 pTcoef->level = (int)tab->level; //tab->val & 255; 925 /* need to add back the max level */ 930 pTcoef->level = pTcoef->level [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_sles_conversions.h | 83 static inline float sles_to_android_amplification(SLmillibel level) { argument 85 return pow(10, (float)level/2000);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
H A D | ColorFilterCache.java | 62 * Returns a ColorFilter for a given alpha level between 0 and 1.0. 64 * @param level The alpha level the filter should apply. 65 * @return A ColorFilter at the alpha level for the color represented by the 68 public ColorFilter getFilterForLevel(float level) { argument 69 if (level >= 0 && level <= 1.0) { 70 int filterIndex = (int) (0xFF * level);
|
H A D | ColorFilterDimmer.java | 24 * Helper class for applying a dim level to a View. The ColorFilterDimmer 26 * currently active level. 39 * Creates a default ColorFilterDimmer. Uses the default color and level for 63 * @param activeLevel The level of dimming when the View is in its active 65 * @param dimmedLevel The level of dimming when the View is in its dimmed 104 * Sets the active level of the dimmer. Updates the ColorFilter based on the 105 * level. 107 * @param level A float between 0 (fully dim) and 1 (fully active). 109 public void setActiveLevel(float level) { argument 110 if (level < 0. [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.h | 42 unsigned char profile, level; member in struct:android::VideoFormats::config_t 74 ProfileType profile, LevelType level); 83 ProfileType profile, LevelType level); 87 ProfileType *profile, LevelType *level) const; 95 ProfileType profile, LevelType level,
|
H A D | VideoFormats.cpp | 166 mConfigs[i][j].profile = mConfigs[i][j].level = 0; 176 mConfigs[i][j].level = (1ul << LEVEL_31); 183 ProfileType profile, LevelType level) { 198 setProfileLevel((ResolutionType)i, j, profile, level); 212 mConfigs[type][index].level = (1ul << LEVEL_31); 216 mConfigs[type][index].level = 0; 222 ProfileType profile, LevelType level) { 227 mConfigs[type][index].level = (1ul << level); 232 ProfileType *profile, LevelType *level) cons 181 enableResolutionUpto( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument 220 setProfileLevel( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument 307 unsigned profile, level, res[3]; local 340 GetProfileLevel( ProfileType profile, LevelType level, unsigned *profileIdc, unsigned *levelIdc, unsigned *constraintSet) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | SourcePos.cpp | 22 Level level; member in struct:ErrorPos 26 ErrorPos(const String8& file, int line, const String8& error, Level level); 35 :line(-1), level(NOTE) 43 level(that.level) 51 level(lev) 61 this->level = rhs.level; 69 switch (level) {
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 54 // get level 57 long level = strtol(current, &end, 10); local 62 // invalid level - skip 82 def = level; 100 long level = GetLevelFromProperty(name, propertyName, (long)def); local 101 return (Level)min(max(level, (long)kDebugNone), (long)kDebugMax); 132 long level = GetLevelFromProperty(name, "debug.stagefright.experiments", undefined); local 133 if (level != undefined) { 134 ALOGI("experiment '%s': %s from property", name, level ? "ENABLED" : "disabled"); 135 return allow && (level ! [all...] |