/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/tools/layoutlib/bridge/src/libcore/io/ |
H A D | MemoryMappedFile_Delegate.java | 86 Long index = sMemoryMappedFileMap.get(thisFile); 87 if (index != null) { 89 sManager.removeJavaReferenceFor(index); 114 Long index = sMemoryMappedFileMap.get(file); 115 return index == null ? null : sManager.getDelegate(index);
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduBody.java | 92 * @param index index at which the specified part is to be inserted 96 public void addPart(int index, PduPart part) { argument 102 mParts.add(index, part); 108 * @param index index of the part to return 109 * @return part at the specified index 111 public PduPart removePart(int index) { argument 112 return mParts.remove(index); 125 * @param index inde 128 getPart(int index) argument [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityEventCompat.java | 31 Object getRecord(AccessibilityEvent event, int index); argument 44 public Object getRecord(AccessibilityEvent event, int index) { argument 72 public Object getRecord(AccessibilityEvent event, int index) { argument 73 return AccessibilityEventCompatIcs.getRecord(event, index); 261 * Gets the record at a given index. 263 * @param index The index. 264 * @return The record at the specified index. 266 public static AccessibilityRecordCompat getRecord(AccessibilityEvent event, int index) { argument 267 return new AccessibilityRecordCompat(IMPL.getRecord(event, index)); [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | VolumeCurve.h | 36 CurvePoint(int index, int attenuationInMb) : argument 37 mIndex(index), mAttenuationInMb(attenuationInMb) {} 49 // a given volume index from 0 to 100 100 void addCurrentVolumeIndex(audio_devices_t device, int index) { mIndexCur.add(device, index); } argument 128 ssize_t index = indexOfKey(deviceCategory); local 129 if (index < 0) { 134 return index; 146 KeyedVector<audio_devices_t, int> mIndexCur; /**< current volume index per device. */ 147 int mIndexMin; /**< min volume index 177 addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device, int index) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 87 int index = findRememberedWifiDisplay(deviceAddress); 88 if (index >= 0) { 89 return mRememberedWifiDisplays.get(index); 104 int index = findRememberedWifiDisplay(display.getDeviceAddress()); 105 if (index >= 0) { 106 alias = mRememberedWifiDisplays.get(index).getDeviceAlias(); 137 int index = findRememberedWifiDisplay(display.getDeviceAddress()); 138 if (index >= 0) { 139 WifiDisplay other = mRememberedWifiDisplays.get(index); 143 mRememberedWifiDisplays.set(index, displa [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidedActionAdapterGroup.java | 71 // for ACTION_ID_NEXT, we first find out the matching index in Actions list. 72 int index = 0; 74 index = adapter.indexOf(action); 75 if (index < 0) { 79 index++; 85 while (index < size && !adapter.getItem(index).isFocusable()) { 86 index++; 89 while (index < size && adapter.getItem(index) [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | SoftAACEncoder.h | 39 OMX_INDEXTYPE index, OMX_PTR params); 42 OMX_INDEXTYPE index, const OMX_PTR params);
|
H A D | SoftAACEncoder2.h | 38 OMX_INDEXTYPE index, OMX_PTR params); 41 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
H A D | SoftAMR.h | 35 OMX_INDEXTYPE index, OMX_PTR params); 38 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
H A D | SoftAMRNBEncoder.h | 36 OMX_INDEXTYPE index, OMX_PTR params); 39 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
H A D | SoftAMRWBEncoder.h | 41 OMX_INDEXTYPE index, OMX_PTR params); 44 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
H A D | SoftG711.h | 35 OMX_INDEXTYPE index, OMX_PTR params); 38 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
H A D | SoftGSM.h | 39 OMX_INDEXTYPE index, OMX_PTR params); 42 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
H A D | SoftMP3.h | 37 OMX_INDEXTYPE index, OMX_PTR params); 40 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
H A D | SoftVorbis.h | 38 OMX_INDEXTYPE index, OMX_PTR params); 41 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AAtomizer.cpp | 41 size_t index = AAtomizer::Hash(name) % n; local 42 List<AString> &entry = mAtoms.editItemAt(index);
|
/frameworks/av/media/libstagefright/include/ |
H A D | AACExtractor.h | 35 virtual sp<IMediaSource> getTrack(size_t index); 36 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
|
H A D | AMRExtractor.h | 35 virtual sp<IMediaSource> getTrack(size_t index); 36 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPSession.h | 36 sp<MediaSource> trackAt(size_t index); 61 bool validateMediaFormat(size_t index, unsigned *port) const;
|
/frameworks/av/media/mtp/ |
H A D | MtpPacket.h | 57 uint32_t getParameter(int index) const; 58 void setParameter(int index, uint32_t value);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 70 * as a 1D array. The float at index i represents the grayscale 87 * as a 1D array. The float at index i represents the grayscale 139 for (int index = 0; index < count; index++) { 140 final GestureStroke stroke = strokes.get(index); 219 int index = yCeiling * sampleSize + xCeiling; 220 if (sample[index] < 1){ 221 sample[index] = 1; 235 int index [all...] |
/frameworks/base/core/java/android/security/net/config/ |
H A D | DirectoryCertificateSource.java | 143 for (int index = 0; index >= 0; index++) { 144 String fileName = hash + "." + index; 167 for (int index = 0; index >= 0; index++) { 168 String fileName = hash + "." + index;
|
/frameworks/base/core/java/android/widget/ |
H A D | TextSwitcher.java | 61 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 67 super.addView(child, index, params);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboardView.java | 49 for (int index : indices) { 50 invalidateKey(index);
|