Searched defs:amount (Results 1 - 21 of 21) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
H A DAppProgressPreference.java33 public void setProgress(int amount) { argument
34 mProgress = amount;
H A DSummaryPreference.java54 public void setAmount(String amount) { argument
55 mAmount = amount;
/packages/apps/TV/tests/common/src/com/android/tv/testing/
H A DFakeClock.java79 * Increment the current time by {@code amount} unit of time.
82 * @param amount The amount of time units to increment by.
84 public void increment(TimeUnit unit, long amount) { argument
85 mCurrentTimeMillis += unit.toMillis(amount);
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcStatsPackageEntry.java164 public static CharSequence getFrequency(float amount, Context context) { argument
165 if (amount > ALWAYS_THRESHOLD) {
167 Utils.formatPercentage((int) (amount * 100)));
168 } else if (amount > SOMETIMES_THRESHOLD) {
170 Utils.formatPercentage((int) (amount * 100)));
173 Utils.formatPercentage((int) (amount * 100)));
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperListAdapter.java74 private List<LiveWallpaperInfo> generatePlaceholderViews(int amount) { argument
75 ArrayList<LiveWallpaperInfo> list = new ArrayList<LiveWallpaperInfo>(amount);
76 for (int i = 0; i < amount; i++) {
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
H A DFileDataSource.java259 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { argument
262 while (mBytesFetched < pos + amount && mStreaming) {
286 int bytesToCopyInFirstPass = amount;
291 if (bytesToCopyInFirstPass < amount) {
293 amount - bytesToCopyInFirstPass);
295 mLastReadPosition = pos + amount;
297 return amount;
335 * Keeps reading data in from a {@link StreamProvider} to hold enough amount for buffering.
H A DUsbTunerDataSource.java209 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { argument
221 while (mBytesFetched < pos + amount && mStreaming) {
246 int bytesToCopyInFirstPass = amount;
251 if (bytesToCopyInFirstPass < amount) {
253 amount - bytesToCopyInFirstPass);
255 mLastReadPosition.set(pos + amount);
262 return amount;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DDrawableDownloader.java209 public void trimTo(float amount) { argument
210 if (amount == 0f) {
213 mMemoryCache.trimToSize((int) (amount * mMemoryCache.maxSize()));
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleCharStream.java250 public void backup(int amount) { argument
252 inBuf += amount;
253 if ((bufpos -= amount) < 0)
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DSimpleCharStream.java250 public void backup(int amount) { argument
252 inBuf += amount;
253 if ((bufpos -= amount) < 0)
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DSimpleCharStream.java250 public void backup(int amount) { argument
252 inBuf += amount;
253 if ((bufpos -= amount) < 0)
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleCharStream.java250 public void backup(int amount) { argument
252 inBuf += amount;
253 if ((bufpos -= amount) < 0)
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
H A DSimpleCharStream.java250 public void backup(int amount) { argument
252 inBuf += amount;
253 if ((bufpos -= amount) < 0)
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
H A DSimpleCharStream.java250 public void backup(int amount) { argument
252 inBuf += amount;
253 if ((bufpos -= amount) < 0)
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcp.java875 private void changePositionBy(long amount) { argument
878 long newPosMs = Math.max(0L, currentPosMs + amount);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizePagedView.java1497 protected void overScroll(float amount) { argument
1498 acceleratedOverScroll(amount);
H A DPagedView.java1161 protected void acceleratedOverScroll(float amount) { argument
1166 float f = OVERSCROLL_ACCELERATE_FACTOR * (amount / screenSize);
1176 if (amount < 0) {
1186 protected void dampedOverScroll(float amount) { argument
1189 float f = (amount / screenSize);
1200 if (amount < 0) {
1210 protected void overScroll(float amount) { argument
1211 dampedOverScroll(amount);
1260 // Only scroll and update mLastMotionX if we have moved some discrete amount. We
H A DWorkspace.java1267 protected void overScroll(float amount) { argument
1268 acceleratedOverScroll(amount);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedView.java1470 protected void dampedOverScroll(float amount) { argument
1472 float f = (amount / screenSize);
1483 protected void overScroll(float amount) { argument
1484 dampedOverScroll(amount);
1600 // Only scroll and update mLastMotionX if we have moved some discrete amount. We
H A DWorkspace.java1466 protected void overScroll(float amount) { argument
1467 boolean shouldOverScroll = (amount <= 0 && (!hasCustomContent() || mIsRtl)) ||
1468 (amount >= 0 && (!hasCustomContent() || !mIsRtl));
1471 ((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl));
1474 ((amount >= 0 && !mIsRtl) || (amount <= 0 && mIsRtl));
1482 mLastOverlaySroll = Math.abs(amount / getViewportWidth());
1485 dampedOverScroll(amount);
1526 * @param translation the amount o
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 1237 milliseconds