/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorToolbar.java | 85 void setDropdownSelectedPosition(int position); argument
|
H A D | LinearLayoutManager.java | 83 * We need to track this so that we can ignore current position when it changes. 116 * When LayoutManager needs to scroll to a position, it sets this variable and requests a 133 * Anchor position and coordinate defines the reference point for LLM while doing a layout. 324 * will do its best to keep scroll position. 392 public View findViewByPosition(int position) { argument 398 final int viewPosition = position - firstChild; 401 if (getPosition(child) == position) { 406 return super.findViewByPosition(position); 439 int position) { 442 linearSmoothScroller.setTargetPosition(position); 438 smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) argument 993 scrollToPosition(int position) argument 1021 scrollToPositionWithOffset(int position, int offset) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.cpp | 71 * For each outline vertex, we need to store the position and normal. 75 Vector2 position; member in struct:android::uirenderer::OutlineData 343 * @param outline The result which is the outline position. 406 projectCasterToOutline(outlineData[polyLength - 1].position, lightCenter, 414 float ratioZ = projectCasterToOutline(outlineData[i].position, 419 outlineData[currentNormalIndex].position, 420 outlineData[nextNormalIndex].position); 492 penumbra[penumbraIndex++] = outlineData[i].position + 523 float distOutline = (outlineData[i].position - outlineCentroid).length(); 539 umbra[i] = outlineData[i].position * ratioI [all...] |
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoLand.java | 214 public void onBindViewHolder(final CatHolder holder, int position) { argument 217 holder.imageView.setImageIcon(mCats[position].createIcon(context, size, size)); 218 holder.textView.setText(mCats[position].getName()); 237 .setTitle(getString(R.string.confirm_delete, mCats[position].getName()))
|
/frameworks/base/services/net/java/android/net/netlink/ |
H A D | NetlinkSocket.java | 127 byteBuffer.position(0);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockCursor.java | 172 public boolean moveToPosition(int position) { argument
|
/frameworks/base/tests/net/java/android/net/netlink/ |
H A D | NetlinkSocketTest.java | 64 assertEquals(0, response.position());
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | I18NameTest.java | 82 buffer.position(0);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
H A D | PhotoViewFragment.java | 89 protected final static String ARG_POSITION = "arg-position"; 142 * @param position 146 Intent intent, int position, boolean onlyShowSpinner) { 148 initializeArguments(intent, position, onlyShowSpinner, f); 153 Intent intent, int position, boolean onlyShowSpinner, PhotoViewFragment f) { 156 b.putInt(ARG_POSITION, position); 532 // If the cursor changes, and new items are added at an earlier position than 534 // try to find a photo with the same url and move the cursor to that position. 145 newInstance( Intent intent, int position, boolean onlyShowSpinner) argument 152 initializeArguments( Intent intent, int position, boolean onlyShowSpinner, PhotoViewFragment f) argument
|
/frameworks/support/dynamic-animation/src/android/support/animation/ |
H A D | FlingAnimation.java | 227 public float getAcceleration(float position, float velocity) { argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | AbstractMediaItemPresenter.java | 369 * Flips to the view at index 'position'. This position corresponds to the index of a 372 * @param position The index of the child view to display. 374 public void setSelectedMediaItemNumberView(int position) { argument 375 if (position >= 0 && position < mMediaItemNumberViewFlipper.getChildCount()) { 376 mMediaItemNumberViewFlipper.setDisplayedChild(position);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarDrawerToggle.java | 391 * Specifies whether the drawer arrow should animate when the drawer position changes. 512 private void setPosition(float position) { argument 513 if (position == 1f) { 515 } else if (position == 0f) { 518 mSlider.setProgress(position);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | DecorToolbar.java | 83 void setDropdownSelectedPosition(int position); argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewLayoutTest.java | 281 int position) { 282 super.onBindViewHolder(holder, position); 329 int position) { 330 super.onBindViewHolder(holder, position); 574 public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {} 751 public void onBindViewHolder(TestViewHolder holder, int position) { 752 super.onBindViewHolder(holder, position); 780 public void onBindViewHolder(TestViewHolder holder, int position) { 781 super.onBindViewHolder(holder, position); 1068 public void scrollToPosition(int position) { 4471 onBindViewHolder(TestViewHolder2 holder, int position) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | LinearLayoutManager.java | 87 * We need to track this so that we can ignore current position when it changes. 120 * When LayoutManager needs to scroll to a position, it sets this variable and requests a 137 * Anchor position and coordinate defines the reference point for LLM while doing a layout. 328 * will do its best to keep scroll position. 396 public View findViewByPosition(int position) { argument 402 final int viewPosition = position - firstChild; 405 if (getPosition(child) == position) { 410 return super.findViewByPosition(position); 443 int position) { 446 linearSmoothScroller.setTargetPosition(position); 442 smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) argument 998 scrollToPosition(int position) argument 1026 scrollToPositionWithOffset(int position, int offset) argument [all...] |
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 87 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { 88 return onSetPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position); 86 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 85 sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) { 87 ->setPlaybackStatus(mUniqueId, decryptHandle, playbackStatus, position); 84 setPlaybackStatus( sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position) argument
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 65 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position); 277 * @param[in] position Position in the file (in milliseconds) where the start occurs. 283 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) = 0; 378 * @param[in] offset Start position of the content 393 * @param[in] offset Start position of the content 518 * @param[in] offset Offset with which to update the file position.
|
/frameworks/base/core/java/android/widget/ |
H A D | TextInputTimePickerView.java | 121 public void onItemSelected(AdapterView<?> adapterView, View view, int position, 123 if (position == 0) {
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePickerWithRegion.java | 198 // Save scroll position 206 public void onListItemClick(ListView l, View v, int position, long id) { argument 208 (LocaleStore.LocaleInfo) getListAdapter().getItem(position); 253 // Restore previous scroll position
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSignatureSpiBase.java | 294 off = input.arrayOffset() + input.position(); 295 input.position(input.limit());
|
/frameworks/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 164 mBuffer.position(0); 246 mBuffer.position(0);
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ManualActivity.java | 171 int position, long id) { 172 DisplayModifier.setIndex(mIndex, position);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HwTests.java | 147 protected void onListItemClick(ListView l, View v, int position, long id) { argument 148 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | MainActivity.java | 44 public void onListItemClick(ListView l, View v, int position, long id) { argument 45 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position);
|