Searched defs:offset (Results 476 - 500 of 575) sorted by relevance

<<11121314151617181920>>

/frameworks/native/opengl/libagl/
H A Darray.cpp1429 // offset in that buffer.
1508 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data) argument
1515 if (offset<0 || size<0 || data==0) {
1527 if (offset+size > bo->size) {
1531 memcpy(bo->data + offset, data, size);
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp188 int offset = ((low >> k) & 1) | ((low >> (k + 15)) & 2); local
189 int delta = table[offset];
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp498 /* void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data) */
500 GLintptr offset = glmsg->args(1).intvalue(0); local
505 context->updateBufferSubData(bufferId, offset, datap, size);
895 /* void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data) */
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp423 int offset = 12 + ((buffer[0] & 0x0F) << 2); local
425 offset += 4 + (ntohs(*(uint16_t *)&buffer[offset + 2]) << 2);
430 length -= offset;
432 length = mCodec->decode(samples, count, &buffer[offset], length);
887 int offset = sampleCount - toWrite; local
888 memcpy(buffer.i8, &output[offset], buffer.size);
903 int offset = sampleCount - toRead; local
904 memcpy(&input[offset], buffer.i8, buffer.size);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java1053 // If the offset is (0, false) and the time zone property
1364 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument
1365 TimeZone guess = findTimeZone(offset, dst, when);
1368 guess = findTimeZone(offset, !dst, when);
1374 private TimeZone findTimeZone(int offset, boolean dst, long when) { argument
1375 int rawOffset = offset;
1384 if (tz.getOffset(when) == offset &&
1547 * offset as well (which we won't worry about until later) */
1581 // The zone offset received from NITZ is for current local time,
1586 // We could unapply it if we wanted the raw offset
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseGridView.java263 * Set the offset in pixels for window alignment.
265 * @param offset The number of pixels to offset. If the offset is positive,
267 * if the offset is negative, the absolute value is distance from high
271 public void setWindowAlignmentOffset(int offset) { argument
272 mLayoutManager.setWindowAlignmentOffset(offset);
277 * Get the offset in pixels for window alignment.
279 * @return The number of pixels to offset. If the offset i
322 setItemAlignmentOffset(int offset) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java90 // Default offset in dips from the top of the view to where the progress spinner should stop
100 // Whether or not the starting offset has been determined.
110 // Target is returning to its start offset because it was cancelled or a
199 * @param start The offset in pixels from the top of this view at which the
201 * @param end The offset in pixels from the top of this view at which the
222 * @param end The offset in pixels from the top of this view at which the
289 // the absolute offset has to take into account that the circle starts at an offset
884 int offset = targetTop - mCircleView.getTop();
885 setTargetOffsetTopAndBottom(offset, fals
928 setTargetOffsetTopAndBottom(int offset, boolean requiresUpdate) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java971 * Return the current vertical offset of the action bar.
973 * <p>The action bar's current hide offset is the distance that the action bar is currently
977 * @return The action bar's offset toward its fully hidden state in pixels
984 * Set the current hide offset of the action bar.
986 * <p>The action bar's current hide offset is the distance that the action bar is currently
990 * @param offset The action bar's offset toward its fully hidden state in pixels.
992 public void setHideOffset(int offset) { argument
993 if (offset != 0) {
994 throw new UnsupportedOperationException("Setting an explicit action bar hide offset "
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java620 public void setActionBarHideOffset(int offset) { argument
623 offset = Math.max(0, Math.min(offset, topHeight));
624 ViewCompat.setTranslationY(mActionBarTop, -offset);
626 // Match the hide offset proportionally for a split bar
627 final float fOffset = (float) offset / topHeight;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java526 * Note that each operation affects the one after so you should offset them properly.
544 public void offsetOriginalIndices(int start, int offset) { argument
546 mItems.get(i).mAdapterIndex += offset;
553 * @param offset
555 public void offsetOriginalIndicesBetween(int start, int end, int offset) { argument
557 mItems.get(i).mAdapterIndex += offset;
696 // offset others
H A DStaggeredGridLayoutManagerTest.java397 assertEquals("pending scroll position offset should still be pending",
404 assertEquals("scroll offset should be applied properly",
958 mAdapter.getItemCount() / 3) + "with positive offset";
972 return "scroll to position with negative offset";
1113 assertRectSetsEqual(config + " trying to over scroll with offset should be no-op",
1135 assertEquals(config + " scroll with offset on a visible child should work fine",
1146 final int offset = offsetMultiplier
1148 scrollToPositionWithOffset(target.mPosition, offset);
1151 assertNotNull(config + " scrolling to a mPosition with offset " + offset
1318 scrollToPositionWithOffset(final int position, final int offset) argument
1840 offsetOriginalIndices(int start, int offset) argument
[all...]
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp1597 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; local
1600 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ?
1601 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
1639 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; local
1642 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ?
1643 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp746 status_t MediaPlayerService::Client::setDataSource(int fd, int64_t offset, int64_t length) argument
748 ALOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length);
762 if (offset >= sb.st_size) {
763 ALOGE("offset error");
767 if (offset + length > sb.st_size) {
768 length = sb.st_size - offset;
774 offset,
782 setDataSource_post(p, p->setDataSource(fd, offset, length));
1350 status_t MediaPlayerService::decode(int fd, int64_t offset, int64_ argument
[all...]
H A DStagefrightRecorder.cpp252 status_t StagefrightRecorder::setOutputFile(int fd, int64_t offset, int64_t length) { argument
253 ALOGV("setOutputFile: %d, %lld, %lld", fd, offset, length);
255 CHECK_EQ(offset, 0ll);
461 use64Bit? "use 64 bit file offset": "use 32 bit file offset");
610 } else if (key == "param-use-64bit-offset") {
1831 snprintf(buffer, SIZE, " File offset length (bits): %d\n", mUse64BitFileOffset? 64: 32);
1857 snprintf(buffer, SIZE, " Start time offset (ms): %d\n", mStartTimeOffsetMs);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp268 void NuPlayer::setDataSourceAsync(int fd, int64_t offset, int64_t length) { argument
276 status_t err = source->setDataSource(fd, offset, length);
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp339 int fd, int64_t offset, int64_t length) {
344 sp<DataSource> dataSource = new FileSource(fd, offset, length);
1780 // In order to avoid jumps in the DataSource offset caused by
2837 off64_t offset = request.readInt64(); local
2842 nTracks, fd, offset, length, mimeType);
338 setDataSource( int fd, int64_t offset, int64_t length) argument
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dintra_est.cpp42 int temp, SBE, offset; local
67 offset = (y_pos >> 2) * picPitch + (x_pos >> 1);
68 topL = video->currPic->Scb + offset;
69 orgY_2 = currInput->YCbCr[1] + offset + (y_pos >> 2) * (orgPitch - picPitch);
82 topL = video->currPic->Scr + offset;
83 orgY_2 = currInput->YCbCr[2] + offset + (y_pos >> 2) * (orgPitch - picPitch);
215 int offset = y_pos * pitch + x_pos; local
218 uint8 *curL = currPic->Sl + offset; /* point to reconstructed frame */
633 int offset; local
644 offset
1371 int offset = y_pos * pitch + x_pos; local
2010 int block_x, block_y, offset; local
[all...]
H A Dmotion_est.cpp256 int mbnum, offset; local
273 offset = 0;
344 offset = pitch * (j << 4) + (start_i << 4);
354 cur = currInput->YCbCr[0] + offset;
423 offset += (incr_i << 4);
612 int *offset, *offset2; local
634 offset = htfm_stat->offsetArray;
646 offset = encvid->nrmlz_th + 16;
650 offset[0] = 0;
651 offset[
747 int *offset; local
1275 int offset = i0 + j0 * lx; local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h269 size_t offset = 8; local
271 data[offset++] = 1; // CNAME
275 data[offset++] = cname.size();
277 memcpy(&data[offset], cname.c_str(), cname.size());
278 offset += cname.size();
280 data[offset++] = 6; // TOOL
284 data[offset++] = tool.size();
286 memcpy(&data[offset], tool.c_str(), tool.size());
287 offset += tool.size();
289 data[offset
1393 ssize_t offset = s.find(separator, start); local
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java713 private native final long seekAsset(long asset, long offset, int whence); argument
/frameworks/base/core/java/android/text/
H A DLayout.java639 * Return the text offset of the beginning of the specified line (
682 * Returns true if the character at offset and the preceding character
684 * @param offset the offset
688 public boolean isLevelBoundary(int offset) { argument
689 int line = getLineForOffset(offset);
698 if (offset == lineStart || offset == lineEnd) {
700 int runIndex = offset == lineStart ? 0 : runs.length - 2;
704 offset
718 isRtlCharAt(int offset) argument
741 primaryIsTrailingPrevious(int offset) argument
795 getPrimaryHorizontal(int offset) argument
804 getPrimaryHorizontal(int offset, boolean clamped) argument
814 getSecondaryHorizontal(int offset) argument
823 getSecondaryHorizontal(int offset, boolean clamped) argument
828 getHorizontal(int offset, boolean trailing, boolean clamped) argument
834 getHorizontal(int offset, boolean trailing, int line, boolean clamped) argument
1033 getLineForOffset(int offset) argument
1189 getOffsetToLeftOf(int offset) argument
1193 getOffsetToRightOf(int offset) argument
1249 getOffsetAtStartOf(int offset) argument
[all...]
H A DTextUtils.java930 public static int getOffsetBefore(CharSequence text, int offset) { argument
931 if (offset == 0)
933 if (offset == 1)
936 char c = text.charAt(offset - 1);
939 char c1 = text.charAt(offset - 2);
942 offset -= 2;
944 offset -= 1;
946 offset -= 1;
950 ReplacementSpan[] spans = ((Spanned) text).getSpans(offset, offset,
965 getOffsetAfter(CharSequence text, int offset) argument
[all...]
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java644 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, argument
658 int lastScanline = offset + (height - 1) * stride;
661 if (offset < 0 || (offset + width > length) || lastScanline < 0 ||
667 nDrawBitmap(mRenderer, colors, offset, stride, x, y,
671 private static native void nDrawBitmap(long renderer, int[] colors, int offset, int stride, argument
675 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, argument
677 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height, hasAlpha, paint);
762 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument
765 if ((offset | coun
771 nDrawLines(long renderer, float[] points, int offset, int count, long paint) argument
828 drawPoints(float[] pts, int offset, int count, Paint paint) argument
834 nDrawPoints(long renderer, float[] points, int offset, int count, long paint) argument
[all...]
H A DRenderNode.java775 * @param offset The amount that the left and right positions of the display
776 * list are offset, in pixels
780 public boolean offsetLeftAndRight(int offset) { argument
781 return nOffsetLeftAndRight(mNativeRenderNode, offset);
787 * @param offset The amount that the top and bottom positions of the display
788 * list are offset, in pixels
792 public boolean offsetTopAndBottom(int offset) { argument
793 return nOffsetTopAndBottom(mNativeRenderNode, offset);
843 private static native boolean nOffsetTopAndBottom(long renderNode, int offset); argument
844 private static native boolean nOffsetLeftAndRight(long renderNode, int offset); argument
[all...]
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java423 * @return The horizontal offset of the popup from its anchor in pixels.
430 * Set the horizontal offset of this popup from its anchor view in pixels.
432 * @param offset The horizontal offset of the popup from its anchor.
434 public void setHorizontalOffset(int offset) { argument
435 mDropDownHorizontalOffset = offset;
439 * @return The vertical offset of the popup from its anchor in pixels.
449 * Set the vertical offset of this popup from its anchor view in pixels.
451 * @param offset The vertical offset o
453 setVerticalOffset(int offset) argument
[all...]

Completed in 8864 milliseconds

<<11121314151617181920>>