Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 160) sorted by relevance

1234567

/development/samples/devbytes/telephony/SmsSampleProject/
Dgradlew.bat12 set DEFAULT_JVM_OPTS=
14 set DIRNAME=%~dp0
15 if "%DIRNAME%" == "" set DIRNAME=.
16 set APP_BASE_NAME=%~n0
17 set APP_HOME=%DIRNAME%
22 set JAVA_EXE=java.exe
27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
29 echo Please set the JAVA_HOME variable in your environment to match the
35 set JAVA_HOME=%JAVA_HOME:"=%
36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
[all …]
/development/tools/checkcolor/
Dgradlew.bat12 set DEFAULT_JVM_OPTS=
14 set DIRNAME=%~dp0
15 if "%DIRNAME%" == "" set DIRNAME=.
16 set APP_BASE_NAME=%~n0
17 set APP_HOME=%DIRNAME%
22 set JAVA_EXE=java.exe
27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
29 echo Please set the JAVA_HOME variable in your environment to match the
35 set JAVA_HOME=%JAVA_HOME:"=%
36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
[all …]
/development/samples/training/testingfun/
Dgradlew.bat12 set DEFAULT_JVM_OPTS=
14 set DIRNAME=%~dp0
15 if "%DIRNAME%" == "" set DIRNAME=.
16 set APP_BASE_NAME=%~n0
17 set APP_HOME=%DIRNAME%
22 set JAVA_EXE=java.exe
27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
29 echo Please set the JAVA_HOME variable in your environment to match the
35 set JAVA_HOME=%JAVA_HOME:"=%
36 set JAVA_EXE=%JAVA_HOME%/bin/java.exe
[all …]
/development/tools/bugreport/src/com/android/bugreport/util/
DUtils.java95 result.set(Calendar.YEAR, Integer.parseInt(matcher.group(startGroup + 0))); in parseCalendar()
97 result.set(Calendar.MONTH, Integer.parseInt(matcher.group(startGroup + 1))); in parseCalendar()
98 result.set(Calendar.DAY_OF_MONTH, Integer.parseInt(matcher.group(startGroup + 2))); in parseCalendar()
99 result.set(Calendar.HOUR_OF_DAY, Integer.parseInt(matcher.group(startGroup + 3))); in parseCalendar()
100 result.set(Calendar.MINUTE, Integer.parseInt(matcher.group(startGroup + 4))); in parseCalendar()
101 result.set(Calendar.SECOND, Integer.parseInt(matcher.group(startGroup + 5))); in parseCalendar()
103 result.set(Calendar.MILLISECOND, Integer.parseInt(matcher.group(startGroup + 6))); in parseCalendar()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DZoomActivity.java167 AnimatorSet set = new AnimatorSet(); in zoomImageFromThumb() local
168 set in zoomImageFromThumb()
175 set.setDuration(mShortAnimationDuration); in zoomImageFromThumb()
176 set.setInterpolator(new DecelerateInterpolator()); in zoomImageFromThumb()
177 set.addListener(new AnimatorListenerAdapter() { in zoomImageFromThumb()
188 set.start(); in zoomImageFromThumb()
189 mCurrentAnimator = set; in zoomImageFromThumb()
203 AnimatorSet set = new AnimatorSet(); in zoomImageFromThumb()
204 set in zoomImageFromThumb()
211 set.setDuration(mShortAnimationDuration); in zoomImageFromThumb()
[all …]
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java131 calendar.set(Calendar.MONTH, month); in compareTo()
132 calendar.set(Calendar.DATE, date); in compareTo()
133 calendar.set(Calendar.HOUR_OF_DAY, hour); in compareTo()
134 calendar.set(Calendar.MINUTE, minute); in compareTo()
137 otherCal.set(Calendar.MONTH, other.month); in compareTo()
138 otherCal.set(Calendar.DATE, other.date); in compareTo()
139 otherCal.set(Calendar.HOUR_OF_DAY, other.hour); in compareTo()
140 otherCal.set(Calendar.MINUTE, other.minute); in compareTo()
DAlarmUtil.java55 alarmTime.set(Calendar.MONTH, alarm.month); in scheduleAlarm()
56 alarmTime.set(Calendar.DATE, alarm.date); in scheduleAlarm()
57 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); in scheduleAlarm()
58 alarmTime.set(Calendar.MINUTE, alarm.minute); in scheduleAlarm()
92 alarmTime.set(Calendar.HOUR_OF_DAY, hour); in getNextAlarmTime()
93 alarmTime.set(Calendar.MINUTE, minute); in getNextAlarmTime()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DLayoutAnimation2.java37 AnimationSet set = new AnimationSet(true); in onCreate() local
41 set.addAnimation(animation); in onCreate()
48 set.addAnimation(animation); in onCreate()
50 LayoutAnimationController controller = new LayoutAnimationController(set, 0.5f); in onCreate()
/development/scripts/gdb/
Ddalvik.gdb18 # also set a breakpoint in a libart.so function to stop when the program
20 set $art_debug_enabled = 0
26 # set a breakpoint and record its number
27 set breakpoint pending on
29 set $art_bpnum = $bpnum
34 set breakpoint pending auto
40 set $art_debug_enabled = 1
49 set to stop the program when an unexpected SIGSEGV signal is
63 set $art_debug_enabled = 0
/development/vndk/tools/sourcedr/blueprint/
Dvndk.py81 shared_libs = set(self.get_property('shared_libs', default=[]))
82 static_libs = set(self.get_property('static_libs', default=[]))
83 header_libs = set(self.get_property('header_libs', default=[]))
87 shared_libs -= set(target_vendor.get('exclude_shared_libs', []))
88 static_libs -= set(target_vendor.get('exclude_static_libs', []))
89 header_libs -= set(target_vendor.get('exclude_header_libs', []))
179 namespaces = {''} if namespaces is None else set(namespaces)
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java211 AnimationSet set = new AnimationSet(true); in animateSwipe() local
212 set.addAnimation(swipeAnim); in animateSwipe()
213 set.addAnimation(alphaAnim); in animateSwipe()
214 set.setDuration(duration); in animateSwipe()
215 view.startAnimation(set); in animateSwipe()
216 setAnimationEndAction(set, new Runnable() { in animateSwipe()
249 AnimationSet set = new AnimationSet(true); in setSwipePosition() local
250 set.addAnimation(swipeAnim); in setSwipePosition()
251 set.addAnimation(alphaAnim); in setSwipePosition()
252 set.setFillAfter(true); in setSwipePosition()
[all …]
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsRSActivity.java85 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
86 satMatrix.set(0, 1, oneMinusS * rWeight); in setSaturation()
87 satMatrix.set(0, 2, oneMinusS * rWeight); in setSaturation()
88 satMatrix.set(1, 0, oneMinusS * gWeight); in setSaturation()
89 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
90 satMatrix.set(1, 2, oneMinusS * gWeight); in setSaturation()
91 satMatrix.set(2, 0, oneMinusS * bWeight); in setSaturation()
92 satMatrix.set(2, 1, oneMinusS * bWeight); in setSaturation()
93 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
DLevelsDalvikActivity.java71 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
72 satMatrix.set(0, 1, oneMinusS * rWeight); in setSaturation()
73 satMatrix.set(0, 2, oneMinusS * rWeight); in setSaturation()
74 satMatrix.set(1, 0, oneMinusS * gWeight); in setSaturation()
75 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
76 satMatrix.set(1, 2, oneMinusS * gWeight); in setSaturation()
77 satMatrix.set(2, 0, oneMinusS * bWeight); in setSaturation()
78 satMatrix.set(2, 1, oneMinusS * bWeight); in setSaturation()
79 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
/development/samples/browseable/AppRestrictionEnforcer/
D_index.jd8 This sample demonstrates how to set restrictions to other apps as a profile owner.
9 Use the AppRestrictionSchema sample to set restrictions.
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbMessage.java51 public void set(int command, int arg0, int arg1, byte[] data) { in set() method in AdbMessage
63 public void set(int command, int arg0, int arg1) { in set() method in AdbMessage
64 set(command, arg0, arg1, (byte[])null); in set()
66 public void set(int command, int arg0, int arg1, String data) { in set() method in AdbMessage
69 set(command, arg0, arg1, data.getBytes()); in set()
DAdbSocket.java40 message.set(AdbMessage.A_OPEN, mId, 0, destination); in open()
72 message.set(AdbMessage.A_OKAY, mId, mPeerId); in sendReady()
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardFlip.java259 AnimatorSet set = new AnimatorSet(); in rotateCards() local
260 set.playTogether(animations); in rotateCards()
261 set.addListener(new AnimatorListenerAdapter() { in rotateCards()
267 set.start(); in rotateCards()
287 AnimatorSet set = new AnimatorSet(); in rotateCardsFullRotation() local
288 set.playTogether(animations); in rotateCardsFullRotation()
289 set.addListener(new AnimatorListenerAdapter() { in rotateCardsFullRotation()
295 set.start(); in rotateCardsFullRotation()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsFragment.java127 HashSet<String> set = new HashSet<>(); in onActivityCreated() local
128 Collections.addAll(set, entry.getAllSelectedStrings()); in onActivityCreated()
129 mMultiPref.setValues(set); in onActivityCreated()
157 HashSet<String> set = new HashSet<>(); in onActivityCreated() local
161 Collections.addAll(set, values); in onActivityCreated()
163 mMultiPref.setValues(set); in onActivityCreated()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorMatrixSample.java48 cm.set(new float[] { in setTranslate()
58 cm.set(new float[] { in setContrast()
68 cm.set(new float[] { in setContrastTranslateOnly()
78 cm.set(new float[] { in setContrastScaleOnly()
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java220 mat.set(0, 0, (float) (.299 + .701 * cos + .168 * sin)); in performFilter()
221 mat.set(1, 0, (float) (.587 - .587 * cos + .330 * sin)); in performFilter()
222 mat.set(2, 0, (float) (.114 - .114 * cos - .497 * sin)); in performFilter()
223 mat.set(0, 1, (float) (.299 - .299 * cos - .328 * sin)); in performFilter()
224 mat.set(1, 1, (float) (.587 + .413 * cos + .035 * sin)); in performFilter()
225 mat.set(2, 1, (float) (.114 - .114 * cos + .292 * sin)); in performFilter()
226 mat.set(0, 2, (float) (.299 - .3 * cos + 1.25 * sin)); in performFilter()
227 mat.set(1, 2, (float) (.587 - .588 * cos - 1.05 * sin)); in performFilter()
228 mat.set(2, 2, (float) (.114 + .886 * cos - .203 * sin)); in performFilter()
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
DAnticiButton.java137 AnimatorSet set = new AnimatorSet(); in runClickAnim() local
138 set.playSequentially(moveAnim, skewAnim, wobbleAnim); in runClickAnim()
140 set.play(finishDownAnim).before(moveAnim); in runClickAnim()
142 set.start(); in runClickAnim()
223 mTempRect.set(0, 0, getRight(), getBottom()); in invalidateSkewedBounds()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/
DPackageNamePicker.java39 message::set, in getList()
40 () -> timedOut.set(true), in getList()
/development/vndk/tools/header-checker/src/dumper/
Dheader_checker.h32 std::set<std::string> exported_headers_;
39 std::set<std::string> exported_headers, in HeaderCheckerOptions()
/development/vndk/tools/header-checker/src/utils/
Dcollect_exported_headers.cpp49 std::set<std::string> *exported_headers) { in CollectExportedHeaderSet()
89 std::set<std::string> CollectAllExportedHeaders( in CollectAllExportedHeaders()
91 std::set<std::string> exported_headers; in CollectAllExportedHeaders()
/development/tools/repo_diff/
Dgit_commits_not_upstreamed.py45 insertion_commits = set()
73 insertion_commits = set()
105 downstream_only_commits = set(revlist_output.splitlines())

1234567