/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 | 480 int level; in getLevel() local 483 level = getLteLevel(); in getLevel() 484 if (level == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) { in getLevel() 485 level = getGsmLevel(); in getLevel() 492 level = cdmaLevel; in getLevel() 495 level = evdoLevel; in getLevel() 498 level = cdmaLevel < evdoLevel ? cdmaLevel : evdoLevel; in getLevel() 501 if (DBG) log("getLevel=" + level); in getLevel() 502 return level; in getLevel() 585 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/core/java/android/content/pm/ |
D | PermissionInfo.java | 182 public static int fixProtectionLevel(int level) { in fixProtectionLevel() argument 183 if (level == PROTECTION_SIGNATURE_OR_SYSTEM) { in fixProtectionLevel() 184 level = PROTECTION_SIGNATURE | PROTECTION_FLAG_PRIVILEGED; in fixProtectionLevel() 186 return level; in fixProtectionLevel() 190 public static String protectionToString(int level) { in protectionToString() argument 192 switch (level&PROTECTION_MASK_BASE) { in protectionToString() 206 if ((level&PermissionInfo.PROTECTION_FLAG_PRIVILEGED) != 0) { in protectionToString() 209 if ((level&PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0) { in protectionToString() 212 if ((level&PermissionInfo.PROTECTION_FLAG_APPOP) != 0) { in protectionToString() 215 if ((level&PermissionInfo.PROTECTION_FLAG_PRE23) != 0) { in protectionToString() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLUtils.java | 98 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument 106 if (native_texImage2D(target, level, internalformat, bitmap, -1, border)!=0) { in texImage2D() 124 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument 132 if (native_texImage2D(target, level, internalformat, bitmap, type, border)!=0) { in texImage2D() 146 public static void texImage2D(int target, int level, Bitmap bitmap, in texImage2D() argument 154 if (native_texImage2D(target, level, -1, bitmap, -1, border)!=0) { in texImage2D() 181 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument 190 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, -1, type)!=0) { in texSubImage2D() 206 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument 214 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/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/wifi/java/android/net/wifi/ |
D | ScanResult.java | 55 public int level; field in ScanResult 144 level = (int) ((double) level * (1 - alpha) + (double) previousRssi * alpha); in averageRssi() 330 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument 336 this.level = level; in ScanResult() 348 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument 354 this.level = level; in ScanResult() 366 public ScanResult(String Ssid, String BSSID, String caps, int level, int frequency, in ScanResult() argument 372 this.level = level; in ScanResult() 388 public ScanResult(WifiSsid wifiSsid, String Ssid, String BSSID, String caps, int level, in ScanResult() argument 391 this(Ssid, BSSID, caps,level, frequency, tsf, distCm, distSdCm, channelWidth, centerFreq0, in ScanResult() [all …]
|
/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/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/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/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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | StaticShadowHelper.java | 38 public void setShadowFocusLevel(Object impl, float level); in setShadowFocusLevel() argument 57 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 78 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 79 ShadowHelperJbmr2.setShadowFocusLevel(impl, level); in setShadowFocusLevel() 112 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 113 mImpl.setShadowFocusLevel(impl, level); in setShadowFocusLevel()
|
D | ShadowHelper.java | 37 public void setShadowFocusLevel(Object impl, float level); in setShadowFocusLevel() argument 52 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 74 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 75 ShadowHelperApi21.setShadowFocusLevel(impl, level); in setShadowFocusLevel() 109 public void setShadowFocusLevel(Object impl, float level) { in setShadowFocusLevel() argument 110 mImpl.setShadowFocusLevel(impl, level); in setShadowFocusLevel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 200 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 288 final int level = tracker.level; in draw() local 290 if (level == BatteryTracker.UNKNOWN_LEVEL) return; in draw() 292 float drawFrac = (float) level / 100f; in draw() 324 mBatteryPaint.setColor(tracker.plugged ? mChargeColor : getColorForLevel(level)); in draw() 326 if (level >= FULL) { in draw() 328 } else if (level <= mCriticalLevel) { in draw() 385 if (!tracker.plugged && level > mCriticalLevel && mShowPercent) { in draw() 386 mTextPaint.setColor(getColorForLevel(level)); in draw() 389 : (tracker.level == 100 ? 0.38f : 0.5f))); in draw() [all …]
|
/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/av/media/libstagefright/codecs/amrnb/common/src/ |
D | vad1.cpp | 521 Word16 level; in level_calculation() local 538 level = extract_h(L_shl(l_temp2, scale, pOverflow)); in level_calculation() 540 return level; in level_calculation() 616 Word16 level[], /* 0 : signal levels at each band */ in filter_bank() argument 648 level[8] = level_calculation(tmp_buf, &st->sub_level[8], FRAME_LEN / 4 - 8, in filter_bank() 651 level[7] = level_calculation(tmp_buf, &st->sub_level[7], FRAME_LEN / 8 - 4, in filter_bank() 654 level[6] = level_calculation(tmp_buf, &st->sub_level[6], FRAME_LEN / 8 - 4, in filter_bank() 657 level[5] = level_calculation(tmp_buf, &st->sub_level[5], FRAME_LEN / 8 - 4, in filter_bank() 660 level[4] = level_calculation(tmp_buf, &st->sub_level[4], FRAME_LEN / 8 - 4, in filter_bank() 663 level[3] = level_calculation(tmp_buf, &st->sub_level[3], FRAME_LEN / 16 - 2, in filter_bank() [all …]
|