/external/bison/examples/calc++/ |
position.hh | 34 ** \file ../../../../examples/calc++/position.hh 35 ** Define the yy::position class. 56 #line 57 "../../../../examples/calc++/position.hh" 57 /// Abstract a position. 58 class position class in namespace:yy 62 /// Construct a position. 63 explicit position (std::string* f = YY_NULL, function in class:yy::position 99 /// File name to which this position refers. 107 /// Add and assign a position. 108 inline position [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
SkippingCipher.java | 18 * Reset the cipher and then skip forward to a given position. 20 * @param position the number of bytes in to set the cipher state to. 21 * @return the byte position moved to. 23 long seekTo(long position); 26 * Return the current "position" of the cipher 28 * @return the current byte position.
|
/frameworks/base/core/java/android/widget/ |
SectionIndexer.java | 29 * section/position. 49 * the starting position of that section within the adapter. 51 * If the section's starting position is outside of the adapter bounds, the 52 * position must be clipped to fall within the size of the adapter. 56 * @return the starting position of that section within the adapter, 62 * Given a position within the adapter, returns the index of the 69 * starts at adapter position 100. Calling this method with position 10, 72 * @param position the position within the adapter for which to return th [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
ScrollHandler.java | 30 * Perform smooth scroll to position. 32 void smoothScrollTo(int position);
|
/external/clang/test/PCH/ |
objcxx-ivar-class.h | 9 S position; variable 11 @property(assign, nonatomic) S position; variable 15 @synthesize position; variable
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
BitReaderBuffer.java | 9 int position; field in class:BitReaderBuffer 13 initialPos = buffer.position(); 17 byte b = buffer.get(initialPos + position / 8); 19 int left = 8 - position % 8; 22 rc = (v << (position % 8) & 0xFF) >> ((position % 8) + (left - i)); 23 position += i; 31 buffer.position(initialPos + (int) Math.ceil((double) position / 8)); 36 return position; [all...] |
/frameworks/compile/mclinker/include/mcld/MC/ |
InputAction.h | 32 unsigned int position() const { return m_Position; } function in class:mcld::InputAction 35 return (position() < pOther.position());
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
JavascriptTokenBuffer.java | 145 * <p>Position must be negative where -1 is the index of the last 148 * @param position The index into the buffer 152 public char getChar(int position) { 153 assert(position < 0); // Developer error if it triggers. 155 int absolutePosition = getAbsolutePosition(position); 164 * Sets the given {@code input} at the given {@code position} of the buffer. 171 * @param position The index at which to set the character 175 public boolean setChar(int position, char input) { 176 assert(position < 0); // Developer error if it triggers. 178 int absolutePosition = getAbsolutePosition(position); [all...] |
/external/webrtc/webrtc/common_audio/vad/ |
vad_sp.c | 64 int position = -1; local 94 // |smallest_values|. If so, find the |position| where to insert the new value 100 position = 0; 102 position = 1; 105 position = 2; 107 position = 3; 111 position = 4; 113 position = 5; 116 position = 6; 118 position = 7 [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
HeaderEntryContactListAdapter.java | 60 public View getView(int position, View convertView, ViewGroup parent) { 61 if (position == 0 && getHeaderEntryCount() > 0) { 74 return super.getView(position - getHeaderEntryCount(), convertView, parent); 78 public Object getItem(int position) { 79 return super.getItem(position - getHeaderEntryCount()); 83 public boolean isEnabled(int position) { 84 return position < getHeaderEntryCount() || super 85 .isEnabled(position - getHeaderEntryCount()); 89 public int getPartitionForPosition(int position) { 90 return super.getPartitionForPosition(position - getHeaderEntryCount()) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemFocusableAboveUnfocusable.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 41 if (position == 0) { 43 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 45 return super.createView(position, parent, desiredHeight);
|
ListInterleaveFocusables.java | 43 protected View createView(int position, ViewGroup parent, int desiredHeight) { 44 if (mFocusablePositions.contains(position)) { 46 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 48 return super.createView(position, parent, desiredHeight); 53 public int getItemViewType(int position) { 54 return mFocusablePositions.contains(position) ? 0 : 1;
|
/frameworks/support/v4/java/android/support/v4/view/animation/ |
LookupTableInterpolator.java | 46 int position = Math.min((int) (input * (mValues.length - 1)), mValues.length - 2); local 49 float quantized = position * mStepSize; 54 return mValues[position] + weight * (mValues[position + 1] - mValues[position]);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLBIOSink.java | 24 private int position; field in class:OpenSSLBIOSink 37 return buffer.size() - position; 42 position = 0; 47 position += maxLength; 48 if (position == buffer.size()) { 62 public int position() { method in class:OpenSSLBIOSink 63 return position;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
BidiViewPagerHelper.java | 51 private int clampToBounds(int position) { 52 return Math.max(0, Math.min(mViewPager.getAdapter().getCount() - 1, position)); 55 private int getBidiIndex(int position) { 57 return mViewPager.getAdapter().getCount() - 1 - position; 59 return position; 64 private int getIndexFromBidiIndex(int position) { 66 return getBidiIndex(position);
|
/external/smali/smali/src/main/java/org/jf/smali/ |
LiteralTools.java | 52 int position = 0; local 55 if (byteChars[position] == '-') { 56 position++; 60 if (byteChars[position] == '0') { 61 position++; 62 if (position == byteChars.length) { 64 } else if (byteChars[position] == 'x' || byteChars[position] == 'X') { 66 position++; 67 } else if (Character.digit(byteChars[position], 8) >= 0) 122 int position = 0; local 186 int position = 0; local 256 int position = 0; local [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
AutoScrollListView.java | 25 * position. This class takes advantage of similar functionality that exists 31 * Position the element at about 1/3 of the list height 51 * Brings the specified position to view by optionally performing a jump-scroll maneuver: 52 * first it jumps to some position near the one requested and then does a smooth 53 * scroll to the requested position. This creates an impression of full smooth 57 public void requestPositionToScreen(int position, boolean smoothScroll) { 58 mRequestedScrollPosition = position; 70 final int position = mRequestedScrollPosition; local 75 if (position >= firstPosition && position <= lastPosition) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidDoubleClickStrategy.java | 65 Point position = super.getWord(string, cursor); local 67 assert cursor >= position.x && cursor <= position.y; 71 if (string.startsWith(PREFIX_RESOURCE_REF, position.x) || 72 string.startsWith(PREFIX_THEME_REF, position.x)) { 73 int nameStart = string.indexOf('/', position.x + 1); 75 position.x = nameStart + 1; 76 return position; 83 if (lastDot >= position.x && lastDot < position.y - 1) [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
CompositeListAdapter.java | 144 public Object getItem(int position) { 149 if (position >= start && position < end) { 150 return mAdapters[i].getItem(position - start); 155 throw new ArrayIndexOutOfBoundsException(position); 158 public long getItemId(int position) { 163 if (position >= start && position < end) { 164 return mAdapters[i].getItemId(position - start); 169 throw new ArrayIndexOutOfBoundsException(position); [all...] |
SingleItemAdapter.java | 31 public Object getItem(int position) { 35 public long getItemId(int position) { 39 public View getView(int position, View convertView, ViewGroup parent) {
|
/external/ceres-solver/internal/ceres/ |
block_structure.h | 51 Block() : size(-1), position(-1) {} 52 Block(int size_, int position_) : size(size_), position(position_) {} 55 int position; // Position along the row/column. member in struct:ceres::internal::Block 59 Cell() : block_id(-1), position(-1) {} 61 : block_id(block_id_), position(position_) {} 66 int position; member in struct:ceres::internal::Cell
|
/external/libcxx/test/std/re/re.results/re.results.acc/ |
position.pass.cpp | 14 // difference_type position(size_type sub = 0) const; 25 assert(m.position() == std::distance(s, m[0].first)); 26 assert(m.position(0) == std::distance(s, m[0].first)); 27 assert(m.position(1) == std::distance(s, m[1].first)); 28 assert(m.position(2) == std::distance(s, m[2].first)); 29 assert(m.position(3) == std::distance(s, m[3].first)); 30 assert(m.position(4) == std::distance(s, m[4].first));
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/util/ |
SortedListAdapterCallback.java | 41 public void onInserted(int position, int count) { 42 mAdapter.notifyItemRangeInserted(position, count); 46 public void onRemoved(int position, int count) { 47 mAdapter.notifyItemRangeRemoved(position, count); 56 public void onChanged(int position, int count) { 57 mAdapter.notifyItemRangeChanged(position, count);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.results/re.results.acc/ |
position.pass.cpp | 14 // difference_type position(size_type sub = 0) const; 25 assert(m.position() == std::distance(s, m[0].first)); 26 assert(m.position(0) == std::distance(s, m[0].first)); 27 assert(m.position(1) == std::distance(s, m[1].first)); 28 assert(m.position(2) == std::distance(s, m[2].first)); 29 assert(m.position(3) == std::distance(s, m[3].first)); 30 assert(m.position(4) == std::distance(s, m[4].first));
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
CheckBroker.java | 37 public void onCheckedChanged(int position, boolean isChecked); 42 public abstract void setItemChecked(int position, boolean checked); 44 public void onCheckedChange(int position, boolean checked) { 45 if (isItemChecked(position) != checked) { 47 l.onCheckedChanged(position, checked); 58 public abstract boolean isItemChecked(int position);
|