Searched refs:level (Results 1 - 25 of 371) sorted by relevance

1234567891011>>

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/library/
H A DDataBinderTrojan.java23 public static void setBuildSdkInt(int level) { argument
24 ViewDataBinding.SDK_INT = level;
/frameworks/av/media/libaaudio/src/utility/
H A DLinearRamp.cpp22 // Update target. Continue from previous level.
35 float level; local
37 level = mLevelTo;
41 level = mLevelFrom + (frames * (mLevelTo - mLevelFrom) / mRemaining);
44 mLevelFrom = level; // for next ramp
45 *levelTo = level;
H A DLinearRamp.h58 * Force the nextSegment to start from this level.
63 * @param level
65 void forceCurrent(float level) { argument
66 mLevelFrom = level;
67 mLevelTo = level; // forces a ramp if it does not match target
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode_inline.h25 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 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, 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 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/base/telephony/java/android/telephony/
H A DCellSignalStrengthWcdma.java104 * 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 DCellSignalStrengthGsm.java123 * Get signal level as an int from 0..4
127 int level;
134 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
135 else if (asu >= GSM_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT;
136 else if (asu >= GSM_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD;
137 else if (asu >= GSM_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE;
138 else level = SIGNAL_STRENGTH_POOR;
139 if (DBG) log("getLevel=" + level);
140 return level;
160 int level
[all...]
H A DSignalStrength.java68 // signal strength level
447 * reduced from rsrp threshold while calculating signal strength level
536 * Retrieve an abstract level value for the overall signal strength.
544 int level = 0;
547 level = getLteLevel();
548 if (level == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) {
549 level = getTdScdmaLevel();
550 if (level == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) {
551 level = getGsmLevel();
559 level
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java93 * @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
266 native_texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument
268 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPermissionInfo.java46 * System-level value for {@link #protectionLevel}, corresponding
151 * The level of access this permission is protecting, as per
209 public static int fixProtectionLevel(int level) { argument
210 if (level == PROTECTION_SIGNATURE_OR_SYSTEM) {
211 level = PROTECTION_SIGNATURE | PROTECTION_FLAG_PRIVILEGED;
213 return level;
217 public static String protectionToString(int level) { argument
219 switch (level&PROTECTION_MASK_BASE) {
233 if ((level&PermissionInfo.PROTECTION_FLAG_PRIVILEGED) != 0) {
236 if ((level
[all...]
/frameworks/base/libs/hwui/
H A DOpDumper.h28 static void dump(const RecordedOp& op, std::ostream& output, int level = 0);
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
H A DAsn1Constructed.java30 private void toString(int level, StringBuilder sb) { argument
31 sb.append(indent(level)).append(super.toString()).append(":\n");
34 ((Asn1Constructed) child).toString(level + 1, sb);
36 sb.append(indent(level + 1)).append(child.toString()).append('\n');
41 public static String indent(int level) { argument
42 char[] indent = new char[level * 2];
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaticShadowHelper.java37 public void setShadowFocusLevel(Object impl, float level); argument
59 public void setShadowFocusLevel(Object impl, float level) { argument
82 public void setShadowFocusLevel(Object impl, float level) { argument
83 ShadowHelperJbmr2.setShadowFocusLevel(impl, level);
116 public void setShadowFocusLevel(Object impl, float level) { argument
117 mImpl.setShadowFocusLevel(impl, level);
H A DShadowHelper.java36 public void setShadowFocusLevel(Object impl, float level); argument
54 public void setShadowFocusLevel(Object impl, float level) { argument
79 public void setShadowFocusLevel(Object impl, float level) { argument
80 ShadowHelperApi21.setShadowFocusLevel(impl, level);
114 public void setShadowFocusLevel(Object impl, float level) { argument
115 mImpl.setShadowFocusLevel(impl, level);
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java75 int level = levels[i];
76 if (level != curLevel) {
77 curLevel = level;
123 int level = levels[i];
124 if (level != curLevel) {
125 curLevel = level;
126 if (level > maxLevel) {
127 maxLevel = level;
128 } else if (level < minLevel) {
129 minLevel = level;
[all...]
/frameworks/base/core/java/com/android/internal/logging/
H A DAndroidHandler.java40 * <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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_CheckVLCEscapeMode.c42 * 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 Dvlc_decode.cpp874 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/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DGradientDrawable_Delegate.java42 int level = thisDrawable.getLevel();
43 // 10000 is the max level. See android.graphics.drawable.Drawable#getLevel()
44 float sweep = useLevel ? (360.0f * level / 10000.0f) : 360f;
66 mLevel.setInt(thisDrawable, level);
/frameworks/wilhelm/src/android/
H A Dandroid_sles_conversions.h83 static inline float sles_to_android_amplification(SLmillibel level) { argument
85 return pow(10, (float)level/2000);
/frameworks/base/services/core/java/com/android/server/
H A DRescueParty.java138 * Escalate to the next rescue level. After incrementing the level you'll
142 final int level = MathUtils.constrain(
145 SystemProperties.set(PROP_RESCUE_LEVEL, Integer.toString(level));
147 EventLogTags.writeRescueLevel(level, triggerUid);
148 PackageManagerService.logCriticalInfo(Log.WARN, "Incremented rescue level to "
149 + levelToString(level) + " triggered by UID " + triggerUid);
154 * opportunity to reset any settings depending on our rescue level.
161 final int level = SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE);
162 if (level
178 executeRescueLevelInternal(Context context, int level) argument
349 levelToString(int level) argument
[all...]
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_log.py33 def initialise(identifier, level=logging.INFO, print_to_stdout=False,
43 level: Integer, all messages above this log level will be discarded.
70 log.setLevel(level) # reject all logs below
87 # Do not filter records in the handler because of the level
110 def log_and_print(self, msg, level=logging.INFO):
115 level: The level to use. By default it is logging.INFO.
118 self.log(level, msg)
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DColorFilterCache.java62 * 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);
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.h42 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,

Completed in 5797 milliseconds

1234567891011>>