Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPatchCache.cpp155 BufferBlock* block = new BufferBlock(patch->positionOffset, patch->getSize()); in clearGarbage()
216 newMesh->positionOffset = (GLintptr) (block->offset); in setupMesh()
217 newMesh->textureOffset = newMesh->positionOffset + kMeshTextureOffset; in setupMesh()
218 glBufferSubData(GL_ARRAY_BUFFER, newMesh->positionOffset, size, newMesh->vertices.get()); in setupMesh()
271 dump.appendFormat("->(%d, %d)", block->positionOffset, block->size); in dumpFreeBlocks()
DPatch.h57 GLintptr positionOffset = 0; variable
DGlopBuilder.cpp224 (void*)patch.positionOffset, (void*)patch.textureOffset, nullptr, in setMeshPatchQuads()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java336 void updateTextPositions(int position, float positionOffset, boolean force) { in updateTextPositions() argument
339 } else if (!force && positionOffset == mLastKnownPositionOffset) { in updateTextPositions()
360 float currOffset = positionOffset + 0.5f; in updateTextPositions()
420 mLastKnownPositionOffset = positionOffset; in updateTextPositions()
482 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
483 if (positionOffset > 0.5f) { in onPageScrolled()
487 updateTextPositions(position, positionOffset, false); in onPageScrolled()
DPagerTabStrip.java280 void updateTextPositions(int position, float positionOffset, boolean force) { in updateTextPositions() argument
289 super.updateTextPositions(position, positionOffset, force); in updateTextPositions()
290 mTabAlpha = (int) (Math.abs(positionOffset - 0.5f) * 2 * 0xFF); in updateTextPositions()
DViewPager.java292 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels); in onPageScrolled() argument
322 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java52 public void onPageScrolled(int position, float positionOffset, in PagedTileLayout()
55 setCurrentPage(position, positionOffset != 0); in PagedTileLayout()
56 mPageIndicator.setLocation(position + positionOffset); in PagedTileLayout()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java398 public void setScrollPosition(int position, float positionOffset, boolean updateSelectedText) { in setScrollPosition() argument
399 setScrollPosition(position, positionOffset, updateSelectedText, true); in setScrollPosition()
402 private void setScrollPosition(int position, float positionOffset, boolean updateSelectedText, in setScrollPosition() argument
404 final int roundedPosition = Math.round(position + positionOffset); in setScrollPosition()
411 mTabStrip.setIndicatorPositionFromTabPosition(position, positionOffset); in setScrollPosition()
418 scrollTo(calculateScrollXForTab(position, positionOffset), 0); in setScrollPosition()
1173 private int calculateScrollXForTab(int position, float positionOffset) { in calculateScrollXForTab() argument
1183 + ((int) ((selectedWidth + nextWidth) * positionOffset * 0.5f)) in calculateScrollXForTab()
1841 void setIndicatorPositionFromTabPosition(int position, float positionOffset) { in setIndicatorPositionFromTabPosition() argument
1847 mSelectionOffset = positionOffset; in setIndicatorPositionFromTabPosition()
[all …]
/frameworks/base/core/java/android/widget/
DDayPickerView.java392 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
393 final float alpha = Math.abs(0.5f - positionOffset) * 2.0f;
/frameworks/support/v4/tests/java/android/support/v4/view/
DViewPagerActions.java88 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/base/core/java/com/android/internal/widget/
DViewPager.java272 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels); in onPageScrolled() argument
302 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { in onPageScrolled() argument