Searched refs:mContentLength (Results 1 - 2 of 2) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadThread.java139 public long mContentLength = -1; field in class:DownloadThread.State
156 mContentLength = -1;
605 if (state.mContentLength == -1) {
610 final boolean lengthMismatched = (state.mContentLength != -1)
611 && (state.mCurrentBytes != state.mContentLength);
675 state.mContentLength,
716 state.mContentLength = getHeaderFieldLong(conn, "Content-Length", -1);
719 state.mContentLength = -1;
722 state.mTotalBytes = state.mContentLength;
723 mInfo.mTotalBytes = state.mContentLength;
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSlotView.java411 private int mContentLength; field in class:SlotView.Layout
461 // (2) mContentLength: the width (or height) we need to display all the
487 mContentLength = count * majorUnitSize + (count - 1) * mSlotGap;
491 padding[1] = Math.max(0, (majorLength - mContentLength) / 2);
615 int limit = WIDE ? mContentLength - mWidth : mContentLength - mHeight;

Completed in 124 milliseconds