/frameworks/base/services/core/java/com/android/server/ |
VibratorService.java | 5 * you may not use this file except in compliance with the License. 104 this(token, millis, null, 0, usageHint, uid, opPkg); 109 this(token, 0, pattern, repeat, usageHint, uid, opPkg); 126 mVibrations.remove(this); 127 if (this == mCurrentVibration) { 136 // This is a pattern, return false to play the simple 142 // If this vibration will end before the time passed in, let 165 this.timeout = timeout; 166 this.startTime = startTime; 167 this.pattern = pattern [all...] |
DeviceIdleController.java | 5 * you may not use this file except in compliance with the License. 207 * excluded from idle modes. This array can be shared with others because it will not be 218 * Current app IDs that are in the complete power save white list. This array can 246 synchronized (DeviceIdleController.this) { 263 synchronized (DeviceIdleController.this) { 272 synchronized (DeviceIdleController.this) { 281 synchronized (DeviceIdleController.this) { 302 synchronized (DeviceIdleController.this) { 322 * global Settings. Any access to this class or its fields should be done while 348 * This is the time, after becoming inactive, at which we start looking at th [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
JobSchedulerService.java | 5 * you may not use this file except in compliance with the License. 106 * This is correlated with the amount of batching we'll be able to do. 115 /** List of controllers that will notify this service of updates to jobs. */ 118 * Queue of pending jobs. The JobServiceContext class will receive jobs from this list 150 // If this is an outright uninstall rather than the first half of an 174 // Let's kick any outstanding jobs for this user. 185 * This cancels the job if it's already been scheduled, and replaces it with the one provided. 187 * @param uId The package identifier of the application this job is for. 188 * @return Result of this operation. See <code>JobScheduler#RESULT_*</code> return codes. 225 * This will remove the job from the master list, and cancel the job if it was staged fo [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
DetailsOverviewRowPresenter.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 40 * Typically this row will be the first row in a fragment 47 * {@link #DetailsOverviewRowPresenter(Presenter)}. Typically this will be an instance of 141 bindImageDrawable(ViewHolder.this); 204 ViewHolder.this, getRow()); 209 ViewHolder.this, getRow()); 264 * @param rootView The root View that this view holder will be attached 345 * Sets the layout style to be large or small. This affects the height of 361 * transiting into overview row created by this presenter. The transition will 382 * transiting into overview row created by this presenter. The transition wil [all...] |
FullWidthDetailsOverviewRowPresenter.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 42 * Renders a {@link DetailsOverviewRow} to display an overview of an item. Typically this row will 49 * {@link #FullWidthDetailsOverviewRowPresenter(Presenter)}. Typically this will be an instance of 81 * This is the default state corresponding to layout file. The view takes full width 86 * This is the state when the view covers full width and height of screen. 90 * This is the state where the view shrinks to a small banner. 95 * This is the alignment mode that the logo and description align to the starting edge of the 100 * This is the alignment mode that the ending edge of logo and the starting edge of description 101 * align to the middle of the overview view. Note that this might not be the exact horizontal 267 ViewHolder.this, getRow()) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatSpinner.java | 5 * you may not use this file except in compliance with the License. 62 * <p>This will automatically be used when you use {@link Spinner} in your layouts. 63 * You should only need to manually use this class when writing custom views.</p> 108 this(context, null); 123 this(context, null, R.attr.spinnerStyle, mode); 134 this(context, attrs, R.attr.spinnerStyle); 149 this(context, attrs, defStyleAttr, MODE_THEME); 168 this(context, attrs, defStyleAttr, mode, null); 189 * view theme. If set, this will override any value 203 mBackgroundTintHelper = new AppCompatBackgroundHelper(this, mTintManager) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
AbstractListTest.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 37 this.arrayList = new ArrayList(); 41 return this.arrayList.get(index); 45 this.arrayList.add(i, o); 49 return this.arrayList.remove(i); 53 return this.arrayList.size();
|
/libcore/libart/src/main/java/java/lang/ |
Thread.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 21 * you may not use this file except in compliance with the License. 107 * This corresponds to (but does not have the same value as) 114 * This corresponds to (but does not have the same value as) 121 * This corresponds to (but does not have the same value as) 157 * Holds the class loader for this Thread, in case there is one. 162 * Holds the handler for uncaught exceptions in this Thread, 173 * Reflects whether this Thread has already been started. A Threa [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 30 * This implementation is efficient for operations traditionally used in 35 * This API includes operations for bitwise operations in two's complement 37 * this implementation, so such methods may be inefficient. Use {@link 44 /** This is the serialVersionUID used by the sun implementation. */ 53 /** The magnitude of this in the little-endian representation. */ 57 * The length of this in measured in ints. Can be less than 62 /** The sign of this. * [all...] |
/libcore/luni/src/main/java/java/util/ |
HashMap.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 46 * elements during iteration. It is not possible to guarantee that this 50 * @param <K> the type of keys maintained by this map 75 * The default load factor. Note that this implementation ignores the 79 * <p>Note that this constant has no impact on the behavior of the program, 87 * The hash table. If this hash map contains a mapping for null, it is 88 * not represented this hash table. 98 * The number of mappings in this hash map [all...] |
Hashtable.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 33 * @param <K> the type of keys maintained by this map 60 * The default load factor. Note that this implementation ignores the 64 * <p>Note that this constant has no impact on the behavior of the program, 77 * The number of mappings in this hash map. 88 * The table is rehashed when its size exceeds this threshold. 89 * The value of this field is generally .75 * capacity, except when 150 this(capacity) [all...] |
TreeMap.java | 5 * you may not use this file except in compliance with the License. 33 * <p>This map sorts keys using either a user-supplied comparator or the key's 37 * this map. If a user-supplied comparator is in use, it will be returned 43 * this map. In this case {@link #comparator} will return null. 50 * <p>When the ordering is not consistent with equals the behavior of this 60 * // uses only comparators/comparable on keys and so this prints "android". 85 @SuppressWarnings("unchecked") // unsafe! this assumes K is comparable 87 this.comparator = (Comparator<? super K>) NATURAL_ORDER; 92 * {@code copyFrom}. This map's keys must be mutually comparable an [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatParser.java | 5 * you may not use this file except in compliance with the License. 81 this.publicId = publicId; 82 this.systemId = systemId; 84 this.xmlReader = xmlReader; 93 this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; 94 this.pointer = initialize( 95 this.encoding, 105 this.encoding = encoding; 106 this.xmlReader = xmlReader; 107 this.pointer = pointer [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
ExpatSaxParserTest.java | 5 * you may not use this file except in compliance with the License. 143 assertNull(this.startElementName); 144 this.startElementName = localName; 158 assertNull(this.endElementName); 159 this.endElementName = localName; 165 this.text.append(ch, start, length); 201 this.locator = locator; 427 this.name = name; 428 this.publicId = publicId; 429 this.systemId = systemId [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
WebsiteSettingsFragment.java | 5 * you may not use this file except in compliance with the License. 103 * Gets the number of features supported by this site. 114 * Gets the ID of the nth (zero-based) feature supported by this site. 116 * This is required to determine which feature is displayed at a given 117 * position in the list of features for this site. This is used both 206 this(context, rsc, null); 286 // Create a map from host to origin. This is used to add metadata 287 // (title, icon) for this origin from the bookmarks DB. We must do 289 new UpdateFromBookmarksDbTask(this.getContext(), sites).execute() [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ContactSelectionActivity.java | 5 * you may not use this file except in compliance with the License. 96 mIntentResolver = new ContactsIntentResolver(this); 111 if (RequestPermissionsActivity.startPermissionActivity(this)) { 171 mSearchView.setOnQueryTextListener(this); 172 mSearchView.setOnCloseListener(this); 173 mSearchView.setOnQueryTextFocusChangeListener(this); 412 Intent intent = new Intent(ContactSelectionActivity.this, 417 // editing. This is fine because the user wants to add information to an 462 // Ignore name key because this is an existing contact. 507 ContactSelectionActivity.this.onBackPressed() [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | 5 * you may not use this file except in compliance with the License. 82 * the only "active" one should get the activity result. This member represents the active 198 // blank form. When the data is not ready, skip. This method will be called multiple times. 230 editor.setListener(this); 255 // reflect this. 523 // See if the photo selection handler handles this result. 547 // This is unexpected. 632 * Custom photo handler for the editor. The inner listener that this creates also has a 658 mCurrentPhotoHandler = this; 661 ContactEditorFragment.this.startActivityForResult(intent, requestCode) [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainActivity.java | 5 * you may not use this file except in compliance with the License. 121 this.startActivityForResult(new Intent(Credentials.UNLOCK_ACTION), 209 AlertDialog.Builder builder = new AlertDialog.Builder(this); 211 TextView contextView = (TextView) View.inflate(this, R.layout.cert_chooser_header, null); 212 View footer = View.inflate(this, R.layout.cert_chooser_footer, null); 214 final ListView lv = (ListView) View.inflate(this, R.layout.cert_chooser, null); 308 Credentials.getInstance().install(KeyChainActivity.this); 339 LayoutInflater inflater = LayoutInflater.from(KeyChainActivity.this); 452 KeyChain.KeyChainConnection connection = KeyChain.bind(KeyChainActivity.this);
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeNfcTag.java | 5 * you may not use this file except in compliance with the License. 92 this.notifyAll(); 100 this.notifyAll(); 106 this.notifyAll(); 111 synchronized (this) { 118 this.wait(watchdogTimeout); 125 // 3) We just set the timeout, wait for this timeout 135 synchronized (NativeNfcTag.this) { 159 // We're not yet connected to this handle, there are 188 // special case for NDEF, this will cause switch to ISO_DEP frame int [all...] |
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
NativeNfcTag.java | 5 * you may not use this file except in compliance with the License. 89 this.notifyAll(); 97 this.notifyAll(); 103 this.notifyAll(); 109 synchronized (this) { 115 this.wait(watchdogTimeout); 122 // 3) We just set the timeout, wait for this timeout 132 synchronized (NativeNfcTag.this) { 160 // We're not yet connected to this handle, there are 191 // than IsoDep, as this is not supported b [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 5 * you may not use this file except in compliance with the License. 158 this(context, null); 162 this(context, attrs, 0); 172 inflater.inflate(R.layout.contact_header, this); 203 mDisplayNameView.setOnClickListener(this); 204 mPhotoView.setOnClickListener(this); 235 if (this != mQueryHandler) { 329 * This doesn't change the underlying {@link Contacts} value, only the UI state. 343 * @hide this is here for consistency with setStared/showStar and should be public 367 * Manually set the photo to display in the header. This doesn't change th [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnEN.java | 5 * you may not use this file except in compliance with the License. 96 /** Instance of this service */ 142 mTutorial = new TutorialEN(OpenWnnEN.this, v, inputManager); 164 mSelf = this; 195 this(); 199 * Get the instance of this service. 201 * Before using this method, the constructor of this service must be invoked. 203 * @return The instance of this object 295 mSymbolList = new SymbolList(this, SymbolList.LANG_EN) [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
MediaSessionRecord.java | 5 * you may not use this file except in compliance with the License. 61 * This is the system implementation of a Session. Apps will interact with the 161 * Get the info for this session. 163 * @return Info that identifies this session. 188 * Get this session's flags. 190 * @return The flags for this session. 197 * Check if this session has the specified flag. 200 * @return True if this session has that flag set, false otherwise. 207 * Get the user id this session was created for. 209 * @return The user id for this session [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
UsageStatsService.java | 5 * use this file except in compliance with the License. You may obtain a copy 93 * This data can be queried by apps that have been granted permission by AppOps. 218 synchronized (this) { 222 synchronized (this) { 271 synchronized (UsageStatsService.this.mLock) { 522 new File(mUsageStatsDir, Integer.toString(userId)), this); 530 * This should be the only way to get the time from the system. 792 * This happens if the device is plugged in or temporarily allowed to make exceptions. 812 // TODO: Optimize this check [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/components/polymer/ |
polymer.js | 4 * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 48 var s = this.shadow(inEl); 49 if (this.canTarget(s)) { 64 var shadows = [], s = this.shadow(element); 67 s = this.olderShadow(s); 77 sr = this.targetingShadow(t); 80 sr = this.olderShadow(inRoot); 83 return this.searchRoot(sr, x, y) || t; 107 var s = this.owner(inEvent.target); 108 // if x, y is not in this root, fall back to document searc [all...] |