/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
D | dashboard.py | 79 def get(self): member in ContactInsertPage 101 def get(self): member in ContactEditPage 102 id = int(self.request.get('id')) 103 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 108 id = int(self.request.get('id')) 109 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 124 def get(self): member in ContactDeletePage 125 id = int(self.request.get('id')) 126 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 141 def get(self): member in AvatarEditPage [all …]
|
D | web_services.py | 67 self.username = self.request.get('username') 68 self.password = self.request.get('password') 95 self.username = self.request.get('username') 96 self.authtoken = self.request.get('authtoken') 121 def get(self): member in Authenticate 134 def get(self): member in SyncContacts 150 client_buffer = self.request.get('contacts') 156 client_state = self.request.get('syncstate') 238 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 309 def get(self): member in ResetDatabase
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetworkVars.java | 45 public String get(); in get() method 55 public String get() { in get() method in MonkeySourceNetworkVars.StaticVarGetter 97 public String get() { 102 public String get() { 110 public String get() { 118 public String get() { 126 public String get() { 134 public String get() { 148 public String get() { 153 public String get() { [all …]
|
D | MonkeySourceNetwork.java | 116 String direction = command.get(1); in translateCommand() 140 String actionName = command.get(1); in translateCommand() 144 x = Integer.parseInt(command.get(2)); in translateCommand() 145 y = Integer.parseInt(command.get(3)); in translateCommand() 187 dx = Integer.parseInt(command.get(1)); in translateCommand() 188 dy = Integer.parseInt(command.get(2)); in translateCommand() 213 int keyCode = getKeyCode(command.get(2)); in translateCommand() 216 Log.e(TAG, "Can't find keyname: " + command.get(2)); in translateCommand() 221 if ("down".equals(command.get(1))) { in translateCommand() 223 } else if ("up".equals(command.get(1))) { in translateCommand() [all …]
|
D | MonkeySourceNetworkViews.java | 126 Class<?> klass = sClassMap.get(packageName); in getIdClass() 153 return (!infos.isEmpty()) ? infos.get(0) : null; in getNodeByViewId() 201 String idType = command.get(1); in translateCommand() 207 node = getNodeByViewId(command.get(2)); in translateCommand() 208 viewQuery = command.get(3); in translateCommand() 215 node = getNodeByAccessibilityIds(command.get(2), command.get(3)); in translateCommand() 216 viewQuery = command.get(4); in translateCommand() 227 ViewIntrospectionCommand getter = COMMAND_MAP.get(viewQuery); in translateCommand() 261 String text = command.get(1); in translateCommand() 400 if (Boolean.valueOf(args.get(0))) { in query() [all …]
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduPart.java | 223 return (byte[]) mPartHeader.get(P_CONTENT_ID); in getContentId() 241 Integer charset = (Integer) mPartHeader.get(P_CHARSET); in getCharset() 272 return (byte[]) mPartHeader.get(P_CONTENT_LOCATION); in getContentLocation() 298 return (byte[]) mPartHeader.get(P_CONTENT_DISPOSITION); in getContentDisposition() 321 return (byte[]) mPartHeader.get(P_CONTENT_TYPE); in getContentType() 344 return (byte[]) mPartHeader.get(P_CONTENT_TRANSFER_ENCODING); in getContentTransferEncoding() 367 return (byte[]) mPartHeader.get(P_NAME); in getName() 390 return (byte[]) mPartHeader.get(P_FILENAME); in getFilename() 397 byte[] location = (byte[]) mPartHeader.get(P_NAME); in generateLocation() 399 location = (byte[]) mPartHeader.get(P_FILENAME); in generateLocation() [all …]
|
D | PduBody.java | 129 return mParts.get(index); in getPart() 158 return mPartMapByContentId.get(cid); in getPartByContentId() 169 return mPartMapByContentLocation.get(contentLocation); in getPartByContentLocation() 179 return mPartMapByName.get(name); in getPartByName() 189 return mPartMapByFileName.get(filename); in getPartByFileName()
|
/development/tools/bugreport/src/com/android/bugreport/inspector/ |
D | Inspector.java | 135 ProcessInfo pi = mBugreport.allKnownProcesses.get(pid); in makeProcessInfo() 152 ThreadInfo ti = pi.threads.get(tid); in makeThreadInfo() 179 mBugreport.anr = anrs.get(0); in findAnr() 207 final LockSnapshot prev = thread.locks.get(lock.address); in combineLocks() 242 frame = thread.frames.get(i); in markOutgoingBinderThread() 262 frame = thread.frames.get(i); in markOutgoingBinderThread() 278 frame = thread.frames.get(i); in markOutgoingBinderThread() 299 frame = thread.frames.get(i); in markIncomingBinderThread() 319 frame = thread.frames.get(i); in markIncomingBinderThread() 333 frame = thread.frames.get(i); in markIncomingBinderThread() [all …]
|
/development/scripts/ |
D | architecture.py | 34 self.options = OPTIONS.get(name, {}) 38 return [symbol.ToolPath(ASSEMBLE)] + self.options.get(ASSEMBLE, []) + args 42 return [symbol.ToolPath(LINK)] + self.options.get(LINK, []) + args 46 return ([symbol.ToolPath(DISASSEMBLE)] + self.options.get(DISASSEMBLE, []) + 58 return self.options.get(UNPACK, UnpackLittleEndian)(word)
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardFlip.java | 118 view.updateTranslation(mStackCards.get(stack).size()); in addNewCard() 127 mStackCards.get(stack).add(view); in addNewCard() 149 ArrayList<CardView> cardStack = mStackCards.get(stack); 152 rotateCardView(cardStack.get(size - 1), stack, v, v2); 177 ArrayList<CardView>leftStack = mStackCards.get(LEFT_STACK); in rotateCardView() 178 ArrayList<CardView>rightStack = mStackCards.get(RIGHT_STACK); in rotateCardView() 246 ArrayList <CardView> cards = mStackCards.get(stack); in rotateCards() 249 CardView cardView = cards.get(i); in rotateCards() 277 ArrayList <CardView> cards = mStackCards.get(stack); in rotateCardsFullRotation() 279 CardView cardView = cards.get(i); in rotateCardsFullRotation()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | AnimationLoading.java | 94 anim.setTarget(balls.get(0)); in createAnimation() 100 balls.get(1).setAlpha((Float) animation.getAnimatedValue()); in createAnimation() 107 seq.setTarget(balls.get(2)); in createAnimation() 111 colorizer.setTarget(balls.get(3)); in createAnimation() 115 animPvh.setTarget(balls.get(4)); in createAnimation() 120 animPvhKf.setTarget(balls.get(5)); in createAnimation() 126 balls.get(6).setAlpha((Float) animation.getAnimatedValue()); in createAnimation() 138 animPvhKfInterpolated.setTarget(balls.get(7)); in createAnimation() 194 ShapeHolder ball = balls.get(0); in onAnimationUpdate()
|
D | AnimationCloning.java | 80 ObjectAnimator anim1 = ObjectAnimator.ofFloat(balls.get(0), "y", in createAnimation() 81 0f, getHeight() - balls.get(0).getHeight()).setDuration(500); in createAnimation() 83 anim2.setTarget(balls.get(1)); in createAnimation() 86 ShapeHolder ball2 = balls.get(2); in createAnimation() 98 s2.setTarget(balls.get(3)); in createAnimation() 130 ShapeHolder shapeHolder = balls.get(i); in onDraw()
|
/development/vndk/tools/sourcedr/blueprint/ |
D | vndk.py | 44 return kwargs.get('default', None) 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', [])) 118 prev_module = self.all_libs.get(name) 144 name = attrs.get('name') 148 namespace = attrs.get('_namespace')
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | GLFace.java | 55 GLVertex vertex = mVertexList.get(last); in setColor() 62 vertex = mVertexList.get(last); in setColor() 79 GLVertex v0 = mVertexList.get(0); in putIndices() 80 GLVertex vn = mVertexList.get(last); in putIndices() 84 GLVertex v1 = mVertexList.get(i); in putIndices()
|
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
D | Camera2RawFragment.java | 445 Integer afState = result.get(CaptureResult.CONTROL_AF_STATE); 460 Integer aeState = result.get(CaptureResult.CONTROL_AE_STATE); 461 Integer awbState = result.get(CaptureResult.CONTROL_AWB_STATE); 529 jpegBuilder = mJpegResultQueue.get(requestId); 530 rawBuilder = mRawResultQueue.get(requestId); 547 jpegBuilder = mJpegResultQueue.get(requestId); 548 rawBuilder = mRawResultQueue.get(requestId); 710 if (!contains(characteristics.get( in setUpCameraOutputs() 716 StreamConfigurationMap map = characteristics.get( in setUpCameraOutputs() 737 mJpegImageReader.get().setOnImageAvailableListener( in setUpCameraOutputs() [all …]
|
/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/ |
D | MainActivity.java | 71 int imageId = getResources().getIdentifier(mSolarSystem.get(mSelectedPlanet).getImage(), in onCreate() 144 toastMessage = mSolarSystem.get(mSelectedPlanet).getName(); in onMenuItemClick() 147 toastMessage = mSolarSystem.get(mSelectedPlanet).getMoons(); in onMenuItemClick() 150 toastMessage = mSolarSystem.get(mSelectedPlanet).getVolume(); in onMenuItemClick() 153 toastMessage = mSolarSystem.get(mSelectedPlanet).getSurfaceArea(); in onMenuItemClick() 190 String selectedPlanetImage = mSolarSystem.get(mSelectedPlanet).getImage(); in onItemSelected() 198 return mSolarSystem.get(pos).getName(); in getItemText() 203 String navigationIcon = mSolarSystem.get(pos).getNavigationIcon(); in getItemDrawable()
|
/development/tools/bugreport/src/com/android/bugreport/html/ |
D | Renderer.java | 126 makeCpuUsageSnapshotHdf(hdf.createChild("monkey.cpuUsage." + i), anr.cpuUsages.get(i)); in makeAnrHdf() 143 vmTraces.processes.get(i)); in makeVmTracesHdf() 185 deadlockedProcesses.get(i)); in makeTriageHdf() 195 interestingProcesses.get(i)); in makeTriageHdf() 210 HashSet<Integer> visitedThreads = visited.get(process.pid); in cloneAndFilter() 217 final ThreadSnapshot cloneThread = cloneProcess.threads.get(i); in cloneAndFilter() 238 makeCpuUsageHdf(hdf.createChild(Integer.toString(i)), snapshot.cpuUsage.get(i)); in makeCpuUsageSnapshotHdf() 262 makeThreadSnapshotHdf(hdf.createChild("threads." + i), process, process.threads.get(i)); in makeProcessSnapshotHdf() 289 hdf.setValue("attributes." + i, thread.attributeText.get(i)); in makeThreadSnapshotHdf() 297 thread.frames.get(i)); in makeThreadSnapshotHdf() [all …]
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/ |
D | datastore.py | 41 return query.get() 48 return query.get().updated 55 return query.get().key().id() 62 return query.get().status
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/ |
D | UtilityService.java | 195 showNotification(geofences.get(0).getRequestId(), Constants.USE_MICRO_APP); in geofenceTriggered() 318 List<Attraction> attractions = ATTRACTIONS.get(cityId); in showNotification() 326 Attraction attraction = attractions.get(0); in showNotification() 336 bitmaps.put(attractions.get(i).name, in showNotification() 338 .load(attractions.get(i).imageUrl) in showNotification() 342 .get()); in showNotification() 361 .bigPicture(bitmaps.get(attraction.name)) in showNotification() 383 Utils.getLocation(this), attractions.get(i).location); in showNotification() 387 .setContentTitle(attractions.get(i).name) in showNotification() 391 .setBackground(bitmaps.get(attractions.get(i).name)) in showNotification() [all …]
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardStreamFragment.java | 103 Card card = mVisibleCards.get(tag); in removeCard() 134 final Card card = mHiddenCards.get(tag); in showCard() 155 final Card card = mVisibleCards.get(tag); in hideCard() 169 final Card card = mVisibleCards.get(tag); in dismissCard() 199 final Card card = mVisibleCards.get(tag); in getCard() 203 return mHiddenCards.get(tag); in getCard() 214 final Card card = mVisibleCards.get(tag); in setFirstVisibleCard()
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | NonsenseGenerator.java | 79 words.set(0, String.valueOf(Character.toUpperCase(words.get(0).charAt(0))) + in makeSentence() 80 words.get(0).substring(1)); in makeSentence() 165 sb.append(words.get(0)); in joinWords() 167 if (!words.get(i).startsWith(",")) { in joinWords() 170 sb.append(words.get(i)); in joinWords()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | AsyncTask.java | 321 postResultIfNotInvoked(get()); in AsyncTask() 335 final boolean wasTaskInvoked = mTaskInvoked.get(); in postResultIfNotInvoked() 459 return mCancelled.get(); in isCancelled() 507 public final Result get() throws InterruptedException, ExecutionException { in get() method in AsyncTask 508 return mFuture.get(); in get() 526 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, in get() method in AsyncTask 528 return mFuture.get(timeout, unit); in get()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | DateWidgets1.java | 71 mYear = c.get(Calendar.YEAR); in onCreate() 72 mMonth = c.get(Calendar.MONTH); in onCreate() 73 mDay = c.get(Calendar.DAY_OF_MONTH); in onCreate() 74 mHour = c.get(Calendar.HOUR_OF_DAY); in onCreate() 75 mMinute = c.get(Calendar.MINUTE); in onCreate()
|
/development/tools/repo_diff/ |
D | repo_diff_trees.py | 44 if 'notdefault' in project.get('groups', ''): 46 path = project.get('path', project.get('name')) 48 name = project.get('name') 293 upstream_projects.get(upstream_project_name), 294 downstream_projects.get(downstream_project_name), 302 'downstream_path': downstream_projects.get(downstream_project_name) 328 root_list = root_commits.get(root, [])
|
/development/gsi/gsi_util/gsi_util/utils/ |
D | cmd_utils.py | 33 if kwargs.get('shell', False): 81 assert kwargs.get('stdout') in [None, PIPE] 84 assert kwargs.get('stderr') in [None, PIPE] 95 if kwargs.get('shell'):
|