/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vlc_encode_inline.h | 25 Int idx, run, level, j; in zero_run_search() local 48 level = dataBlock[j]; in zero_run_search() 51 if (level < 0) in zero_run_search() 53 RLB->level[idx] = -level; in zero_run_search() 61 RLB->level[idx] = level; in zero_run_search() 85 level = dataBlock[j]; in zero_run_search() 88 if (level < 0) in zero_run_search() 90 RLB->level[idx] = -level; in zero_run_search() 98 RLB->level[idx] = level; in zero_run_search() 116 Int idx, run, level, j; in zero_run_search() local [all …]
|
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, BitstreamEncVideo *bitstream); [all …]
|
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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vlc_decode.cpp | 874 pTcoef->level = (int) tab->level; //tab->val & 255; in VlcDecTCOEFIntra() 879 if (tab->level != 0xFF) in VlcDecTCOEFIntra() 921 pTcoef->level = (int)tab->level; //tab->val & 255; in VlcDecTCOEFIntra() 930 pTcoef->level = pTcoef->level + intra_max_level[pTcoef->last][pTcoef->run]; in VlcDecTCOEFIntra() 973 pTcoef->level = (int)tab->level; //tab->val & 255; in VlcDecTCOEFIntra() 981 if (pTcoef->level > 8) in VlcDecTCOEFIntra() 985 pTcoef->run = pTcoef->run + intra_max_run1[pTcoef->level] + 1; in VlcDecTCOEFIntra() 989 if (pTcoef->level > 27) in VlcDecTCOEFIntra() 993 pTcoef->run = pTcoef->run + intra_max_run0[pTcoef->level] + 1; in VlcDecTCOEFIntra() 1004 pTcoef->level = (int)(BitstreamReadBits16_INLINE(stream, 13) >> 1); in VlcDecTCOEFIntra() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthGsm.java | 108 int level; in getLevel() local 115 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getLevel() 116 else if (asu >= GSM_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT; in getLevel() 117 else if (asu >= GSM_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD; in getLevel() 118 else if (asu >= GSM_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE; in getLevel() 119 else level = SIGNAL_STRENGTH_POOR; in getLevel() 120 if (DBG) log("getLevel=" + level); in getLevel() 121 return level; in getLevel() 131 int level = mSignalStrength; in getDbm() local 132 int asu = (level == 99 ? Integer.MAX_VALUE : level); in getDbm() [all …]
|
D | CellSignalStrengthWcdma.java | 108 int level; in getLevel() local 115 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getLevel() 116 else if (asu >= WCDMA_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT; in getLevel() 117 else if (asu >= WCDMA_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD; in getLevel() 118 else if (asu >= WCDMA_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE; in getLevel() 119 else level = SIGNAL_STRENGTH_POOR; in getLevel() 120 if (DBG) log("getLevel=" + level); in getLevel() 121 return level; in getLevel() 131 int level = mSignalStrength; in getDbm() local 132 int asu = (level == 99 ? Integer.MAX_VALUE : level); in getDbm() [all …]
|
D | SignalStrength.java | 477 int level; in getLevel() local 480 level = getLteLevel(); in getLevel() 481 if (level == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) { in getLevel() 482 level = getGsmLevel(); in getLevel() 489 level = cdmaLevel; in getLevel() 492 level = evdoLevel; in getLevel() 495 level = cdmaLevel < evdoLevel ? cdmaLevel : evdoLevel; in getLevel() 498 if (DBG) log("getLevel=" + level); in getLevel() 499 return level; in getLevel() 582 int level; [all …]
|
D | CellSignalStrengthCdma.java | 120 int level; in getLevel() local 126 level = getCdmaLevel(); in getLevel() 129 level = getEvdoLevel(); in getLevel() 132 level = cdmaLevel < evdoLevel ? cdmaLevel : evdoLevel; in getLevel() 134 if (DBG) log("getLevel=" + level); in getLevel() 135 return level; in getLevel() 163 int level = (cdmaAsuLevel < ecioAsuLevel) ? cdmaAsuLevel : ecioAsuLevel; local 164 if (DBG) log("getAsuLevel=" + level); 165 return level; 190 int level = (levelDbm < levelEcio) ? levelDbm : levelEcio; in getCdmaLevel() local [all …]
|
/frameworks/base/core/java/android/text/ |
D | AndroidBidi.java | 72 int level = levels[i]; in directions() local 73 if (level != curLevel) { in directions() 74 curLevel = level; in directions() 120 int level = levels[i]; in directions() local 121 if (level != curLevel) { in directions() 122 curLevel = level; in directions() 123 if (level > maxLevel) { in directions() 124 maxLevel = level; in directions() 125 } else if (level < minLevel) { in directions() 126 minLevel = level; in directions() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLUtils.java | 106 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument 114 if (native_texImage2D(target, level, internalformat, bitmap, -1, border)!=0) { in texImage2D() 132 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument 140 if (native_texImage2D(target, level, internalformat, bitmap, type, border)!=0) { in texImage2D() 154 public static void texImage2D(int target, int level, Bitmap bitmap, in texImage2D() argument 162 if (native_texImage2D(target, level, -1, bitmap, -1, border)!=0) { in texImage2D() 189 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument 198 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, -1, type)!=0) { in texSubImage2D() 214 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument 222 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, format, type)!=0) { in texSubImage2D() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | VideoFormats.cpp | 166 mConfigs[i][j].profile = mConfigs[i][j].level = 0; in disableAll() 176 mConfigs[i][j].level = (1ul << LEVEL_31); in enableAll() 183 ProfileType profile, LevelType level) { in enableResolutionUpto() argument 198 setProfileLevel((ResolutionType)i, j, profile, level); in enableResolutionUpto() 212 mConfigs[type][index].level = (1ul << LEVEL_31); in setResolutionEnabled() 216 mConfigs[type][index].level = 0; in setResolutionEnabled() 222 ProfileType profile, LevelType level) { in setProfileLevel() argument 227 mConfigs[type][index].level = (1ul << level); in setProfileLevel() 232 ProfileType *profile, LevelType *level) const{ in getProfileLevel() 245 if (mConfigs[type][index].level & (1ul << i)) { in getProfileLevel() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | wb_vad.c | 150 Word16 level; in level_calculation() local 165 level = extract_h(L_shl2(l_temp2, scale)); in level_calculation() 167 return level; in level_calculation() 181 Word16 level[] /* o : signal levels at each band */ in filter_bank() argument 225 level[11] = level_calculation(tmp_buf, &st->sub_level[11], 16, 64, 4, 1, 14); in filter_bank() 227 level[10] = level_calculation(tmp_buf, &st->sub_level[10], 8, 32, 8, 7, 15); in filter_bank() 229 level[9] = level_calculation(tmp_buf, &st->sub_level[9],8, 32, 8, 3, 15); in filter_bank() 231 level[8] = level_calculation(tmp_buf, &st->sub_level[8],8, 32, 8, 2, 15); in filter_bank() 233 level[7] = level_calculation(tmp_buf, &st->sub_level[7],4, 16, 16, 14, 16); in filter_bank() 235 level[6] = level_calculation(tmp_buf, &st->sub_level[6],4, 16, 16, 6, 16); in filter_bank() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PermissionInfo.java | 133 public static int fixProtectionLevel(int level) { in fixProtectionLevel() argument 134 if (level == PROTECTION_SIGNATURE_OR_SYSTEM) { in fixProtectionLevel() 135 level = PROTECTION_SIGNATURE | PROTECTION_FLAG_SYSTEM; in fixProtectionLevel() 137 return level; in fixProtectionLevel() 141 public static String protectionToString(int level) { in protectionToString() argument 143 switch (level&PROTECTION_MASK_BASE) { in protectionToString() 157 if ((level&PermissionInfo.PROTECTION_FLAG_SYSTEM) != 0) { in protectionToString() 160 if ((level&PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0) { in protectionToString() 163 if ((level&PermissionInfo.PROTECTION_FLAG_APPOP) != 0) { in protectionToString()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ShadowHelper.java | 42 public void setShadowFocusLevel(Object impl, float level); in setShadowFocusLevel() argument 63 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 91 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 92 ShadowHelperJbmr2.setShadowFocusLevel(impl, level); in setShadowFocusLevel() 118 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 119 ShadowHelperApi21.setShadowFocusLevel(impl, level); in setShadowFocusLevel() 166 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 167 mImpl.setShadowFocusLevel(impl, level); in setShadowFocusLevel()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | TraceTest.java | 157 private int dMethod(int level) { in dMethod() argument 159 if (level > 0) { in dMethod() 160 count = dMethod(level - 1); in dMethod() 165 if (level == 0) { in dMethod() 168 return dMethod(level - 1); in dMethod() 187 public int gMethod(int level) { in gMethod() argument 189 int count = level; in gMethod() 190 if (level > 1) in gMethod() 191 count += gMethod(level - 1); in gMethod()
|
/frameworks/base/core/java/com/android/internal/logging/ |
D | AndroidHandler.java | 126 int level = getAndroidLevel(record.getLevel()); in publish() local 128 if (!Log.isLoggable(tag, level)) { in publish() 134 Log.println(level, tag, message); in publish() 140 public void publish(Logger source, String tag, Level level, String message) { in publish() argument 142 int priority = getAndroidLevel(level); in publish() 161 static int getAndroidLevel(Level level) { in getAndroidLevel() argument 162 int value = level.intValue(); in getAndroidLevel()
|
/frameworks/support/v7/appcompat/ |
D | THEMES.txt | 16 Fourth level themes (Platform) 28 Third level 39 Second level 41 There are the themes which are pointers to the correct third level theme. 45 Because of this, every time there is a third level theme set, there should be a second level 56 Top level themes 59 the second level relevant second level theme below.
|
/frameworks/base/tools/aapt/ |
D | SourcePos.cpp | 22 Level level; member 26 ErrorPos(const String8& file, int line, const String8& error, Level level); 35 :line(-1), level(NOTE) in ErrorPos() 43 level(that.level) in ErrorPos() 51 level(lev) in ErrorPos() 61 this->level = rhs.level; in operator =() 69 switch (level) { in print()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 158 public Bitmap getTile(int level, int x, int y, Bitmap reuse); in getTile() argument 311 int level = tile.mTileLevel; in layoutTiles() local 312 if (level < fromLevel || level >= endLevel in layoutTiles() 313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 349 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 350 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 360 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 379 int size = mTileSize << level; in getRange() 420 int level = mLevel; in draw() local 437 if (level != mLevelCount) { in draw() [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | residual.cpp | 155 int *level, *run; in enc_residual_block() local 165 level = encvid->level[cindx]; in enc_residual_block() 171 level = encvid->leveldc; in enc_residual_block() 179 level = encvid->level[cindx]; in enc_residual_block() 188 level = encvid->levelcdc + 4; in enc_residual_block() 194 level = encvid->levelcdc; in enc_residual_block() 202 level = encvid->level[cindx]; in enc_residual_block() 222 if (nC && (level[i] == 1 || level[i] == -1)) in enc_residual_block() 269 … trailing_ones_sign_flag |= ((uint32)level[i--] >> 31); /* 0 or positive, 1 for negative */ in enc_residual_block() 295 value = level[i]; in enc_residual_block()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 83 int level = UNKNOWN_LEVEL; field in BatteryMeterView.BatteryTracker 100 level = (int)(100f in onReceive() 115 context.getString(R.string.accessibility_battery_level, level)); in onReceive() 122 int saveLevel = level; in onReceive() 252 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 303 final int level = tracker.level; in draw() local 305 if (level == BatteryTracker.UNKNOWN_LEVEL) return; in draw() 307 float drawFrac = (float) level / 100f; in draw() 339 mBatteryPaint.setColor(tracker.plugged ? mChargeColor : getColorForLevel(level)); in draw() 341 if (level >= FULL) { in draw() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ScanResult.java | 54 public int level; field in ScanResult 96 level = (int) ((double) level * (1 - alpha) + (double) previousRssi * alpha); in averageRssi() 227 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument 233 this.level = level; in ScanResult() 241 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument 247 this.level = level; in ScanResult() 261 level = source.level; in ScanResult() 295 append(level). in toString() 327 dest.writeInt(level); in writeToParcel()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | armVCM4P2_CheckVLCEscapeMode.c | 74 OMX_S16 level, in armVCM4P2_CheckVLCEscapeMode() argument 84 level = armAbs (level); in armVCM4P2_CheckVLCEscapeMode() 97 if (level > entries) in armVCM4P2_CheckVLCEscapeMode() 150 if (level > entries) in armVCM4P2_CheckVLCEscapeMode()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.cpp | 127 void RenderProperties::debugOutputProperties(const int level) const { in debugOutputProperties() 129 …ALOGD("%*sTranslate (left, top) %d, %d", level * 2, "", mPrimitiveFields.mLeft, mPrimitiveFields.m… in debugOutputProperties() 133 level * 2, "", mStaticMatrix, SK_MATRIX_ARGS(mStaticMatrix)); in debugOutputProperties() 137 level * 2, "", mAnimationMatrix, SK_MATRIX_ARGS(mAnimationMatrix)); in debugOutputProperties() 142 level * 2, "", getTranslationX(), getTranslationY(), getZ()); in debugOutputProperties() 145 …level * 2, "", mComputedFields.mTransformMatrix, SK_MATRIX_ARGS(mComputedFields.mTransformMatrix)); in debugOutputProperties() 155 ALOGD("%*sSetOverrideLayerAlpha %.2f", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties() 157 ALOGD("%*sScaleAlpha %.2f", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties() 167 ALOGD("%*sSaveLayerAlpha %d, %d, %d, %d, %d, 0x%x", level * 2, "", in debugOutputProperties() 175 ALOGD("%*sClipRect %d, %d, %d, %d", level * 2, "", in debugOutputProperties()
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 98 int level = 1; in tokenize() local 101 while (i < cursor && level > 0) { in tokenize() 105 if (level > 1) { in tokenize() 109 level--; in tokenize() 113 level++; in tokenize() 266 int level = 1; in findTokenEnd() local 269 while (i < len && level > 0) { in findTokenEnd() 273 level--; in findTokenEnd() 276 level++; in findTokenEnd()
|