Searched defs:index (Results 251 - 275 of 355) sorted by relevance

<<1112131415

/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
H A DExoPlayerSampleExtractor.java367 private void queueSample(int index, ConditionVariable conditionVariable) argument
371 if (index != mVideoTrackIndex) {
387 mPendingSamples.add(new Pair<>(index, sample));
403 && mVideoTrackIndex != index) {
423 mSampleBuffer.writeSample(index, mSampleHolder, conditionVariable);
468 public void selectTrack(int index) { argument
469 mSampleBuffer.selectTrack(index);
473 public void deselectTrack(int index) { argument
474 mSampleBuffer.deselectTrack(index);
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
H A DSampleChunkIoHelper.java99 private final int index; field in class:SampleChunkIoHelper.IoParams
105 private IoParams(int index, long positionUs, SampleHolder sample, argument
108 this.index = index;
182 * @param index track index
185 public SampleHolder readSample(int index) { argument
186 SampleHolder sample = mReadSampleBuffers[index].poll();
187 mIoHandler.sendMessage(mIoHandler.obtainMessage(MSG_READ, index));
194 * @param index trac
199 writeSample(int index, SampleHolder sample, ConditionVariable conditionVariable) argument
215 openRead(int index, long positionUs) argument
227 closeRead(int index) argument
340 doOpenWrite(int index) argument
346 doCloseRead(int index) argument
357 doRead(int index) argument
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DCharMatcher.java705 void set(char index) { argument
706 data[index >> 5] |= (1 << index);
708 boolean get(char index) { argument
709 return (data[index >> 5] & (1 << index)) != 0;
755 * Returns the index of the first matching character in a character sequence,
762 * @return an index, or {@code -1} if no character matches
775 * Returns the index of the first matching character in a character sequence,
783 * @param start the first index t
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DWordComposer.java473 void addInputPointerForTest(int index, int keyX, int keyY) { argument
474 mInputPointers.addPointerAt(index, keyX, keyY, 0, 0);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dtrie_map.cpp58 int index = readEmptyTableLink(i); local
59 while (index != ROOT_BITMAP_ENTRY_INDEX) {
60 index = readField0(index);
278 * @param bitmapEntryIndex the index of bitmap entry
306 * @param bitmapEntryIndex the index of bitmap entry
345 * @param conflictedEntryIndex the index of existing conflicted entry
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DOpenWnnEngineJAJP.java197 * @param index Index of a candidate.
200 private WnnWord getCandidate(int index) { argument
213 while (index >= mConvResult.size()) {
257 if (index >= mConvResult.size()) {
260 return (WnnWord)mConvResult.get(index);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnDictionaryImpl.java382 public int setDictionary(int index, int base, int high ) { argument
384 switch( index ) {
402 return OpenWnnDictionaryImplJni.setDictionaryParameter( this.mWnnWork, index, base, high );
873 for( int index = 0 ; index < word.length ; index++ ) {
874 if( word[index].stroke.length() > 0 && word[index].stroke.length() <= MAX_STROKE_LENGTH &&
875 word[index].candidate.length() > 0 && word[index]
[all...]
H A DTextCandidates1LineViewManager.java127 /** Now focus textView index */
678 int index = isStart ? 0 : (mCurrentFocusIndex + direction);
680 if (index < 0) {
681 index = size - 1;
683 if (index >= size) {
684 index = 0;
688 mCurrentFocusIndex = index;
718 public WnnWord getWnnWord(int index) { argument
719 return mWnnWordArray.get(index);
/packages/services/Car/car-lib/src/android/car/media/
H A DCarAudioManager.java245 * Sets the volume index for a particular stream.
249 * @param streamType The stream whose volume index should be set.
250 * @param index The volume index to set. See
256 public void setStreamVolume(int streamType, int index, int flags) argument
259 mService.setStreamVolume(streamType, index, flags);
285 * Returns the maximum volume index for a particular stream.
289 * @param stream The stream type whose maximum volume index is returned.
290 * @return The maximum valid volume index for the stream.
303 * Returns the minimum volume index fo
[all...]
/packages/services/Car/service/src/com/android/car/
H A DCarVolumeControllerFactory.java110 public void setStreamVolume(int stream, int index, int flags) { argument
112 Log.d(CarLog.TAG_AUDIO, "setStreamVolume " + stream + " " + index + " " + flags);
114 mAudioManager.setStreamVolume(stream, index, flags);
211 // events from HAL (context and volume index must match).
448 public void setStreamVolume(int stream, int index, int flags) { argument
462 Log.d(TAG, "Receive setStreamVolume logical stream: " + stream + " index: "
463 + index + " flags: " + flags + " maps to car context: " + carContext);
465 setStreamVolumeInternalLocked(carContext, index, flags);
469 private void setStreamVolumeInternalLocked(int carContext, int index, int flags) { argument
475 if (index > limi
[all...]
H A DGarageModeService.java141 final int index = mSharedPreferences.getInt(KEY_GARAGE_MODE_INDEX, 0);
144 mGarageModeIndex = index;
237 private void writeToPref(int index) { argument
239 editor.putInt(KEY_GARAGE_MODE_INDEX, index);
268 abstract public int getNextWakeUpTime(int index, int hour, int min); argument
297 {7 /*index <= 7*/, 1 /* wake up the next day */},
298 {11 /* 7 < index <= 11 */, 7 /* wake up the next week */},
299 {Integer.MAX_VALUE /* index > 11 */, 30 /* wake up the next month */}
303 public int getNextWakeUpTime(int index, int hour, int min) { argument
305 if (index <
[all...]
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hfpclient.cpp236 static void current_calls_cb(const RawAddress* bd_addr, int index, argument
248 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onCurrentCalls, index, dir,
618 jint index) {
628 (const RawAddress*)addr, (bthf_client_call_action_t)action, (int)index);
616 handleCallActionNative(JNIEnv* env, jobject object, jbyteArray address, jint action, jint index) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetPhoneState.java448 public HeadsetClccResponse(int index, int direction, int status, int mode, boolean mpty, argument
450 mIndex = index;
/packages/apps/Camera2/src/com/android/camera/data/
H A DCameraFilmstripDataAdapter.java86 public AsyncTask updateMetadataAt(int index) { argument
87 return updateMetadataAt(index, false);
90 private AsyncTask updateMetadataAt(int index, boolean forceItemUpdate) { argument
92 result.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, index);
97 public boolean isMetadataUpdatedAt(int index) { argument
98 if (index < 0 || index >= mFilmstripItems.size()) {
101 return mFilmstripItems.get(index).getMetadata().isLoaded();
105 public int getItemViewType(int index) { argument
106 if (index <
114 getItemAt(int index) argument
127 getFilmstripItemAt(int index) argument
138 getView(View recycled, int index, VideoClickedCallback videoClickedCallback) argument
160 removeAt(int index) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifTag.java788 protected long getValueAt(int index) { argument
790 return ((long[]) mValue)[index];
792 return ((byte[]) mValue)[index];
825 protected Rational getRational(int index) { argument
830 return ((Rational[]) mValue)[index];
/packages/apps/Car/Hvac/src/com/android/car/hvac/
H A DHvacController.java325 int index = fanPositionToAirflowIndex(position);
326 boolean shouldPropagate = mDataStore.shouldPropagateFanPositionUpdate(zone, index);
659 public void setAirflowIndex(final int zone, final int index) { argument
660 mDataStore.setAirflow(zone, index);
662 int val = AIRFLOW_STATES[index];
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculatorExpr.java58 * Retrieve the expression corresponding to index.
60 CalculatorExpr getExpr(long index); argument
62 * Retrieve the degree mode associated with the expression at index i.
64 boolean getDegreeMode(long index); argument
66 * Retrieve the stored result for the expression at index, or return null.
68 UnifiedReal getResult(long index); argument
74 UnifiedReal putResultIfAbsent(long index, UnifiedReal result); argument
321 * cache the result. The expression corresponding to the index can be obtained through
331 PreEval(long index, String shortRep) { argument
332 mIndex = index;
628 abbreviate(long index, String sr) argument
1064 nestedEval(long index, ExprResolver er) argument
[all...]
H A DExpressionDB.java21 // either just below the current minimum (negative) index, or just above the current
22 // maximum index. Currently no rows are deleted unless we clear the whole table.
28 // a positive index, and a flag indicates whether the expression is displayed as part of
30 // with a negative index. It would also make it easy to sort expressions in dependency order,
135 // We may eventually need an index by timestamp. We don't use it yet.
171 // If higher layers refer to an index outside this range, it will already be cached.
180 // Minimum index value in DB.
182 // Maximum index value in DB.
188 // Expression index corresponding to a zero absolute offset for mAllCursor.
199 // Expressions with index [MAXIMUM_MIN_INDE
227 inAccessibleRange(long index) argument
527 getRowDirect(long index) argument
565 getRow(long index) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DImageGallery.java97 // The index of the first picture in GridViewSpecial.
629 public void onImageClicked(int index) { argument
630 if (index < 0 || index >= mAllImages.getCount()) {
633 mSelectedIndex = index;
634 mGvs.setSelectedIndex(index);
636 IImage image = mAllImages.getImageAt(index);
661 public void onImageTapped(int index) { argument
663 // the selection box by setting the selected index to none. However, if
664 // we use the dpad center key, we will keep the selected index i
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifTag.java788 protected long getValueAt(int index) { argument
790 return ((long[]) mValue)[index];
792 return ((byte[]) mValue)[index];
825 protected Rational getRational(int index) { argument
830 return ((Rational[]) mValue)[index];
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumPage.java123 public Rect getPosition(int index) {
124 Rect rect = mSlotView.getSlotRect(index);
238 private void onDown(int index) { argument
239 mAlbumView.setPressedIndex(index);
479 public void onDown(int index) {
480 AlbumPage.this.onDown(index);
H A DAlbumSetPage.java287 private void onDown(int index) { argument
288 mAlbumSetView.setPressedIndex(index);
498 public void onDown(int index) {
499 AlbumSetPage.this.onDown(index);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSetSlidingWindow.java302 private void uploadBackgroundTextureInSlot(int index) { argument
303 if (index < mContentStart || index >= mContentEnd) return;
304 AlbumSetEntry entry = mData[index % mData.length];
363 public void onContentChanged(int index) { argument
370 if (index < mContentStart || index >= mContentEnd) {
373 index, mContentStart, mContentEnd) );
377 AlbumSetEntry entry = mData[index % mData.length];
378 updateAlbumSetEntry(entry, index);
[all...]
H A DGLView.java131 // Returns the children for the given index.
132 public GLView getComponent(int index) { argument
134 throw new ArrayIndexOutOfBoundsException(index);
136 return mComponents.get(index);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayout.java101 public boolean addViewToCellLayout(View child, int index, int childId, argument
115 mChildren.addView(child, index, lp);
129 public void removeViewOnPageAt(int index) { argument
130 mChildren.removeViewAt(index);
343 /** Returns an estimated center position of the cell at the specified index */

Completed in 5728 milliseconds

<<1112131415