HomeSort by relevance Sort by last modified time
    Searched full:positionoffset (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextQuery.cpp 166 unsigned positionOffset = 0;
173 for (; textMetricsOffset < textMetricsSize && positionOffset < positionSize; ++textMetricsOffset) {
177 if (positionOffset < boxStart) {
178 positionOffset += metrics.length();
183 if (positionOffset >= boxStart + boxLength)
187 if (startPosition == static_cast<int>(positionOffset))
191 if (endPosition == static_cast<int>(positionOffset))
195 if (lastPositionOffset != -1 && lastPositionOffset - positionOffset > 1) {
196 if (alterStartPosition && startPosition > lastPositionOffset && startPosition < static_cast<int>(positionOffset)) {
201 if (alterEndPosition && endPosition > lastPositionOffset && endPosition < static_cast<int>(positionOffset)) {
    [all...]
  /developers/build/prebuilts/gradle/SlidingTabsBasic/SlidingTabsBasicSample/src/main/java/com/example/android/common/view/
SlidingTabLayout.java 236 private void scrollToTab(int tabIndex, int positionOffset) {
244 int targetScrollX = selectedChild.getLeft() + positionOffset;
246 if (tabIndex > 0 || positionOffset > 0) {
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
265 mTabStrip.onViewPagerPageChanged(position, positionOffset);
269 ? (int) (positionOffset * selectedTitle.getWidth())
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset,
SlidingTabStrip.java 110 void onViewPagerPageChanged(int position, float positionOffset) {
112 mSelectionOffset = positionOffset;
  /developers/build/prebuilts/gradle/SlidingTabsColors/SlidingTabsColorsSample/src/main/java/com/example/android/common/view/
SlidingTabLayout.java 236 private void scrollToTab(int tabIndex, int positionOffset) {
244 int targetScrollX = selectedChild.getLeft() + positionOffset;
246 if (tabIndex > 0 || positionOffset > 0) {
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
265 mTabStrip.onViewPagerPageChanged(position, positionOffset);
269 ? (int) (positionOffset * selectedTitle.getWidth())
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset,
SlidingTabStrip.java 110 void onViewPagerPageChanged(int position, float positionOffset) {
112 mSelectionOffset = positionOffset;
  /developers/samples/android/common/src/java/com/example/android/common/view/
SlidingTabLayout.java 236 private void scrollToTab(int tabIndex, int positionOffset) {
244 int targetScrollX = selectedChild.getLeft() + positionOffset;
246 if (tabIndex > 0 || positionOffset > 0) {
259 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
265 mTabStrip.onViewPagerPageChanged(position, positionOffset);
269 ? (int) (positionOffset * selectedTitle.getWidth())
274 mViewPagerPageChangeListener.onPageScrolled(position, positionOffset,
SlidingTabStrip.java 110 void onViewPagerPageChanged(int position, float positionOffset) {
112 mSelectionOffset = positionOffset;
  /external/replicaisland/src/com/replica/replicaisland/
Interpolator.java 72 float positionOffset = (oldVelocity * secondsDelta) + scaledAcceleration;
85 return positionOffset;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
GridCoordinate.h 54 size_t positionOffset = position.spanPosition() - 1;
56 size_t initialResolvedPosition = std::max<int>(0, resolvedOppositePosition - positionOffset);
60 return GridSpan::create(resolvedOppositePosition, resolvedOppositePosition + positionOffset);
  /frameworks/support/v4/java/android/support/v4/view/
PagerTitleStrip.java 332 void updateTextPositions(int position, float positionOffset, boolean force) {
335 } else if (!force && positionOffset == mLastKnownPositionOffset) {
356 float currOffset = positionOffset + 0.5f;
416 mLastKnownPositionOffset = positionOffset;
475 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
476 if (positionOffset > 0.5f) {
480 updateTextPositions(position, positionOffset, false);
PagerTabStrip.java 276 void updateTextPositions(int position, float positionOffset, boolean force) {
285 super.updateTextPositions(position, positionOffset, force);
286 mTabAlpha = (int) (Math.abs(positionOffset - 0.5f) * 2 * 0xFF);
  /packages/apps/Settings/src/com/android/settings/applications/
AppOpsSummary.java 74 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
  /external/chromium_org/third_party/WebKit/Source/core/editing/
FrameSelection.cpp 386 unsigned positionOffset = static_cast<unsigned>(position.offsetInContainerNode());
388 if (positionOffset >= offset && positionOffset <= offset + oldLength)
389 positionOffset = offset;
392 // (positionOffset > offset + oldLength) to avoid having a stale offset.
393 if (positionOffset > offset + oldLength)
394 positionOffset = positionOffset - oldLength + newLength;
396 ASSERT(positionOffset <= node->length());
399 return Position(toText(node), positionOffset);
    [all...]
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/java/com/example/android/actionbarcompat/shareactionprovider/
MainActivity.java 162 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/java/com/example/android/actionbarcompat/shareactionprovider/
MainActivity.java 162 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
  /development/samples/Support13Demos/src/com/example/android/supportv13/app/
ActionBarTabsPager.java 130 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
FragmentNestingPagerSupport.java 128 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
FragmentNestingStatePagerSupport.java 128 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentTabsPager.java 159 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
  /development/samples/browseable/ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/
MainActivity.java 162 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderListBox.cpp 554 IntSize positionOffset = roundedIntSize(destination - absPos);
559 if (positionOffset.height() < borderTop() + paddingTop() && scrollToRevealElementAtListIndex(offset - 1))
562 if (positionOffset.height() > height() - paddingBottom() - borderBottom() && scrollToRevealElementAtListIndex(offset + rows))
565 return listIndexAtOffset(positionOffset);
  /packages/apps/Browser/src/com/android/browser/
ComboViewActivity.java 207 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactActivity.java 728 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
729 renderSelectedRectangle(position, positionOffset);
732 private void renderSelectedRectangle(int position, float positionOffset) {
736 layoutParams.setMarginStart((int) ((position + positionOffset) * width));
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogActivity.java 100 int position, float positionOffset, int positionOffsetPixels) {}
  /packages/apps/Gallery2/src/com/android/photos/
GalleryActivity.java 143 public void onPageScrolled(int position, float positionOffset,

Completed in 1528 milliseconds

1 2 3