Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 738) sorted by relevance

12345678910>>...30

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode_inline.h25 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 …]
Dvlc_encode.cpp142 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 …]
Dvlc_encode.h24 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/
Dvlc_decode.cpp874 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/
DCellSignalStrengthGsm.java108 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 …]
DCellSignalStrengthWcdma.java108 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 …]
DSignalStrength.java480 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 …]
DCellSignalStrengthCdma.java120 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/
DAndroidBidi.java72 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/
DPermissionInfo.java182 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/
DGLUtils.java98 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/
DVideoFormats.cpp166 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/
Dwb_vad.c150 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/
DTraceTest.java157 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/
DScanResult.java55 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/
DTiledImageRenderer.java158 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/
DTHEMES.txt16 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/
DSourcePos.cpp22 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/
DAndroidHandler.java126 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/
Dresidual.cpp155 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/
DStaticShadowHelper.java38 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()
DShadowHelper.java37 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/
DBatteryMeterView.java200 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/
DarmVCM4P2_CheckVLCEscapeMode.c74 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/
Dvad1.cpp521 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 …]

12345678910>>...30