/frameworks/rs/driver/ |
H A D | rsdVertexArray.h | 39 uint32_t size; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_allocation.c | 51 static void memcpy(void* dst, const void* src, size_t size) { argument 54 for (; size > 0; size--) { 143 #define SET_ELEMENT_AT_IMPL_TYPE_SIZE(typename, size) \ 146 typename* val_ptr = (typename*)rsOffset(a, size, x, y, z); \ 150 #define GET_ELEMENT_AT_IMPL_TYPE_SIZE(typename, size) \ 153 typename *val_ptr = (typename*)rsOffset(a, size, x, y, z); \
|
H A D | rs_sample.c | 298 static uint32_t wrapI(rs_sampler_value wrap, int32_t coord, int32_t size) { argument 300 coord = coord % size; 302 coord += size; 306 coord = coord % (size * 2); 308 coord = (size * 2) + coord; 310 if (coord >= size) { 311 coord = (size * 2 - 1) - coord; 314 return (uint32_t)max(0, min(coord, size - 1));
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | DrawView.java | 129 public void movePoint(float[] imgMoveList, int size) { argument 130 if (len + size * 2 >= path.length) { 131 path = Arrays.copyOf(path, 2 * (len + size * 2)); 133 for (int i = size * 2 - 2; i >= 0; i -= 2) {
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_reduce.java | 249 private boolean addint1D_array(RenderScript RS, ScriptC_reduce s, int seed, int[] size) { argument 250 final int[] input = createInputArrayInt(size[0], seed, Integer.MAX_VALUE / size[0]); 255 return result("addint1D_array", new timing(size[0]), javaRslt, rsRslt); 258 private boolean addint1D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) { argument 259 final int[] inputArray = createInputArrayInt(size[0], seed, Integer.MAX_VALUE / size[0]); 286 private boolean addint2D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) { argument 287 final int dimX = size[0]; 288 final int dimY = size[ 319 addint3D(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 443 findMinAndMax_array(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 458 findMinAndMax(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 544 findMinMat2(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 549 findMinMat4(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 563 fz_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 578 fz(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 614 fz2(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 658 fz3(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 730 histogram_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 741 histogram(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 812 mode_array(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 843 sumgcd(RenderScript RS, ScriptC_reduce s, int seed, int size[]) argument 918 run(RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument 975 run(TestDescription td, RenderScript RS, ScriptC_reduce s, int seed, int[] size) argument [all...] |
/frameworks/rs/ |
H A D | rsClosure.cpp | 47 uintptr_t value, int size) { 48 ((Closure*)closure)->setArg(index, (const void*)value, size); 53 int size) { 55 value, size); 144 void Closure::setArg(const uint32_t index, const void* value, const int size) { argument 149 const int size) { 150 mGlobals[fieldID] = make_pair(value, size); 46 rsi_ClosureSetArg(Context* rsc, RsClosure closure, uint32_t index, uintptr_t value, int size) argument 51 rsi_ClosureSetGlobal(Context* rsc, RsClosure closure, RsScriptFieldID fieldID, int64_t value, int size) argument 148 setGlobal(const ScriptFieldID* fieldID, const int64_t value, const int size) argument
|
H A D | rsList.h | 115 size_t size() const { return _size; } function in class:android::renderscript::List
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ShadowDrawableWrapper.java | 77 * If shadow size is set to a value above max shadow, we print a warning 125 throw new IllegalArgumentException("invalid shadow size"); 337 public void setShadowSize(float size) { argument 338 setShadowSize(size, mRawMaxShadowSize); 341 public void setMaxShadowSize(float size) { argument 342 setShadowSize(mRawShadowSize, size);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 54 * <p>Floating action buttons come in two sizes: the default and the mini. The size can be 107 * Size which will change based on the window size. For small sized windows 109 * larger sized windows it will select a larger size. 367 * Sets the size of the button. 371 * an appropriate size based on the screen size.</p> 373 * @param size one of {@link #SIZE_NORMAL}, {@link #SIZE_MINI} or {@link #SIZE_AUTO} 377 public void setSize(@Size int size) { argument 378 if (size != mSize) { 379 mSize = size; 419 getSizeDimension(@ize final int size) argument [all...] |
/frameworks/support/design/tests/src/android/support/design/testutils/ |
H A D | FloatingActionButtonActions.java | 81 public static ViewAction setSize(@FloatingActionButton.Size final int size) { argument 90 return "Sets FloatingActionButton size"; 98 fab.setSize(size);
|
H A D | TestUtilsMatchers.java | 86 * Returns a matcher that matches TextViews with the specified text size. 102 "text size " + ourTextSize + " is different than expected " + textSize; 292 public static Matcher withFabContentHeight(final int size) { argument 311 return area.height() == size;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneFactory.java | 340 * @param size the number of lines to maintain in this category 342 public static void addLocalLog(String key, int size) { argument 347 sLocalLogs.put(key, new LocalLog(size));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | TextAttribute.java | 29 public FontSize size; field in class:TextAttribute 37 FontSize size, boolean bold, boolean italic, boolean underlined, 42 this.size = size; 36 TextAttribute(int start, int length, TextAlignment align, FontSize size, boolean bold, boolean italic, boolean underlined, boolean strikeThrough, TextColor color) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccFileHandler.java | 51 // size of GET_RESPONSE for EF's 78 /** Finished retrieving size of transparent EF; start loading. */ 82 /** Finished retrieving size of records for linear-fixed EF; now load. */ 86 /** Finished retrieving record size; post result. */ 92 /** Finished retrieving size of record for EFimg now. */ 214 * get record size for a linear fixed EF 233 * get record size for a linear fixed EF 296 * Load first @size bytes from SIM Transparent EF 299 * @param size 305 public void loadEFTransparent(int fileid, int size, Messag argument [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | AbstractCache.java | 42 if (mCacheMap.size() >= MAX_CACHED_ITEMS) { 46 Log.v(TAG, "Failed! size limitation reached."); 57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total."); 90 Log.v(TAG, mCacheMap.size() + " items cached."); 98 Log.v(TAG, "Purging cache, " + mCacheMap.size() 104 public int size() { method in class:AbstractCache 105 return mCacheMap.size();
|
H A D | DrmConvertSession.java | 79 * @param size The number of bytes that shall be converted. 83 public byte [] convert(byte[] inBuffer, int size) { argument 88 if (size != inBuffer.length) { 89 byte[] buf = new byte[size]; 90 System.arraycopy(inBuffer, 0, buf, 0, size);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneData.java | 98 public int size() { method in class:TimeZoneData 99 return mTimeZones.size(); 182 mTimeZonesById = new HashMap<String, TimeZoneInfo>(mTimeZones.size()); 261 Log.e(TAG, "Total number of tz's = " + mTimeZones.size());
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ScanDetailCache.java | 80 int size() { method in class:ScanDetailCache 81 return mMap.size(); 85 return size() == 0; 102 * Method to reduce the cache to the given size by removing the oldest entries. 104 * @param num int target cache size 107 int currentSize = mMap.size(); 112 if (list.size() != 0) { 139 if (list.size() != 0) { 304 if (list.size() > 0) {
|
H A D | WifiLogger.java | 89 /** minimum buffer size for each of the log levels */ 212 for (int i = 0; i < mLastAlerts.size(); i++) { 219 for (int i = 0; i < mLastBugReports.size(); i++) { 270 for (int i = 0; i < kernelLogLines.size(); i++) { 278 for (int i = 0; i < logcatLines.size(); i++) { 289 int size = 0; 291 size += buffers[i].length; 294 byte[] buffer = new byte[size]; 337 if (mArrayList.size() >= mMax) 342 public final int size() { method in class:WifiLogger.LimitedCircularArray [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | Constants.java | 172 public static long getInteger(ByteBuffer payload, ByteOrder bo, int size) { argument 173 byte[] octets = new byte[size];
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | IconEvent.java | 8 public IconEvent(long bssid, String fileName, int size) { argument 11 mSize = size; 31 ", size=" + mSize;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | BackgroundScanScheduler.java | 69 // anecdotally, some chipsets will fail without explanation with a higher batch size, and 70 // there is apparently no way to retrieve the maximum batch size 204 for (int i = 0; i < mScanSettingsList.size(); ++i) { 293 public int size() { method in class:BackgroundScanScheduler.BucketList 350 // TODO: find a way to get max batch size 439 schedule.num_buckets = bucketList.size(); 440 schedule.buckets = new WifiNative.BucketSettings[bucketList.size()]; 476 if (hiddenNetworkIdSet.size() > 0) { 477 schedule.hiddenNetworkIds = new int[hiddenNetworkIdSet.size()]; 592 currentBucketSettings.channels = new WifiScanner.ChannelSpec[currentBucketChannels.size()]; [all...] |
H A D | SupplicantWifiScannerImpl.java | 542 for (int i = 0; i < nativeResults.size(); ++i) { 575 backgroundScanResults.size())]; 593 && (mBackgroundScanBuffer.size() 597 || mBackgroundScanBuffer.size() 628 singleScanResults.toArray(new ScanResult[singleScanResults.size()])); 635 ScanResult[] pnoScanResultsArray = new ScanResult[hwPnoScanResults.size()]; 838 public int size() { method in class:SupplicantWifiScannerImpl.ScanBuffer 839 return mBuffer.size(); 847 return size() == mCapacity; 862 return mBuffer.toArray(new WifiScanner.ScanData[mBuffer.size()]); [all...] |
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_WifiNative.cpp | 42 #define REPLY_BUF_SIZE 4096 + 1 // wpa_supplicant's maximum size + 1 for nul 1500 ALOGD("Maximum APF program size: %d", max_len); 1770 /* ALOGD("on_ring_buffer_data called, vm = %p, obj = %p, env = %p buffer size = %d", mVM, 1932 const size_t dump_size = state_dump_buffer_local.size(); 2479 int size = klogctl(/* SYSLOG_ACTION_SIZE_BUFFER */ 10, 0, 0); local 2480 if (size < 1) { 2485 char *buf = (char *)malloc(size); 2491 int read = klogctl(/* SYSLOG_ACTION_READ_ALL */ 3, buf, size); 2500 if (read != size) { 2501 ALOGV("read %d bytes, expecting %d", read, size); [all...] |
H A D | jni_helper.cpp | 146 bool JNIHelper::getStringFieldValue(jobject obj, const char *name, char *buf, int size) argument 165 if (*utf != 0 && size < 1) { 169 strncpy(buf, utf, size); 170 if (size > 0) { 171 buf[size - 1] = 0; 244 void JNIHelper::getByteArrayField(jobject obj, const char *name, byte* buf, int size) { argument 264 memcpy(buf, elem, size);
|