/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2StillCaptureTest.java | 604 private boolean isRegionsSupportedFor3A(int index) { argument 606 switch (index) { 617 throw new IllegalArgumentException("Unknown algorithm index"); 620 if (index == MAX_REGIONS_AF_INDEX && isRegionsSupported) {
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
H A D | TestSelectionEnvironment.java | 75 public Rect getAbsoluteRectForChildViewAt(int index) { argument 80 public int getAdapterPositionAt(int index) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | ColorAndAppearanceFragment.java | 153 private void bindView(View view, final int index) { argument 156 seekBar.setProgress((int) (1000 * mValues[index])); 160 mValues[index] = progress / 1000f;
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | FileA3D.java | 35 * index entries for all the objects stored inside it. 71 * objects inside the file's index. It could be used to query the 85 * Returns the name of a renderscript object the index entry 88 * @return name of a renderscript object the index entry 98 * Returns the type of a renderscript object the index entry 100 * @return type of a renderscript object the index entry 109 * Used to load the object described by the index entry 120 * Used to load the mesh described by the index entry, object 121 * described by the index entry must be a renderscript mesh 157 IndexEntry(RenderScript rs, int index, lon argument 215 getIndexEntry(int index) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | histogram.cpp | 88 int index = static_cast<int>(s * sScaler) * hBins + static_cast<int>(h * hScaler); local 89 histOut[index] += 1.0f; 115 int index; local 119 // Shifting hue index by 0.5 such that peaks of red, yellow, green, cyan, blue, pink 122 index = sIndex * hueBins + hIndex; 124 index = hueBins * saturationBins + (v * valueBins / 256); 126 histOut[index] += 1.0f;
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | DisplayModifier.java | 54 int index; 55 for (index = 0; index < gTriPts.length; index++) { 56 gLinePts[index] = gTriPts[index]; 60 gLinePts[index + 0] = 150; 61 gLinePts[index + 1] = val; 62 gLinePts[index + 2] = 300; 63 gLinePts[index 425 getMapAtIndex(int index) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | StringPool.h | 100 size_t index; member in class:aapt::StringPool::Entry
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | BridgeRenderSession.java | 116 public Result insertChild(Object parentView, ILayoutPullParser childXml, int index, argument 126 mLastResult = mSession.insertChild((ViewGroup) parentView, childXml, index, 139 public Result moveChild(Object parentView, Object childView, int index, argument 152 mLastResult = mSession.moveChild((ViewGroup) parentView, (View) childView, index,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeLayoutParamsMapAttributes.java | 59 public String getAttributeName(int index) { argument 64 public String getAttributeValue(int index) { argument 74 public int getAttributeNameResource(int index) { argument 115 public int getAttributeListValue(int index, argument 121 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { argument 126 public int getAttributeResourceValue(int index, int defaultValue) { argument 131 public int getAttributeIntValue(int index, int defaultValue) { argument 136 public int getAttributeUnsignedIntValue(int index, int defaultValue) { argument 141 public float getAttributeFloatValue(int index, float defaultValue) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | CustomBar.java | 101 protected void loadIcon(int index, String iconName, Density density) { argument 102 loadIcon(index, iconName, density, false); 105 protected void loadIcon(int index, String iconName, Density density, boolean isRtl) { argument 106 View child = getChildAt(index); 138 protected TextView setText(int index, String string, boolean reference) { argument 139 View child = getChildAt(index);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 112 * Removes the mapping at the specified index. 114 public void removeAt(int index) { argument 115 if (mValues[index] != DELETED) { 116 mValues[index] = DELETED; 191 * Given an index in the range <code>0...size()-1</code>, returns 192 * the key from the <code>index</code>th key-value mapping that this 195 public long keyAt(int index) { argument 200 return mKeys[index]; 204 * Given an index in the range <code>0...size()-1</code>, returns 205 * the value from the <code>index</cod 208 valueAt(int index) argument 221 setValueAt(int index, E value) argument [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
H A D | UI.java | 260 public Component getListCellRendererComponent(JList<?> list, Object value, int index, argument 264 return super.getListCellRendererComponent(list, s, index, isSelected, cellHasFocus);
|
/frameworks/base/tools/split-select/ |
H A D | RuleGenerator.cpp | 35 sp<Rule> RuleGenerator::generateDensity(const Vector<int>& allDensities, size_t index) { argument 36 if (allDensities[index] != ResTable_config::DENSITY_ANY) { 51 if (index > 0) { 55 gt->longArgs.add(findMid(allDensities[index - 1], allDensities[index]) - 1); 59 if (index + 1 < allDensities.size() && allDensities[index + 1] != ResTable_config::DENSITY_ANY) { 63 lt->longArgs.add(findMid(allDensities[index], allDensities[index + 1])); 76 sp<Rule> RuleGenerator::generateAbi(const Vector<abi::Variant>& splitAbis, size_t index) { argument 98 generate(const SortedVector<SplitDescription>& group, size_t index) argument [all...] |
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | CallbackRegistry.java | 52 * The lowest significant bit corresponds to the 0th index into mCallbacks. 165 * @param remainderIndex The index into mRemainderRemoved that should be notified. 191 * @param startIndex The index into the mCallbacks to start notifying. 192 * @param endIndex One past the last index into mCallbacks to notify. 213 int index = mCallbacks.lastIndexOf(callback); 214 if (index < 0 || isRemoved(index)) { 220 * Returns true if the callback at index has been marked for removal. 222 * @param index The index int 225 isRemoved(int index) argument 284 setRemovalBit(int index) argument [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
H A D | ModelMethod.java | 102 private ModelClass getParameter(int index, ModelClass[] parameterTypes) { argument 104 if (index < normalParamCount) { 105 return parameterTypes[index];
|
/frameworks/native/opengl/libagl/ |
H A D | Tokenizer.cpp | 129 ssize_t Tokenizer::_insertTokenAt(uint32_t token, size_t index) argument 133 if (index >= 1) { 135 run_t& p = mRanges.editItemAt(index-1); 138 if (index < c) { 139 const run_t& n = mRanges[index]; 142 mRanges.removeItemsAt(index); 145 return index; 149 if (index < c) { 151 run_t& n = mRanges.editItemAt(index); 155 return index; [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
H A D | JFunc.java | 76 public String getBufferArgName(int index) { argument 77 return bufferArgNames.get(index); 109 public String getArgName(int index) { argument 110 return argNames.get(index); 113 public JType getArgType(int index) { argument 114 return argTypes.get(index); 117 public int getArgCIndex(int index) { argument 118 return argCIndices.get(index).intValue();
|
/frameworks/native/services/sensorservice/ |
H A D | RingBuffer.h | 145 * Return a reference to the element at a given index. If the index is out of range for 148 T& operator[](size_t index); 151 * Return a const reference to the element at a given index. If the index is out of range 154 const T& operator[](size_t index) const; 329 T& RingBuffer<T>::operator[](size_t index) { argument 330 LOG_ALWAYS_FATAL_IF(index >= mBuffer.size(), "Index %zu out of bounds, size is %zu.", 331 index, mBuffer.size()); 332 size_t pos = (index > [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorPickerPalette.java | 147 private void setSwatchDescription(int rowNumber, int index, int rowElements, boolean selected, argument 150 if (contentDescriptions != null && contentDescriptions.length > index) { 151 description = contentDescriptions[index]; 156 accessibilityIndex = index + 1;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseCursorPagerAdapter.java | 207 protected String makeFragmentName(int viewId, int index) { argument 208 if (moveCursorTo(index)) { 211 return super.makeFragmentName(viewId, index);
|
H A D | BaseFragmentPagerAdapter.java | 170 protected String makeFragmentName(int viewId, int index) { argument 171 return "android:switcher:" + viewId + ":" + index;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DriverCall.java | 40 public int index; field in class:DriverCall 60 // index,isMT,state,mode,isMpty(,number,TOA)? 64 ret.index = p.nextInt(); 107 return "id=" + index + "," 148 /** For sorting by index */ 153 if (index < dc.index) { 155 } else if (index == dc.index) { 157 } else { /*index > d [all...] |
H A D | TelephonyDevController.java | 202 * get modem at index 'index'. 204 public HardwareConfig getModem(int index) { argument 211 if (index > getModemCount()) { 212 loge("getModem: out-of-bounds access for modem device " + index + " max: " + getModemCount()); 216 if (DBG) logd("getModem: " + index); 217 return mModems.get(index); 233 * get sim at index 'index'. 235 public HardwareConfig getSim(int index) { argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaInboundSmsHandler.java | 262 int index = 0; 264 int msgType = (0xFF & pdu[index++]); 269 int totalSegments = (0xFF & pdu[index++]); // >= 1 270 int segment = (0xFF & pdu[index++]); // >= 0 282 sourcePort = (0xFF & pdu[index++]) << 8; 283 sourcePort |= 0xFF & pdu[index++]; 284 destinationPort = (0xFF & pdu[index++]) << 8; 285 destinationPort |= 0xFF & pdu[index++]; 289 if (checkDuplicatePortOmadmWapPush(pdu, index)) { 290 index 323 checkDuplicatePortOmadmWapPush(byte[] origPdu, int index) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SuppServiceNotification.java | 31 /** TS 27.007 7.17 "index" */ 32 public int index; field in class:SuppServiceNotification 69 + " index: " + index
|