Searched refs:size (Results 151 - 175 of 2722) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DSpace.java72 * If mode is AT_MOST, return the child size instead of the parent size
75 private static int getDefaultSize2(int size, int measureSpec) { argument
76 int result = size;
82 result = size;
85 result = Math.min(size, specSize);
/frameworks/base/libs/androidfw/
H A DTypeWrappers.cpp37 + dtohl(type->header.size);
60 } else if (reinterpret_cast<uintptr_t>(entry) + dtohs(entry->size) > containerEnd) {
63 } else if (dtohs(entry->size) < sizeof(*entry)) {
64 ALOGE("Entry at index %u is too small (%u)", mIndex, dtohs(entry->size));
/frameworks/base/libs/hwui/
H A DPatchCache.cpp38 INIT_LOGD(" Setting patch cache size to %skB", property);
41 INIT_LOGD(" Using default patch cache size of %.2fkB", DEFAULT_PATCH_CACHE_SIZE);
124 size_t count = mGarbage.size();
141 size_t count = mGarbage.size();
154 for (size_t i = 0; i < patchesToRemove.size(); i++) {
170 if (patchesToRemove.size() > 0) {
192 uint32_t size = newMesh->getSize(); local
193 if (mSize + size > mMaxSize) {
203 if (block->size >= size) {
[all...]
H A DLayerCache.cpp37 INIT_LOGD(" Setting layer cache size to %sMB", property);
40 INIT_LOGD(" Using default layer cache size of %.2fMB", DEFAULT_LAYER_CACHE_SIZE);
53 return mCache.size();
92 size_t count = mCache.size();
137 size_t size = mCache.size(); local
138 for (size_t i = 0; i < size; i++) {
140 LAYER_LOGD(" Layer size %dx%d", entry.mWidth, entry.mHeight);
147 const uint32_t size = layer->getWidth() * layer->getHeight() * 4; local
149 if (size < mMaxSiz
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSimpleCache.java36 return super.size() > mMaxEntries;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DTransform.java54 if (mChildren.size() != 0) {
56 mChildren.size());
59 Allocation[] childrenAllocs = new Allocation[mChildren.size()];
60 for (int i = 0; i < mChildren.size(); i ++) {
/frameworks/base/tools/aapt/
H A Dpseudolocalize.cpp113 if (result.size() < length) {
115 result += pseudo_generate_expansion(length - result.size());
119 for (unsigned int i = length + 1; i < result.size(); ++i) {
141 const size_t I = source.size();
251 for (size_t i=0; i<source.size(); i++) {
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DSymbolResolverProxy.cpp23 for (size_t i = 0; i < mChain.size(); i++) {
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DNullFragment.h27 /// size -
28 size_t size() const { return 0x0; } function in class:mcld::NullFragment
/frameworks/compile/mclinker/unittests/
H A DStringTableTest.cpp46 int size = 127-32; local
53 ASSERT_EQ(m_pTestee->size(), size);
76 ASSERT_EQ(m_pTestee->size(), 1);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DVerticalGridView.java53 int size;
55 size = array.getDimensionPixelSize(R.styleable.lbVerticalGridView_columnWidth, 0);
57 size = array.getInt(R.styleable.lbVerticalGridView_columnWidth, 0);
59 setColumnWidth(size);
73 * @param width May be WRAP_CONTENT, or a size in pixels. If zero,
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/
H A DParcelableCompatCreatorCallbacks.java42 * @param size Size of the array.
46 public T[] newArray(int size); argument
/frameworks/support/v4/java/android/support/v4/util/
H A DContainerHelpers.java45 static int binarySearch(int[] array, int size, int value) { argument
47 int hi = size - 1;
64 static int binarySearch(long[] array, int size, long value) { argument
66 int hi = size - 1;
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DSpace.java66 * If mode is AT_MOST, return the child size instead of the parent size
69 private static int getDefaultSize2(int size, int measureSpec) { argument
70 int result = size;
76 result = size;
79 result = Math.min(size, specSize);
/frameworks/wilhelm/src/android/include/
H A DAacBqToPcmCbRenderer.h44 static SLresult validateBufferStartEndOnFrameBoundaries(void* data, size_t size);
/frameworks/av/media/libstagefright/foundation/
H A DABitReader.cpp23 ABitReader::ABitReader(const uint8_t *data, size_t size) argument
25 mSize(size),
105 NALBitReader::NALBitReader(const uint8_t *data, size_t size) argument
106 : ABitReader(data, size),
111 // check against raw size and reservoir bits first
119 size_t size = mSize; local
122 while (size > 0 && numBitsRemaining > 0) {
136 --size;
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeUtils.java42 if (array.size() == 0) {
47 for (int i = 0; i < array.size(); ++i) {
89 if (array.size() != otherArray.size()) {
94 for (int i = 0; i < array.size(); ++i) {
113 if (map.size() != otherMap.size()) {
/frameworks/base/core/java/android/content/res/
H A DConfigurationBoundResourceCache.java112 final int size = mCache.size();
113 for (int i = size - 1; i >= 0; i--) {
117 if (themeCache.size() == 0) {
127 final int size = themeCache.size();
128 for (int i = size - 1; i >= 0; i--) {
/frameworks/base/libs/hwui/thread/
H A DTaskManager.cpp47 for (size_t i = 0; i < mThreads.size(); i++) {
53 return mThreads.size() > 0;
57 for (size_t i = 0; i < mThreads.size(); i++) {
63 if (mThreads.size() > 0) {
69 for (size_t i = 0; i < mThreads.size(); i++) {
101 for (size_t i = 0; i < tasks.size(); i++) {
123 return mTasks.size();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java60 return mConnections.size() > 1;
105 for (int i = 0, s = mConnections.size() ; i < s; i ++) {
128 if (mConnections.size() == 0) {
154 return mConnections.size() == CdmaCallTracker.MAX_CONNECTIONS_PER_CALL;
167 for (int i = 0, s = mConnections.size(); i < s; i++) {
179 for (int i = mConnections.size() - 1 ; i >= 0 ; i--) {
187 if (mConnections.size() == 0) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCall.java62 return mConnections.size() > 1;
107 for (int i = 0, s = mConnections.size() ; i < s; i ++) {
129 if (mConnections.size() == 0) {
155 return mConnections.size() == GsmCallTracker.MAX_CONNECTIONS_PER_CALL;
168 for (int i = 0, s = mConnections.size()
183 for (int i = mConnections.size() - 1 ; i >= 0 ; i--) {
191 if (mConnections.size() == 0) {
/frameworks/rs/cpp/
H A DElement.cpp27 if (!mVisibleElementMap.size()) {
31 if (index >= mVisibleElementMap.size()) {
39 if (!mVisibleElementMap.size()) {
43 if (index >= mVisibleElementMap.size()) {
51 if (!mVisibleElementMap.size()) {
55 if (index >= mVisibleElementMap.size()) {
63 if (mVisibleElementMap.size()) {
67 if (index >= mVisibleElementMap.size()) {
148 if (!mElements.size()) {
154 size_t fieldCount = mElementNames.size();
244 Element(void *id, android::RSC::sp<RS> rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size) argument
279 createVector(android::RSC::sp<RS> rs, RsDataType dt, uint32_t size) argument
323 int size = 1; local
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DLearning_StochasticLinearRanker.java53 String[] keys_1 = new String[temp_1.size()];
54 float[] values_1 = new float[temp_1.size()];
55 for (int i = 0; i < temp_1.size(); i++){
60 String[] keys_2 = new String[temp_2.size()];
61 float[] values_2 = new float[temp_2.size()];
62 for (int i = 0; i < temp_2.size(); i++){
77 String[] keys = new String[temp.size()];
78 float[] values = new float[temp.size()];
79 for (int i = 0; i < temp.size(); i++){
91 for (int i = 0; i < temp.size();
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferConsumer.cpp88 static void writeBoolAsInt(void*& buffer, size_t& size, bool b) { argument
89 FlattenableUtils::write(buffer, size, static_cast<int32_t>(b));
92 static bool readBoolFromInt(void const*& buffer, size_t& size) { argument
94 FlattenableUtils::read(buffer, size, i);
99 void*& buffer, size_t& size, int*& fds, size_t& count) const {
102 if (size < BufferItem::getFlattenedSize()) {
110 FlattenableUtils::advance(buffer, size, sizeof(uint32_t));
114 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count);
116 size -= FlattenableUtils::align<4>(buffer);
120 status_t err = mFence->flatten(buffer, size, fd
98 flatten( void*& buffer, size_t& size, int*& fds, size_t& count) const argument
145 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h78 return map.size();
92 if (map.size() > index) {
152 int size = map.size(); local
154 for (int i = 0; i < size; i++) {

Completed in 657 milliseconds

1234567891011>>