Home
last modified time | relevance | path

Searched refs:positionOffset (Results 1 – 23 of 23) sorted by relevance

/frameworks/support/paging/common/src/main/java/androidx/paging/
DPageResult.java60 public final int positionOffset; field in PageResult
62 PageResult(@NonNull List<T> list, int leadingNulls, int trailingNulls, int positionOffset) { in PageResult() argument
66 this.positionOffset = positionOffset; in PageResult()
69 PageResult(@NonNull List<T> list, int positionOffset) { in PageResult() argument
73 this.positionOffset = positionOffset; in PageResult()
81 + ", offset " + positionOffset; in toString()
DTiledPagedList.java54 pageResult.positionOffset, mConfig.pageSize, TiledPagedList.this);
56 mStorage.insertPage(pageResult.positionOffset, pageResult.page,
64 && pageResult.positionOffset == 0;
69 && (pageResult.positionOffset + mConfig.pageSize >= size)));
DPagedStorage.java95 private void init(int leadingNulls, List<T> page, int trailingNulls, int positionOffset) { in init() argument
101 mPositionOffset = positionOffset; in init()
112 void init(int leadingNulls, @NonNull List<T> page, int trailingNulls, int positionOffset, in init() argument
114 init(leadingNulls, page, trailingNulls, positionOffset); in init()
312 int trailingNulls, int positionOffset, int pageSize, @NonNull Callback callback) { in initAndSplit() argument
324 init(leadingNulls, sublist, initialTrailingNulls, positionOffset); in initAndSplit()
DContiguousPagedList.java55 pageResult.positionOffset, ContiguousPagedList.this);
60 pageResult.leadingNulls + pageResult.positionOffset + page.size() / 2;
DPositionalDataSource.java262 @PageResult.ResultType int resultType, int positionOffset, in LoadRangeCallbackImpl() argument
266 mPositionOffset = positionOffset; in LoadRangeCallbackImpl()
/frameworks/base/libs/hwui/
DPatchCache.cpp138 BufferBlock* block = new BufferBlock(patch->positionOffset, patch->getSize()); in clearGarbage()
201 newMesh->positionOffset = (GLintptr)(block->offset); in setupMesh()
202 newMesh->textureOffset = newMesh->positionOffset + kMeshTextureOffset; in setupMesh()
204 mRenderState.meshState().updateMeshBufferSubData(mMeshBuffer, newMesh->positionOffset, size, in setupMesh()
256 dump.appendFormat("->(%d, %d)", block->positionOffset, block->size); in dumpFreeBlocks()
DPatch.h56 GLintptr positionOffset = 0; variable
DGlopBuilder.cpp212 (void*)patch.positionOffset, in setMeshPatchQuads()
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
DPagerTitleStrip.java330 void updateTextPositions(int position, float positionOffset, boolean force) { in updateTextPositions() argument
333 } else if (!force && positionOffset == mLastKnownPositionOffset) { in updateTextPositions()
354 float currOffset = positionOffset + 0.5f; in updateTextPositions()
414 mLastKnownPositionOffset = positionOffset; in updateTextPositions()
479 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
480 if (positionOffset > 0.5f) { in onPageScrolled()
484 updateTextPositions(position, positionOffset, false); in onPageScrolled()
DPagerTabStrip.java284 void updateTextPositions(int position, float positionOffset, boolean force) { in updateTextPositions() argument
293 super.updateTextPositions(position, positionOffset, force); in updateTextPositions()
294 mTabAlpha = (int) (Math.abs(positionOffset - 0.5f) * 2 * 0xFF); in updateTextPositions()
DViewPager.java293 void onPageScrolled(int position, float positionOffset, @Px int positionOffsetPixels); in onPageScrolled() argument
323 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointCapture.cpp101 int64_t positionOffset = mmapFramesRead - clientFramesWritten; in callbackLoop() local
102 streamShared->setTimestampPositionOffset(positionOffset); in callbackLoop()
DAAudioServiceEndpointPlay.cpp112 int64_t positionOffset = mmapFramesWritten - clientFramesRead; in callbackLoop() local
113 streamShared->setTimestampPositionOffset(positionOffset); in callbackLoop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java121 float positionOffset = pageFraction - position; in computeScroll() local
122 mOnPageChangeListener.onPageScrolled(position, positionOffset, getScrollX()); in computeScroll()
353 public void onPageScrolled(int position, float positionOffset,
356 mPageIndicatorPosition = position + positionOffset;
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DPageIndicatorView.java519 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
522 if (positionOffset != 0) { in onPageScrolled()
/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
DFragmentNestingStatePagerSupport.java129 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
DFragmentNestingPagerSupport.java129 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
/frameworks/base/core/java/android/widget/
DDayPickerView.java414 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
415 final float alpha = Math.abs(0.5f - positionOffset) * 2.0f;
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentTabsPager.java160 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
DViewPagerActions.java90 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java681 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
682 if (positionOffset < 0.0001) { in onPageScrolled()
/frameworks/support/car/src/main/java/androidx/car/widget/
DPagedListView.java225 void setPositionOffset(int positionOffset); in setPositionOffset() argument
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java246 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels); in onPageScrolled() argument
276 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument