Home
last modified time | relevance | path

Searched refs:fCurrIndex (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/views/
DSkListView.cpp214 fCurrIndex = -1;
246 if (fCurrIndex != index)
249 fCurrIndex = index;
266 int index = fCurrIndex;
279 int index = fCurrIndex;
291 if (this->getRowRect(fCurrIndex, &r))
300 if ((unsigned)fCurrIndex < (unsigned)fSource->countRows())
302 int index = this->logicalToVisualIndex(fCurrIndex);
307 fScrollIndex = fCurrIndex;
309 fScrollIndex = fCurrIndex - fVisibleRowCount + 1;
[all …]
DSkListWidget.cpp28 fCurrIndex = -1; // index of "selected" cell in SkListView()
74 if (fCurrIndex != index) in setSelection()
80 fCurrIndex = index; in setSelection()
90 int index = fCurrIndex; in moveSelectionUp()
96 if (fCurrIndex != index) in moveSelectionUp()
109 int index = fCurrIndex; in moveSelectionDown()
115 if (fCurrIndex != index) in moveSelectionDown()
127 if (this->getRowRect(fCurrIndex, &r)) in invalSelection()
133 if (fSource && (unsigned)fCurrIndex < (unsigned)fSource->countRecords()) in ensureSelectionIsVisible()
135 int index = this->logicalToVisualIndex(fCurrIndex); in ensureSelectionIsVisible()
[all …]
/external/skia/samplecode/
DSampleImageDir.cpp134 int fCurrIndex; member in ImageDirView
182 fCurrIndex = 0; in ImageDirView()
274 canvas->drawBitmap(fBitmaps[fCurrIndex], x, y, &paint); in onDraw()
277 fCurrIndex += 1; in onDraw()
278 if (fCurrIndex >= fBitmapCount) { in onDraw()
279 fCurrIndex = 0; in onDraw()
288 fCurrIndex += 1; in onFindClickHandler()
289 if (fCurrIndex >= fBitmapCount) in onFindClickHandler()
290 fCurrIndex = 0; in onFindClickHandler()
DSampleFilter2.cpp31 int fCurrIndex; member in Filter2View
47 fCurrIndex = 0; in Filter2View()
61 str.append(gNames[fCurrIndex]); in onQuery()
DSampleApp.cpp705 fCurrIndex = 0; in SampleWindow()
707 fCurrIndex = findByTitle(argv[1]); in SampleWindow()
708 if (fCurrIndex < 0) { in SampleWindow()
714 fCurrIndex = findByTitle(title.c_str()); in SampleWindow()
718 if (fCurrIndex < 0) { in SampleWindow()
719 fCurrIndex = 0; in SampleWindow()
721 this->loadView((*fSamples[fCurrIndex])()); in SampleWindow()
1297 fCurrIndex = (fCurrIndex - 1 + fSamples.count()) % fSamples.count(); in previousSample()
1298 SkView* view = (*fSamples[fCurrIndex])(); in previousSample()
1306 fCurrIndex = (fCurrIndex + 1) % fSamples.count(); in nextSample()
[all …]
DSampleApp.h124 int fCurrIndex; variable
/external/skia/src/images/
DSkMovie_gif.cpp31 int fCurrIndex; member in SkGIFMovie
52 fCurrIndex = -1; in SkGIFMovie()
104 fCurrIndex = i; in onSetTime()
105 return fLastDrawIndex != fCurrIndex; in onSetTime()
108 fCurrIndex = fGIF->ImageCount - 1; in onSetTime()
350 if (fLastDrawIndex >= 0 && fLastDrawIndex == fCurrIndex) { in onGetBitmap()
370 } else if (startIndex > fCurrIndex) { in onGetBitmap()
375 int lastIndex = fCurrIndex; in onGetBitmap()
/external/skia/include/views/
DSkWidget.h355 int getSelection() const { return fCurrIndex; } in getSelection()
399 int fCurrIndex; // logical index variable
427 int getSelection() const { return fCurrIndex; } in getSelection()
455 int fCurrIndex; // logical index variable
DSkWidgetViews.h223 int getSelection() const { return fCurrIndex; } in getSelection()
282 int16_t fScrollIndex, fCurrIndex; variable
/external/skia/src/core/
DSkDraw.cpp2065 fCurrIndex = 0; in VertState()
2078 int fCurrIndex; member
2090 int index = state->fCurrIndex; in Triangles()
2097 state->fCurrIndex = index + 3; in Triangles()
2103 int index = state->fCurrIndex; in TrianglesX()
2110 state->fCurrIndex = index + 3; in TrianglesX()
2115 int index = state->fCurrIndex; in TriangleStrip()
2127 state->fCurrIndex = index + 1; in TriangleStrip()
2133 int index = state->fCurrIndex; in TriangleStripX()
2145 state->fCurrIndex = index + 1; in TriangleStripX()
[all …]