Home
last modified time | relevance | path

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

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java137 public long mContentLength = -1; field in DownloadThread.State
154 mContentLength = -1; in resetBeforeExecute()
598 if (state.mContentLength == -1) { in handleEndOfStream()
603 final boolean lengthMismatched = (state.mContentLength != -1) in handleEndOfStream()
604 && (state.mCurrentBytes != state.mContentLength); in handleEndOfStream()
668 state.mContentLength, in processResponseHeaders()
709 state.mContentLength = getHeaderFieldLong(conn, "Content-Length", -1); in readResponseHeaders()
712 state.mContentLength = -1; in readResponseHeaders()
715 state.mTotalBytes = state.mContentLength; in readResponseHeaders()
716 mInfo.mTotalBytes = state.mContentLength; in readResponseHeaders()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java411 private int mContentLength; field in SlotView.Layout
487 mContentLength = count * majorUnitSize + (count - 1) * mSlotGap; in initLayoutParameters()
491 padding[1] = Math.max(0, (majorLength - mContentLength) / 2); in initLayoutParameters()
615 int limit = WIDE ? mContentLength - mWidth : mContentLength - mHeight; in getScrollLimit()