Searched refs:set (Results 126 - 150 of 1704) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/utiltests/src/android/util/
H A DLongArrayTest.java49 a.set(5, 10);
60 a.set(14, 30);
65 a.set(0, 10);
H A DMemoryIntArrayTest.java59 array.set(0, 1);
60 array.set(1, 2);
61 array.set(2, 3);
103 firstArray.set(0, 1);
104 firstArray.set(1, 2);
105 firstArray.set(2, 3);
148 array.set(0, 1);
188 array.set(-1, 0);
195 array.set(3, 0);
226 remoteIntArray.set(
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DShader.java52 * Current matrix - always set to null if local matrix is identity.
85 localM.set(mLocalMatrix);
109 mLocalMatrix.set(localM);
149 dest.mLocalMatrix.set(mLocalMatrix);
H A DOutline.java85 set(src);
156 public void set(@NonNull Outline src) { method in class:Outline
162 mPath.set(src.mPath);
164 mRect.set(src.mRect);
200 mRect.set(left, top, right, bottom);
212 * Populates {@code outBounds} with the outline bounds, if set, and returns
213 * {@code true}. If no outline bounds are set, or if a path has been set
216 * @param outRect the rect to populate with the outline bounds, if set
218 * bounds, or {@code false} if no outline bounds are set
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DWindowManagerProxy.java68 mTmpRect1.set(mDockedRect);
69 mTmpRect2.set(mTempDockedTaskRect);
70 mTmpRect3.set(mTempDockedInsetRect);
71 mTmpRect4.set(mTempOtherTaskRect);
72 mTmpRect5.set(mTempOtherInsetRect);
139 mTmpRect1.set(mTouchableRegion);
144 Log.w(TAG, "Failed to set touchable region: " + e);
159 mDockedRect.set(docked);
161 mTempDockedTaskRect.set(tempDockedTaskRect);
166 mTempDockedInsetRect.set(tempDockedInsetRec
[all...]
/frameworks/native/include/binder/
H A DPersistableBundle.h21 #include <set>
84 std::set<String16> getBooleanKeys() const;
85 std::set<String16> getIntKeys() const;
86 std::set<String16> getLongKeys() const;
87 std::set<String16> getDoubleKeys() const;
88 std::set<String16> getStringKeys() const;
89 std::set<String16> getBooleanVectorKeys() const;
90 std::set<String16> getIntVectorKeys() const;
91 std::set<String16> getLongVectorKeys() const;
92 std::set<String1
[all...]
/frameworks/native/libs/binder/include/binder/
H A DPersistableBundle.h21 #include <set>
84 std::set<String16> getBooleanKeys() const;
85 std::set<String16> getIntKeys() const;
86 std::set<String16> getLongKeys() const;
87 std::set<String16> getDoubleKeys() const;
88 std::set<String16> getStringKeys() const;
89 std::set<String16> getBooleanVectorKeys() const;
90 std::set<String16> getIntVectorKeys() const;
91 std::set<String16> getLongVectorKeys() const;
92 std::set<String1
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.h21 #include <set>
63 const std::set<hwc2_layer_t>* clientLayers,
64 const std::set<hwc2_layer_t>* clearLayers);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DRectUtils.java53 fullRect.set((int) fullRectF.left, (int) fullRectF.top, (int) fullRectF.right,
55 partialRect.set((int) partialRectF.left, (int) partialRectF.top, (int) partialRectF.right,
64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom);
/frameworks/rs/script_api/
H A DUtilities.h21 #include <set>
42 // Adds a string to a set. Return true if it was already in.
43 bool testAndSet(const std::string& flag, std::set<std::string>* set);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DColorMatrix.java44 m.set(1, 0, 0.2f);
45 m.set(1, 1, 0.9f);
46 m.set(1, 2, 0.2f);
H A DUsageIO.java44 m.set(1, 0, 0.2f);
45 m.set(1, 1, 0.9f);
46 m.set(1, 2, 0.2f);
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DHelper.java40 * {@code cmd autofill set log_level debug}.
46 * {@code cmd autofill set log_level verbose}.
53 * <p>Can be modified using {@code cmd autofill set max_partitions}.
84 static AutofillId[] toArray(@Nullable ArraySet<AutofillId> set) { argument
85 if (set == null) return null;
87 final AutofillId[] array = new AutofillId[set.size()];
88 for (int i = 0; i < set.size(); i++) {
89 array[i] = set.valueAt(i);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DRevealActivity.java93 AnimatorSet set = new AnimatorSet();
94 set.playTogether(animator);
95 set.setDuration(DURATION);
96 set.addListener(mListener);
97 set.start();
/frameworks/base/tools/aapt/
H A DResourceFilter.h11 #include <set>
81 explicit StrongResourceFilter(const std::set<ConfigDescription>& configs)
87 std::set<ConfigDescription>::const_iterator iter = mConfigs.begin();
96 inline const std::set<ConfigDescription>& getConfigs() const {
101 std::set<ConfigDescription> mConfigs;
H A DApkBuilder.cpp27 mSplits.add(new ApkSplit(std::set<ConfigDescription>(), mDefaultFilter, true));
30 status_t ApkBuilder::createSplitForConfigs(const std::set<ConfigDescription>& configs) {
33 const std::set<ConfigDescription>& splitConfigs = mSplits[i]->getConfigs();
34 std::set<ConfigDescription>::const_iterator iter = configs.begin();
81 ApkSplit::ApkSplit(const std::set<ConfigDescription>& configs, const sp<ResourceFilter>& filter, bool isBase)
83 std::set<ConfigDescription>::const_iterator iter = configs.begin();
120 std::set<OutputEntry>::const_iterator iter = mFiles.begin();
/frameworks/base/tools/preload2/src/com/android/preload/actions/
H A DShowDataAction.java75 private void add(StringBuilder builder, String head, Set<String> set) { argument
78 addSet(builder, set);
82 private void addSet(StringBuilder builder, Set<String> set) { argument
83 if (set == null) {
87 List<String> sorted = new ArrayList<>(set);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleBackground.java104 final AnimatorSet set = new AnimatorSet();
112 final AnimatorSet.Builder builder = set.play(exit);
126 return set;
131 final RenderNodeAnimatorSet set = new RenderNodeAnimatorSet();
154 set.add(exit);
162 set.add(enter);
165 return set;
H A DRippleForeground.java142 bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
190 final AnimatorSet set = new AnimatorSet();
191 set.play(tweenOrigin).with(tweenRadius).with(opacity);
193 return set;
259 final AnimatorSet set = new AnimatorSet();
260 set.play(tweenOrigin).with(tweenRadius).with(opacity);
261 set.addListener(mAnimationListener);
263 return set;
312 final RenderNodeAnimatorSet set = new RenderNodeAnimatorSet();
313 set
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java96 mTargetRect.set(initialBounds);
99 mSystemInsets.set(systemInsets);
100 mStableInsets.set(stableInsets);
101 mOldSystemInsets.set(systemInsets);
102 mOldStableInsets.set(stableInsets);
164 mTargetRect.set(newTargetBounds);
165 mSystemInsets.set(systemInsets);
166 mStableInsets.set(stableInsets);
179 mOldTargetRect.set(0, 0, 0, 0);
247 mNewTargetRect.set(mTargetRec
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DMbmsDownloadSession.java101 * Indicates the location of the successfully downloaded file within the temp file root set
107 * Will always be set to a non-null value if
108 * {@link #EXTRA_MBMS_DOWNLOAD_RESULT} is set to {@link #RESULT_SUCCESSFUL}.
259 sIsInitialized.set(false);
283 sIsInitialized.set(false);
290 sIsInitialized.set(false);
295 sIsInitialized.set(false);
303 sIsInitialized.set(false);
306 mService.set(downloadService);
311 sIsInitialized.set(fals
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHotplugDetectionAction.java187 BitSet set = new BitSet(NUM_OF_ADDRESS);
191 set.set(info.getLogicalAddress());
194 set.set(info.getLogicalAddress());
197 return set;
201 BitSet set = new BitSet(NUM_OF_ADDRESS);
203 set.set(value);
205 return set;
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStats.java54 /** {@link #set} value for all sets combined, not including debug sets. */
56 /** {@link #set} value where background data is accounted. */
58 /** {@link #set} value where foreground data is accounted. */
60 /** All {@link #set} value greater than SET_DEBUG_START are debug {@link #set} values. */
62 /** Debug {@link #set} value when the VPN stats are moved in. */
64 /** Debug {@link #set} value when the VPN stats are moved out of a vpn UID. */
101 private int[] set; field in class:NetworkStats
114 public int set; field in class:NetworkStats.Entry
143 public Entry(String iface, int uid, int set, in argument
149 Entry(String iface, int uid, int set, int tag, int metered, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
303 addValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
310 addValues(String iface, int uid, int set, int tag, int metered, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
406 combineValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
447 findIndex(String iface, int uid, int set, int tag, int metered, int roaming) argument
463 findIndexHinted(String iface, int uid, int set, int tag, int metered, int roaming, int hintIndex) argument
816 setToString(int set) argument
836 setToCheckinString(int set) argument
[all...]
/frameworks/av/media/libstagefright/foundation/tests/
H A DAData_test.cpp175 data.set(5);
180 data.set(6.0f);
189 objdata.set(buf);
197 objdata.set(obj); // storing as sp<RefBase>
241 EXPECT_TRUE(u.set<int>(4));
253 EXPECT_TRUE(u.set<int>(5));
254 EXPECT_TRUE(u.set<int>(6));
258 EXPECT_TRUE(u.set<const char *>("hello"));
269 EXPECT_TRUE(u.set<const char *>("world"));
270 EXPECT_TRUE(u.set<cons
280 void set(std::unique_ptr<int> &dst, std::unique_ptr<int> &&src) { function
284 void set(std::unique_ptr<int> &dst, std::unique_ptr<int> &src) { function
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteDialogHelper.java39 * The framework should set the dialog width properly, but somehow it doesn't work, hence
71 * Compares two lists and returns a set of items which exist
76 * @return A set of items which contains newly added items while
80 HashSet<E> set = new HashSet<>(after);
81 set.removeAll(before);
82 return set;
86 * Compares two lists and returns a set of items which exist
91 * @return A set of items which contains removed items while
95 HashSet<E> set = new HashSet<>(before);
96 set
[all...]

Completed in 3622 milliseconds

1234567891011>>