/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/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/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 | 115 String direction = command.get(1); in translateCommand() 139 String actionName = command.get(1); in translateCommand() 143 x = Integer.parseInt(command.get(2)); in translateCommand() 144 y = Integer.parseInt(command.get(3)); in translateCommand() 186 dx = Integer.parseInt(command.get(1)); in translateCommand() 187 dy = Integer.parseInt(command.get(2)); in translateCommand() 212 int keyCode = getKeyCode(command.get(2)); in translateCommand() 215 Log.e(TAG, "Can't find keyname: " + command.get(2)); in translateCommand() 220 if ("down".equals(command.get(1))) { in translateCommand() 222 } 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/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/vndk/tools/sourcedr/sourcedr/blueprint/ |
D | check_vndk_dep.py | 50 return module.get('vendor', False) or module.get('proprietary', False) 71 shared_libs = set(module.get('shared_libs', [])) 72 static_libs = set(module.get('static_libs', [])) 73 header_libs = set(module.get('header_libs', [])) 77 shared_libs -= set(target_vendor.get('exclude_shared_libs', [])) 78 static_libs -= set(target_vendor.get('exclude_static_libs', [])) 79 header_libs -= set(target_vendor.get('exclude_header_libs', [])) 92 name = module.get('name')
|
/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/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/vndk/tools/sourcedr/sourcedr/ |
D | server.py | 63 path = request.args.get('path') 76 path = request.args.get('path') 89 label = request.args.get('label') 90 deps = json.loads(request.args.get('deps')) 91 codes = json.loads(request.args.get('codes')) 103 patt = request.args.get('pattern') 104 is_regex = request.args.get('is_regex') 117 path = request.args.get('path') 118 patt = request.args.get('pattern') 119 is_regex = request.args.get('is_regex')
|
/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/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/ |
D | Utils.java | 32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR); in getHashedDay()
|
/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/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/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/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/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/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/gsi/gsi_util/gsi_util/utils/ |
D | cmd_utils.py | 59 if kwargs.get('shell'): 65 assert kwargs.get('stdout') in [None, PIPE] 68 assert kwargs.get('stderr') in [None, PIPE]
|
/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/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/tools/logblame/ |
D | ps.py | 82 result = self._processes.get(pid) 85 result = self._processes.get(pid) 88 uid = self._uids.get(uid) 94 result = self._uids.get(uid) 97 result = self._uids.get(uid)
|