Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py79 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 …]
Dweb_services.py67 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/
DMonkeySourceNetworkVars.java45 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 …]
DMonkeySourceNetwork.java115 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 …]
DMonkeySourceNetworkViews.java125 Class<?> klass = sClassMap.get(packageName); in getIdClass()
152 return (!infos.isEmpty()) ? infos.get(0) : null; in getNodeByViewId()
200 String idType = command.get(1); in translateCommand()
206 node = getNodeByViewId(command.get(2)); in translateCommand()
207 viewQuery = command.get(3); in translateCommand()
214 node = getNodeByAccessibilityIds(command.get(2), command.get(3)); in translateCommand()
215 viewQuery = command.get(4); in translateCommand()
226 ViewIntrospectionCommand getter = COMMAND_MAP.get(viewQuery); in translateCommand()
260 String text = command.get(1); in translateCommand()
399 if (Boolean.valueOf(args.get(0))) { in query()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLFace.java55 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/
Ddatastore.py41 return query.get()
48 return query.get().updated
55 return query.get().key().id()
62 return query.get().status
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/
DSimpleStringAdapter.java51 return mValues.get(position); in getValueAt()
66 String tmp = mValues.get(pos1); in swap()
67 mValues.set(pos1, mValues.get(pos2)); in swap()
93 holder.mBoundString = mValues.get(position); in onBindViewHolder()
94 holder.mTextView.setText(position + ":" + mValues.get(position)); in onBindViewHolder()
95 holder.mTextView.setMinHeight((200 + mValues.get(position).length() * 10)); in onBindViewHolder()
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardFlip.java118 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/
DAnimationLoading.java94 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()
DAnimationCloning.java80 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/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/
DMainActivity.java72 int imageId = getResources().getIdentifier(mSolarSystem.get(mSelectedPlanet).getImage(), in onCreate()
140 toastMessage = mSolarSystem.get(mSelectedPlanet).getName(); in onMenuItemClick()
143 toastMessage = mSolarSystem.get(mSelectedPlanet).getMoons(); in onMenuItemClick()
146 toastMessage = mSolarSystem.get(mSelectedPlanet).getVolume(); in onMenuItemClick()
149 toastMessage = mSolarSystem.get(mSelectedPlanet).getSurfaceArea(); in onMenuItemClick()
186 String selectedPlanetImage = mSolarSystem.get(mSelectedPlanet).getImage(); in onItemSelected()
194 return mSolarSystem.get(pos).getName(); in getItemText()
199 String navigationIcon = mSolarSystem.get(pos).getNavigationIcon(); in getItemDrawable()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNonsenseGenerator.java79 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/ndk/platforms/android-3/include/linux/
Dmoduleparam.h44 param_get_fn get; member
58 param_get_fn get; member
63get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param co… argument
65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, nam… argument
/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/
DUtils.java32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR); in getHashedDay()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DDateWidgets1.java71 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/
DCardStreamFragment.java103 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/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java445 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/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DAsyncTask.java321 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/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java195 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/DirectBoot/src/com.example.android.directboot/
DTimePickerFragment.java81 .saveAlarm(alarmTime.get(Calendar.MONTH), alarmTime.get(Calendar.DATE), in onCreateView()
82 … alarmTime.get(Calendar.HOUR_OF_DAY), alarmTime.get(Calendar.MINUTE)); in onCreateView()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/
DSlidingTabsColorsFragment.java181 return mTabs.get(position).getIndicatorColor(); in onViewCreated()
186 return mTabs.get(position).getDividerColor(); in onViewCreated()
216 return mTabs.get(i).createFragment(); in getItem()
233 return mTabs.get(position).getTitle(); in getPageTitle()
/development/samples/SupportDesignDemos/src/com/example/android/support/design/
DSupportDesignDemos.java82 ResolveInfo info = list.get(i); in getData()
99 if (entries.get(nextLabel) == null) { in getData()
119 return collator.compare(map1.get("title"), map2.get("title"));
148 Intent intent = (Intent) map.get("intent"); in onListItemClick()
/development/samples/Support13Demos/src/com/example/android/supportv13/
DSupport13Demos.java82 ResolveInfo info = list.get(i); in getData()
99 if (entries.get(nextLabel) == null) { in getData()
117 return collator.compare(map1.get("title"), map2.get("title"));
146 Intent intent = (Intent) map.get("intent"); in onListItemClick()
/development/samples/Support7Demos/src/com/example/android/supportv7/
DSupport7Demos.java82 ResolveInfo info = list.get(i); in getData()
99 if (entries.get(nextLabel) == null) { in getData()
119 return collator.compare(map1.get("title"), map2.get("title"));
148 Intent intent = (Intent) map.get("intent"); in onListItemClick()

12345678910>>...12