/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
ChannelsTest.java | 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 72 this.writeFileSame(); 76 if (null != this.fins) { 77 this.fins.close(); 78 this.fins = null; 80 if (null != this.fouts) { 81 this.fouts.close(); 82 this.fouts = null [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
SpatialTrack.java | 15 * This class represents the track for spatial animation.
63 * Modify the spatial which this track modifies.
135 * Set the translations, rotations and scales for this track.
152 this.times = times;
155 this.translations = new CompactVector3Array();
156 this.translations.add(translations);
157 this.translations.freeze();
161 this.rotations = new CompactQuaternionArray();
162 this.rotations.add(rotations);
163 this.rotations.freeze(); [all...] |
/frameworks/base/core/java/android/content/ |
AsyncTaskLoader.java | 5 * you may not use this file except in compliance with the License. 35 * loads the currently installed applications from the package manager. This 39 * this (such as a locale change). 66 if (DEBUG) Slog.v(TAG, this + " >>> doInBackground"); 68 D data = AsyncTaskLoader.this.onLoadInBackground(); 69 if (DEBUG) Slog.v(TAG, this + " <<< doInBackground"); 74 // This is problematic because it means that the LoaderManager did not 78 // So we treat this case as an unhandled exception. 81 if (DEBUG) Slog.v(TAG, this + " <<< doInBackground (was canceled)"); 89 if (DEBUG) Slog.v(TAG, this + " onPostExecute") [all...] |
/libcore/luni/src/main/java/java/util/ |
Timer.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 26 * this thread is busy running a task, runnable tasks may be subject to delays. 39 * previous run took place. This may result in a series of bunched-up runs 48 * <p>This class does not offer guarantees about the real-time nature of task 149 // re-try this point 190 this.setName(name); 191 this.setDaemon(isDaemon); 192 this.start() [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsSource.java | 5 * you may not use this file except in compliance with the License. 46 * In the future this may be inflated from XML defined by a data source. 67 * Set of {@link DataKind} supported by this source. 93 * Ensure that this {@link ContactsSource} has been inflated to the 109 * Invalidate any cache for this {@link ContactsSource}, removing all 114 this.mKinds.clear(); 115 this.mMimeKinds.clear(); 120 if (this.titleRes != -1 && this.summaryResPackageName != null) { 122 return pm.getText(this.summaryResPackageName, this.titleRes, null) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
ParseTree.java | 10 notice, this list of conditions and the following disclaimer. 12 notice, this list of conditions and the following disclaimer in the 15 derived from this software without specific prior written permission. 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 26 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 * end up as the leaves of this tree and rule nodes are the interior nodes. 36 * This really adds no functionality, it is just an alias for CommonTree 44 this.payload = label; 95 String nodeText = this.toString(); 100 /** Print out the leaves of this tree, which means printing origina [all...] |
/external/apache-http/src/org/apache/http/conn/ |
EofSensorInputStream.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 44 * This class is based on <code>AutoCloseInputStream</code> in HttpClient 3.1, 77 * Indicates whether this stream itself is closed. 81 * the underlying stream. After closing this stream, read 120 * <code>false</code> if this stream is in EOF mode and 123 * @throws IOException if this stream is already closed 219 * This method should only be called while the underlying stream i [all...] |
/external/apache-http/src/org/apache/http/entity/ |
InputStreamEntity.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 60 this.content = instream; 61 this.length = length; 69 return this.length; 73 return this.content; 80 InputStream instream = this.content; 83 if (this.length < 0) [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
BasicCredentialsProvider.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 62 this.credMap = new HashMap<AuthScope, Credentials>(); 128 return matchCredentials(this.credMap, authscope); 140 this.credMap.clear();
|
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderElementIterator.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 72 this.headerIt = headerIterator; 73 this.parser = parser; 78 this(headerIterator, BasicHeaderValueParser.DEFAULT); 83 this.cursor = null; 84 this.buffer = null; 85 while (this.headerIt.hasNext()) [all...] |
/external/apache-http/src/org/apache/http/params/ |
BasicHttpParams.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 42 * This class represents a collection of HTTP protocol parameters. 57 /** Map of HTTP parameters that this collection contains. */ 67 if (this.parameters != null) { 68 param = this.parameters.get(name); 74 if (this.parameters == null) { 75 this.parameters = new HashMap() [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
CountersTable.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 34 * This is a table of counters, keyed by ElemNumber objects, each 35 * of which has a list of Counter objects. This really isn't a true 61 Vector counters = (Vector) this.get(numberElem); 73 * for this number element. 80 this.put(numberElem, counters); 154 // of forward counting by one, this will mean a single node copy from 195 // If we got to this point, then we didn't find a counter, so make [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
ReverseAxesWalker.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 38 * @param locPathIterator The location path iterator that 'owns' this walker. 49 * @param root The context node of this step. 85 this.m_foundLast = true; 92 * Tells if this is a reverse axes. Overrides AxesWalker#isReverseAxes. 94 * @return true for this class. 104 // * @param root The context node of this step. 113 * reverse axes count, for the moment this re-searches the axe [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERUTCTime.java | 59 * The correct format for this is YYMMDDHHMMSSZ (it used to be that seconds were 62 * the input stream... (this is why the input format is different from the getTime() 71 this.time = time; 74 this.getDate(); 92 this.time = dateF.format(time); 108 this.time = new String(dateC); 155 * <b>Note:</b> In some cases, due to the local date processing, this 201 * return a time string as an adjusted date with a 4 digit year. This goes 206 String d = this.getTime(); 235 out.writeEncoded(UTC_TIME, this.getOctets()) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
ExtendedKeyUsage.java | 58 this.seq = new DERSequence(usage); 60 this.usageTable.put(usage, usage); 66 this.seq = seq; 77 this.usageTable.put(o, o); 92 this.usageTable.put(o, o); 95 this.seq = new DERSequence(v);
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
ExtendedPKIXParameters.java | 20 * This class extends the PKIXParameters with a validity model parameter. 95 * @param params Parameters to set. If this are 138 * This is the default PKIX validity model. Actually there are two variants 139 * of this: The PKIX model and the modified PKIX model. The PKIX model 143 * with the {@link PKIXParameters#setDate(java.util.Date)} method, so this 150 * This model uses the following validity model. Each certificate must have 183 this.useDeltas = useDeltas; 197 * Sets the Java CertStore to this extended PKIX parameters. 229 this.stores = new ArrayList(); 242 this.stores = new ArrayList(stores) [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/ |
binaryajax.js | 14 this.getRawData = function() { 21 this.getByteAt = function(iOffset) { 27 this.getByteAt = function(iOffset) { 32 this.getLength = function() { 36 this.getSByteAt = function(iOffset) { 37 var iByte = this.getByteAt(iOffset); 44 this.getShortAt = function(iOffset, bBigEndian) { 46 (this.getByteAt(iOffset) << 8) + this.getByteAt(iOffset + 1) 47 : (this.getByteAt(iOffset + 1) << 8) + this.getByteAt(iOffset [all...] |
/external/jmdns/src/javax/jmdns/impl/tasks/ |
Responder.java | 38 this._in = in; 39 this._unicast = (port != DNSConstants.MDNS_PORT); 48 return "Responder(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; 76 logger.finest(this.getName() + "start() question=" + question); 78 iAmTheOnlyOne = question.iAmTheOnlyOne(this.getDns()); 88 logger.finest(this.getName() + "start() Responder chosen delay=" + delay); 90 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { 91 timer.schedule(this, delay) [all...] |
/external/jmdns/src/javax/jmdns/impl/tasks/resolver/ |
DNSResolverTask.java | 15 * This is the root class for all resolver tasks. 49 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { 50 timer.schedule(this, DNSConstants.QUERY_WAIT_INTERVAL, DNSConstants.QUERY_WAIT_INTERVAL); 61 if (this.getDns().isCanceling() || this.getDns().isCanceled()) { 62 this.cancel(); 66 logger.finer(this.getName() + ".run() JmDNS " + this.description()); 69 out = this.addQuestions(out) [all...] |
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
Canceler.java | 28 this.setTaskState(DNSState.CANCELING_1); 29 this.associate(DNSState.CANCELING_1); 38 return "Canceler(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; 47 return super.toString() + " state: " + this.getTaskState(); 56 timer.schedule(this, 0, DNSConstants.ANNOUNCE_WAIT_INTERVAL); 65 this.removeAssociation(); 104 for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())) { 105 newOut = this.addAnswer(newOut, null, answer) [all...] |
Renewer.java | 28 this.setTaskState(DNSState.ANNOUNCED); 29 this.associate(DNSState.ANNOUNCED); 38 return "Renewer(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; 47 return super.toString() + " state: " + this.getTaskState(); 56 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { 58 // Schedule the renewer based on this task's TTL, not the default TTL 59 timer.schedule(this, getTTL() * 500, getTTL() * 500); 66 this.removeAssociation() [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGeneratorNoise.java | 10 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 17 * may be used to endorse or promote products derived from this software 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 46 * This class generates the 'noise' texture. 66 float[][] colorBand = this.computeColorband(tex, blenderContext); 90 this.applyBrightnessAndContrast(bacd, texres); 96 this.applyBrightnessAndContrast(texres, bacd.contrast, bacd.brightness);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
AbstractTextureBlender.java | 15 * This method blends the single pixel depending on the blending type.
116 this.blendHSV(blendtype, result, blendFactor, pixelColor, blenderContext);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
AMultipleCommand.java | 0 /* This file was generated by SableCC (http://www.sablecc.org/). */ 30 cloneList(this._command_)); 35 ((Analysis) sw).caseAMultipleCommand(this); 40 return this._command_; 45 this._command_.clear(); 46 this._command_.addAll(list); 54 e.parent(this); 62 + toString(this._command_); 69 if(this._command_.remove(child)) 81 for(ListIterator<PCommand> i = this._command_.listIterator(); i.hasNext(); [all...] |
ASequenceExpression.java | 0 /* This file was generated by SableCC (http://www.sablecc.org/). */ 30 cloneList(this._args_)); 35 ((Analysis) sw).caseASequenceExpression(this); 40 return this._args_; 45 this._args_.clear(); 46 this._args_.addAll(list); 54 e.parent(this); 62 + toString(this._args_); 69 if(this._args_.remove(child)) 81 for(ListIterator<PExpression> i = this._args_.listIterator(); i.hasNext(); [all...] |