Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 29) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsPackageEntry.java166 public static CharSequence getFrequency(float amount, Context context) { in getFrequency() argument
167 if (amount > ALWAYS_THRESHOLD) { in getFrequency()
169 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
170 } else if (amount > SOMETIMES_THRESHOLD) { in getFrequency()
172 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
175 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
DProcessStatsPreference.java50 double amount = avg ? (statsForeground ? entry.mRunWeight : entry.mBgWeight) * weightToRam in init() local
52 setSummary(Formatter.formatShortFileSize(getContext(), (long) amount)); in init()
53 setProgress((int) (100 * amount / maxMemory)); in init()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsPackageEntry.java166 public static CharSequence getFrequency(float amount, Context context) { in getFrequency() argument
167 if (amount > ALWAYS_THRESHOLD) { in getFrequency()
169 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
170 } else if (amount > SOMETIMES_THRESHOLD) { in getFrequency()
172 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
175 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
DProcessStatsPreference.java50 double amount = avg ? (statsForeground ? entry.mRunWeight : entry.mBgWeight) * weightToRam in init() local
52 setSummary(Formatter.formatShortFileSize(getContext(), (long) amount)); in init()
53 setProgress((int) (100 * amount / maxMemory)); in init()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileTsStreamer.java351 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { in readAt() argument
354 while (mBytesFetched < pos + amount && mStreaming) { in readAt()
378 int bytesToCopyInFirstPass = amount; in readAt()
383 if (bytesToCopyInFirstPass < amount) { in readAt()
389 amount - bytesToCopyInFirstPass); in readAt()
391 mLastReadPosition = pos + amount; in readAt()
393 return amount; in readAt()
DTunerTsStreamer.java396 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { in readAt() argument
406 if (mBytesFetched < pos + amount) { in readAt()
417 int endPos = (int) ((pos + amount) % CIRCULAR_BUFFER_SIZE); in readAt()
420 if (firstLength < amount) { in readAt()
422 mCircularBuffer, 0, buffer, offset + firstLength, amount - firstLength); in readAt()
425 return amount; in readAt()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DOverScroll.java42 public static int dampedScroll(float amount, int max) { in dampedScroll() argument
43 if (Float.compare(amount, 0) == 0) return 0; in dampedScroll()
45 float f = amount / max; in dampedScroll()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1037 protected void dampedOverScroll(int amount) { in dampedOverScroll() argument
1038 mSpringOverScrollX = amount; in dampedOverScroll()
1039 if (amount == 0) { in dampedOverScroll()
1043 int overScrollAmount = OverScroll.dampedScroll(amount, getMeasuredWidth()); in dampedOverScroll()
1055 protected void overScroll(int amount) { in overScroll() argument
1056 mSpringOverScrollX = amount; in overScroll()
1062 if (amount == 0) return; in overScroll()
1065 if (amount < 0) { in overScroll()
1066 super.scrollTo(mMinScrollX + amount, getScrollY()); in overScroll()
1068 super.scrollTo(mMaxScrollX + amount, getScrollY()); in overScroll()
[all …]
DWorkspace.java1020 protected void overScroll(int amount) { in overScroll() argument
1022 ((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl)); in overScroll()
1025 ((amount >= 0 && !mIsRtl) || (amount <= 0 && mIsRtl)); in overScroll()
1033 mLastOverlayScroll = Math.abs(((float) amount) / getMeasuredWidth()); in overScroll()
1036 dampedOverScroll(amount); in overScroll()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeClock.java82 public void increment(TimeUnit unit, long amount) { in increment() argument
83 mCurrentTimeMillis += unit.toMillis(amount); in increment()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java74 private List<LiveWallpaperInfo> generatePlaceholderViews(int amount) { in generatePlaceholderViews() argument
75 ArrayList<LiveWallpaperInfo> list = new ArrayList<LiveWallpaperInfo>(amount); in generatePlaceholderViews()
76 for (int i = 0; i < amount; i++) { in generatePlaceholderViews()
/packages/apps/Settings/src/com/android/settings/
DSummaryPreference.java53 public void setAmount(String amount) { in setAmount() argument
54 mAmount = amount; in setAmount()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSummaryPreference.java53 public void setAmount(String amount) { in setAmount() argument
54 mAmount = amount; in setAmount()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java250 public void backup(int amount) { in backup() argument
252 inBuf += amount; in backup()
253 if ((bufpos -= amount) < 0) in backup()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java250 public void backup(int amount) { in backup() argument
252 inBuf += amount; in backup()
253 if ((bufpos -= amount) < 0) in backup()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DDrawableDownloader.java205 public void trimTo(float amount) { in trimTo() argument
206 if (amount == 0f) { in trimTo()
209 mMemoryCache.trimToSize((int) (amount * mMemoryCache.maxSize())); in trimTo()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java250 public void backup(int amount) { in backup() argument
252 inBuf += amount; in backup()
253 if ((bufpos -= amount) < 0) in backup()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppMemoryPreferenceController.java86 double amount = Math.max(entry.getRunWeight(), entry.getBgWeight()) in onPostExecute() local
89 Formatter.formatShortFileSize(mContext, (long) amount))); in onPostExecute()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppMemoryPreferenceController.java86 double amount = Math.max(entry.getRunWeight(), entry.getBgWeight()) in onPostExecute() local
89 Formatter.formatShortFileSize(mContext, (long) amount))); in onPostExecute()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto185 // left-hand drive countries) where the exit is a particular turn amount
202 // amount (sharp right, vs. normal left, etc. - see the definitions for
452 // High amount of traffic
455 // Intermediate amount of traffic
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto124 // The estimated amount of time in seconds before the transcription will be
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md174 … is said to be an in situ algorithm, or in-place algorithm, if the extra amount of memory required…
Dfaq.md271 …ery large JSON files. Some server-side applications need to process huge amount of JSONs. Being hi…
DDoxyfile.in66 # option can be useful when feeding doxygen a huge amount of source files, where
1194 # a fully collapsed tree already exceeds this amount). So setting the number of
2190 # but if the number exceeds 15, the total amount of fields shown is limited to
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile46 # Enabling this option can be useful when feeding doxygen a huge amount of

12