Home
last modified time | relevance | path

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

/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/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/TV/tuner/src/com/android/tv/tuner/source/
DFileTsStreamer.java368 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { in readAt() argument
371 while (mBytesFetched < pos + amount && mStreaming) { in readAt()
395 int bytesToCopyInFirstPass = amount; in readAt()
400 if (bytesToCopyInFirstPass < amount) { in readAt()
406 amount - bytesToCopyInFirstPass); in readAt()
408 mLastReadPosition = pos + amount; in readAt()
410 return amount; in readAt()
DTunerTsStreamer.java421 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { in readAt() argument
431 if (mBytesFetched < pos + amount) { in readAt()
442 int endPos = (int) ((pos + amount) % CIRCULAR_BUFFER_SIZE); in readAt()
445 if (firstLength < amount) { in readAt()
447 mCircularBuffer, 0, buffer, offset + firstLength, amount - firstLength); in readAt()
450 return amount; in readAt()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1041 protected void dampedOverScroll(int amount) { in dampedOverScroll() argument
1042 mSpringOverScrollX = amount; in dampedOverScroll()
1043 if (amount == 0) { in dampedOverScroll()
1047 int overScrollAmount = OverScroll.dampedScroll(amount, getMeasuredWidth()); in dampedOverScroll()
1059 protected void overScroll(int amount) { in overScroll() argument
1060 mSpringOverScrollX = amount; in overScroll()
1066 if (amount == 0) return; in overScroll()
1069 if (amount < 0) { in overScroll()
1070 super.scrollTo(mMinScrollX + amount, getScrollY()); in overScroll()
1072 super.scrollTo(mMaxScrollX + amount, getScrollY()); in overScroll()
[all …]
DWorkspace.java1013 protected void overScroll(int amount) { in overScroll() argument
1015 ((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl)); in overScroll()
1018 ((amount >= 0 && !mIsRtl) || (amount <= 0 && mIsRtl)); in overScroll()
1026 mLastOverlayScroll = Math.abs(((float) amount) / getMeasuredWidth()); in overScroll()
1029 dampedOverScroll(amount); in overScroll()
1038 protected boolean onOverscroll(int amount) { in onOverscroll() argument
1040 if ((amount > 0 && !mIsRtl) || (amount < 0 && mIsRtl)) return false; in onOverscroll()
1041 return super.onOverscroll(amount); in onOverscroll()
/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/TV/tests/common/src/com/android/tv/testing/fakes/
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/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/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/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.proto123 // 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
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile46 # Enabling this option can be useful when feeding doxygen a huge amount of
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...