Searched refs:startIndex (Results 1 - 14 of 14) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControlWheel.java208 int startIndex = (mCurrentLevel == 0) ? 0 : mSecondLevelStartIndex;
213 if (mZoomControl != null) startIndex++;
220 if ((delta >= (mChildRadians[startIndex] - halfTouchSectorRadians)) &&
224 index = (int) ((delta - mChildRadians[startIndex])
227 if (index > sectors) return (startIndex + sectors);
229 if (index < 0) return startIndex;
231 if (delta <= (mChildRadians[startIndex + index]
233 return (startIndex + index);
235 if (delta >= (mChildRadians[startIndex + index + 1]
237 return (startIndex
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGesturePreviewTrail.java233 int startIndex;
234 for (startIndex = mTrailStartIndex; startIndex < trailSize; startIndex++) {
235 final int elapsedTime = sinceDown - eventTimes[startIndex];
241 mTrailStartIndex = startIndex;
243 if (startIndex < trailSize) {
248 w.p1x = getXCoordValue(xCoords[startIndex]);
249 w.p1y = yCoords[startIndex];
250 int lastTime = sinceDown - eventTimes[startIndex];
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DAttendeesView.java290 final int startIndex = 0;
293 addView(mDividerForYes, startIndex);
297 index = startIndex + mYes;
301 final int startIndex = (mYes == 0 ? 0 : 1 + mYes);
304 addView(mDividerForNo, startIndex);
308 index = startIndex + mNo;
312 final int startIndex = (mYes == 0 ? 0 : 1 + mYes) + (mNo == 0 ? 0 : 1 + mNo);
315 addView(mDividerForMaybe, startIndex);
319 index = startIndex + mMaybe;
323 final int startIndex
[all...]
/packages/inputmethods/LatinIME/native/jni/src/
H A Dproximity_info.cpp114 const int startIndex = getStartIndexFromCoordinates(x, y); local
116 AKLOGI("hasSpaceProximity: index %d, %d, %d", startIndex, x, y);
121 AKLOGI("Index: %d", mProximityCharsArray[startIndex + i]);
123 if (proximityCharsArray[startIndex + i] == KEYCODE_SPACE) {
177 const int startIndex = getStartIndexFromCoordinates(x, y); local
178 if (startIndex >= 0) {
180 const int32_t c = proximityCharsArray[startIndex + i];
H A Dunigram_dictionary.cpp109 const int startIndex = static_cast<int>(codesDest - codesBuffer); local
112 xCoordinatesBuffer[startIndex + i] = xcoordinates[codesBufferSize - codesRemain + i];
113 yCoordinatesBuffer[startIndex + i] = ycoordinates[codesBufferSize - codesRemain + i];
159 memcpy(&xCoordinatesBuffer[startIndex], &xcoordinates[codesBufferSize - codesRemain],
161 memcpy(&yCoordinatesBuffer[startIndex], &ycoordinates[codesBufferSize - codesRemain],
166 startIndex + codesRemain, bigramMap, bigramFilter, useFullEditDistance, correction,
H A Dproximity_info_state.h221 const size_t startIndex, int32_t *const filter, const int32_t filterSize) const;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMediaSet.java208 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { argument
216 consumer.consume(startIndex + start + i, item);
226 ItemConsumer consumer, int startIndex) {
228 start += enumerateMediaItems(consumer, startIndex);
232 consumer, startIndex + start);
225 enumerateTotalMediaItems( ItemConsumer consumer, int startIndex) argument
H A DClusterAlbum.java98 protected int enumerateMediaItems(ItemConsumer consumer, int startIndex) { argument
99 mDataManager.mapMediaItems(mPaths, consumer, startIndex);
H A DDataManager.java218 // startIndex).
220 int startIndex) {
234 group.add(new PathId(path, i + startIndex));
219 mapMediaItems(ArrayList<Path> list, ItemConsumer consumer, int startIndex) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DContactsBinaryDictionary.java189 * Returns the index of the last letter in the word, starting from position startIndex.
191 private static int getWordEndPosition(String string, int len, int startIndex) { argument
194 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) {
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java2316 int startIndex = -1;
2321 startIndex = 0;
2324 startIndex = todayIndex + 1;
2327 if (startIndex >= 0) {
2331 r.left = computeDayLeftPosition(startIndex) + 1;
2927 int startIndex = startDay - firstDay;
2939 event.left = computeDayLeftPosition(startIndex);
2948 incrementSkipCount(mSkippedAlldayEvents, startIndex, endIndex);
2952 incrementSkipCount(mSkippedAlldayEvents, startIndex, endIndex);
2998 private void incrementSkipCount(int[] counts, int startIndex, in argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizePagedView.java1076 int startIndex = page * numCells;
1077 int endIndex = Math.min(startIndex + numCells, mApps.size());
1083 for (int i = startIndex; i < endIndex; ++i) {
1093 int index = i - startIndex;
H A DLauncherModel.java1850 int startIndex;
1890 startIndex = i;
1923 Log.d(TAG, "batch of " + (i-startIndex) + " icons processed in "
/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java669 int startIndex = startRow * mColumns;
675 for (int i = startIndex; i < endIndex; i++) {

Completed in 2520 milliseconds