Home
last modified time | relevance | path

Searched refs:Integer (Results 1 – 25 of 139) sorted by relevance

123456

/development/tools/bugreport/src/com/android/bugreport/util/
DUtils.java75 return Integer.parseInt(str); in getInt()
95 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/vndk/tools/sourcedr/blueprint/tests/
Dtest_ast.py23 from blueprint import Bool, Concat, Dict, Expr, Integer, List, String, VarRef
105 expr = Integer(0)
110 expr = Integer(1)
115 expr = Integer(2)
124 expr_zero1 = Integer(0)
125 expr_zero2 = Integer(0)
126 expr_one1 = Integer(1)
127 expr_one2 = Integer(1)
139 expr_zero = Integer(0)
140 expr_one = Integer(1)
[all …]
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java142 makeProcessSnapshotHdf(processesHdf.createChild(Integer.toString(i)), in makeVmTracesHdf()
158 final HashMap<Integer,HashSet<Integer>> visited = new HashMap<Integer,HashSet<Integer>>(); in makeTriageHdf()
164 hdf.setValue("triage.pid", Integer.toString(anr.pid)); in makeTriageHdf()
173 HashSet<Integer> visitedThreads = new HashSet<Integer>(); in makeTriageHdf()
205 private ArrayList<ProcessSnapshot> cloneAndFilter(HashMap<Integer,HashSet<Integer>> visited, in cloneAndFilter() argument
210 HashSet<Integer> visitedThreads = visited.get(process.pid); in cloneAndFilter()
212 visitedThreads = new HashSet<Integer>(); in cloneAndFilter()
238 makeCpuUsageHdf(hdf.createChild(Integer.toString(i)), snapshot.cpuUsage.get(i)); in makeCpuUsageSnapshotHdf()
254 hdf.setValue("panelId", Integer.toString(mNextPanelId++)); in makeProcessSnapshotHdf()
256 hdf.setValue("pid", Integer.toString(process.pid)); in makeProcessSnapshotHdf()
[all …]
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DCharacterSets.java119 private static final HashMap<Integer, String> MIBENUM_TO_NAME_MAP;
120 private static final HashMap<String, Integer> NAME_TO_MIBENUM_MAP;
124 MIBENUM_TO_NAME_MAP = new HashMap<Integer, String>();
125 NAME_TO_MIBENUM_MAP = new HashMap<String, Integer>();
166 Integer mibEnumValue = NAME_TO_MIBENUM_MAP.get(mimeName); in getMibEnumValue()
DPduPart.java110 private Map<Integer, Object> mPartHeader = null;
128 mPartHeader = new HashMap<Integer, Object>(); in PduPart()
241 Integer charset = (Integer) mPartHeader.get(P_CHARSET); in getCharset()
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java120 private class RenderScriptTask extends AsyncTask<Float, Integer, Integer> {
123 protected Integer doInBackground(Float... values) { in doInBackground()
148 void updateView(Integer result) { in updateView()
156 protected void onPostExecute(Integer result) { in onPostExecute()
160 protected void onCancelled(Integer result) { in onCancelled()
/development/tools/bugreport/src/com/android/bugreport/bugreport/
DProcessInfo.java38 public HashMap<Integer,ThreadInfo> threads = new HashMap<Integer,ThreadInfo>();
DBugreport.java92 public HashMap<Integer,ProcessInfo> allKnownProcesses = new HashMap<Integer,ProcessInfo>();
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DColorManager.java28 private static Map<String, Integer> mActivityColorMap = new HashMap<>();
29 private static Map<Integer, Integer> mTaskColorMap = new HashMap<>();
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java58 private Map<Character, Integer> mFrequenciesMap;
135 Map<Character, Integer> newFrequenciesMap = null; in onLoadLanguage()
215 private Map<Character, Integer> buildFrequencyMap(InputStream is) throws IOException { in buildFrequencyMap()
218 Map<Character, Integer> map = new HashMap<Character, Integer>(); in buildFrequencyMap()
225 map.put(parts[0].charAt(0), Integer.parseInt(parts[1])); in buildFrequencyMap()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DStableArrayAdapter.java29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DBackgroundPickers.java80 public Integer getRes(int position) { in getRes()
94 public Integer[] getRes() { in getRes()
99 Integer[] res = new Integer[mPickers.size()]; in getRes()
DNotificationPreset.java44 public final Integer[] backgroundIds;
49 boolean vibrate, Integer[] backgroundIds) { in BuildOptions()
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
DSampleGridPagerAdapter.java74 LruCache<Integer, Drawable> mRowBackgrounds = new LruCache<Integer, Drawable>(3) {
76 protected Drawable create(final Integer row) {
184 class DrawableLoadingTask extends AsyncTask<Integer, Void, Drawable> {
193 protected Drawable doInBackground(Integer... params) { in doInBackground()
194 Log.d(TAG, "Loading asset 0x" + Integer.toHexString(params[0])); in doInBackground()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java212 mEventCountInScript = Integer.parseInt(value); in readHeader()
286 int action = Integer.parseInt(args[2]); in handleEvent()
287 int code = Integer.parseInt(args[3]); in handleEvent()
288 int repeat = Integer.parseInt(args[4]); in handleEvent()
289 int metaState = Integer.parseInt(args[5]); in handleEvent()
290 int device = Integer.parseInt(args[6]); in handleEvent()
291 int scancode = Integer.parseInt(args[7]); in handleEvent()
310 int action = Integer.parseInt(args[2]); in handleEvent()
315 int metaState = Integer.parseInt(args[7]); in handleEvent()
318 int device = Integer.parseInt(args[10]); in handleEvent()
[all …]
DMonkeySourceNetworkVars.java28 import java.lang.Integer;
81 … VAR_MAP.put("build.version.sdk", new StaticVarGetter(Integer.toString(Build.VERSION.SDK_INT)));
86 VAR_MAP.put("display.width", new StaticVarGetter(Integer.toString(display.getWidth())));
87 VAR_MAP.put("display.height", new StaticVarGetter(Integer.toString(display.getHeight())));
164 return Integer.toString(MonkeySourceNetwork.MONKEY_NETWORK_VERSION);
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleBroadcastReceiver.java44 ArrayList<Integer> appWidgetIds = new ArrayList<Integer>(); in onReceive()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DStableArrayAdapter.java29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DStableArrayAdapter.java29 HashMap<String, Integer> mIdMap = new HashMap<String, Integer>();
/development/apps/Development/src/com/android/development/
DConfigurationViewer.java50 + "screenLayout=0x" + Integer.toHexString(c.screenLayout) + "\n" in onCreate()
52 + "uiMode=0x" + Integer.toHexString(c.uiMode) + "\n" in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList8.java82 private Integer[] mPhotoPool = {
87 private ArrayList<Integer> mPhotos = new ArrayList<Integer>();
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DQuizListenerService.java69 private static final Map<Integer, Integer> questionNumToDrawableId;
72 Map<Integer, Integer> temp = new HashMap<Integer, Integer>(4);
155 int notificationId = Integer.parseInt(uri.getLastPathSegment()); in onDataChanged()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DEventScheduler.java217 long millisToWait = Integer.MAX_VALUE; in waitNextEvent()
233 if (millisToWait > Integer.MAX_VALUE) { in waitNextEvent()
234 millisToWait = Integer.MAX_VALUE; in waitNextEvent()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DEventScheduler.java217 long millisToWait = Integer.MAX_VALUE; in waitNextEvent()
233 if (millisToWait > Integer.MAX_VALUE) { in waitNextEvent()
234 millisToWait = Integer.MAX_VALUE; in waitNextEvent()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherDataProvider.java98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); in query()
127 final int index = Integer.parseInt(uri.getPathSegments().get(0)); in update()

123456