Searched refs:offset (Results 101 - 125 of 269) sorted by relevance

1234567891011

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifModifier.java42 TagOffset(ExifTag tag, int offset) { argument
44 mOffset = offset;
148 private void writeTagValue(ExifTag tag, int offset) { argument
151 Log.v(TAG, "at offset: " + offset);
153 mByteBuffer.position(offset + mOffsetBase);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DTrimTimeBar.java155 private int clampScrubber(int scrubberLeft, int offset, int lowerBound, int upperBound) { argument
156 int max = upperBound - offset;
157 int min = lowerBound - offset;
161 private int getScrubberTime(int scrubberLeft, int offset) { argument
162 return (int) ((long) (scrubberLeft + offset - mProgressBar.left)
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifModifier.java41 TagOffset(ExifTag tag, int offset) { argument
43 mOffset = offset;
147 private void writeTagValue(ExifTag tag, int offset) { argument
150 Log.v(TAG, "at offset: " + offset);
152 mByteBuffer.position(offset + mOffsetBase);
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbreg.h507 inline unsigned char db_BilinearInterpolationRGB(double y, double x, const unsigned char * const * v, int offset) argument
515 unsigned char f00 = v[floor_y][3*floor_x+offset];
516 unsigned char f01 = v[floor_y][3*ceil_x+offset];
517 unsigned char f10 = v[ceil_y][3*floor_x+offset];
518 unsigned char f11 = v[ceil_y][3*ceil_x+offset];
/packages/apps/Mms/src/com/android/mms/exif/
H A DExifModifier.java43 TagOffset(ExifTag tag, int offset) { argument
45 mOffset = offset;
149 private void writeTagValue(ExifTag tag, int offset) { argument
152 Log.v(TAG, "at offset: " + offset);
154 mByteBuffer.position(offset + mOffsetBase);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidSpellCheckerSession.java62 final int offset = ssi.getOffsetAt(i);
64 final CharSequence subText = typedText.subSequence(offset, offset + length);
94 + offset + "," + newLength);
96 additionalOffsets.add(offset);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DSectionedAlbumDataAdapter.java205 int offset = Arrays.binarySearch(sections, position);
206 if (offset < 0) {
207 offset = -(offset + 1);
209 return position - offset;
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaWindowAdapter.java314 int offset; // offset in position in the list view field in class:AgendaWindowAdapter.DayAdapterInfo
333 sb.append(" Offset:").append(offset);
389 return info.dayAdapter.getItemViewType(position - info.offset);
400 return info.dayAdapter.isEnabled(position - info.offset);
415 return info.dayAdapter.getItem(position - info.offset);
432 int curPos = info.dayAdapter.getCursorPosition(position - info.offset);
469 int offset = position - info.offset;
470 v = info.dayAdapter.getView(offset, convertVie
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DIndexerListAdapter.java167 int offset = getOffsetInPartition(position);
168 if (offset != -1) {
169 section = getSectionForPosition(offset);
/packages/apps/Dialer/src/com/android/dialer/widget/
H A DActionBarController.java167 public void setHideOffset(int offset) { argument
168 mIsActionBarSlidUp = offset >= mActivityUi.getActionBarHeight();
169 mActivityUi.getActionBar().setHideOffset(offset);
173 * @return The offset the action bar is being translated upwards by
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_util/src/
H A Ddmbuffer.cc152 void DMBuffer::copyTo(INT32 offset,INT32 size, DMBuffer& pBuffer) const argument
154 if(offset > m_nSize)
157 pBuffer.assign((char*)&m_pBuf[offset],size);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictEncoderUtils.java293 * Get the offset from a position inside a current node array to a target node array, during
297 * been updated yet, so we should return the offset from the old position of the current node
299 * before the current node array, it already has been updated, so we should return the offset
303 * @param currentNodeArray node array containing the PtNode where the offset will be written
304 * @param offsetFromStartOfCurrentNodeArray offset, in bytes, from the start of currentNodeArray
305 * @param targetNodeArray the target node array to get the offset to
306 * @return the offset to the target node array
324 * Get the offset from a position inside a current node array to a target PtNode, during
327 * @param currentNodeArray node array containing the PtNode where the offset will be written
328 * @param offsetFromStartOfCurrentNodeArray offset, i
631 makeBigramFlags(final boolean more, final int offset, int bigramFrequency, final int unigramFrequency, final String word) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DImageCacheRequest.java66 buffer.data, buffer.offset, buffer.length, options);
69 buffer.data, buffer.offset, buffer.length, options);
H A DImageCacheService.java53 * <code>buffer.offset</code> for <code>buffer.length</code> bytes. If the
70 buffer.offset = key.length;
71 buffer.length = request.length - buffer.offset;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeView.java102 // offset is in pixels. direction is one of {TOP, LEFT, BOTTOM, RIGHT}.
103 public void onPull(int offset, int direction) { argument
105 mEffect[direction].onPull((float)offset / fullLength);
/packages/apps/OMA-DM/engine/xpl/hdr/
H A Dxpl_File.h63 XPL_FS_SEEK_SET =0, /* set offset to offset */
64 XPL_FS_SEEK_CUR, /* set offset to current plus offset */
65 XPL_FS_SEEK_END /* set fileoffset to EOF plus offset */
140 /* Function shall set the file offset for the open file description associated with file_handle
141 * Upon successful completion, the resulting offset, as measured in bytes from the beginning of
144 XPL_FS_SEEK_OFFSET_T offset,
176 UINT8 * XPL_FS_MemMap(XPL_FS_HANDLE_T file_handle, UINT32 size, UINT32 offset, XPL_FS_RET_STATUS_T * result);
/packages/apps/UnifiedEmail/src/com/android/mail/content/
H A DThreadSafeCursorWrapper.java141 public boolean move(int offset) { argument
143 return moveToPosition(curPos + offset);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapFolderElement.java220 public byte[] encode(int offset, int count) throws UnsupportedEncodingException { argument
227 if(offset > mSubFolders.size())
228 throw new IllegalArgumentException("FolderListingEncode: offset > subFolders.size()");
230 stopIndex = offset + count;
240 for(i = offset; i<stopIndex; i++)
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/
H A DLetterTileDrawable.java117 // Crop the destination bounds into a square, scaled and offset as appropriate
157 // offset
230 * Assigns the vertical offset of the position of the letter tile to the ContactDrawable
232 * @param offset The provided offset must be within the range of -0.5f to 0.5f.
241 public void setOffset(float offset) { argument
242 Assert.assertTrue(offset >= -0.5f && offset <= 0.5f);
243 mOffset = offset;
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_tnm/hdr/
H A Ddm_tree_default_ESN_class.H115 UINT32 offset; member in class:DMDefaultESN
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_util/hdr/
H A Ddmbuffer.h59 void copyTo(INT32 offset,INT32 size, DMBuffer& pBuffer) const;
/packages/apps/OMA-DM/engine/dmlib/tool-src/servercred/src/
H A Dmain.c78 BufferSize_t offset = 0; local
99 (unsigned char *)md5hash,&md5_hash_length,&offset,
168 BufferSize_t offset = 0; local
190 (unsigned char *)pCread_Input, &combined_length, &offset,
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DSmartPoster.java160 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { argument
168 container.addView(mTitleRecord.getView(activity, inflater, container, offset));
170 container.addView(mUriRecord.getView(activity, inflater, container, offset));
174 return mUriRecord.getView(activity, inflater, parent, offset);
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java271 mCropRect.offset(dx, dy);
274 mCropRect.offset(
278 mCropRect.offset(
333 r.offset(mImageRect.left - r.left, 0F);
335 r.offset(-(r.right - mImageRect.right), 0);
338 r.offset(0F, mImageRect.top - r.top);
340 r.offset(0F, -(r.bottom - mImageRect.bottom));
/packages/services/Mms/src/com/android/mms/service/
H A DHttpUtils.java208 int offset = 0;
212 bytesRead = dis.read(tempBody, offset, bytesTobeRead);
220 offset += bytesRead;
223 if (bytesRead == -1 && offset > 0 && !readError) {
224 // offset is same as total number of bytes read
226 body = new byte[offset];
227 System.arraycopy(tempBody, 0, body, 0, offset);
228 Log.d(TAG, "HttpUtils: Chunked response length " + offset);

Completed in 793 milliseconds

1234567891011