/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/ |
AwTestContainerView.java | 2 // Use of this source code is governed by a BSD-style license that can be 28 * This class takes the place android.webkit.WebView would have in the production configuration. 215 AwTestContainerView.this.scrollTo(scrollX, scrollY); 225 AwTestContainerView.this.overScrollBy(deltaX, deltaY, scrollX, scrollY,
|
/external/jmonkeyengine/engine/src/android/com/jme3/app/ |
AndroidHarness.java | 73 * if true finish this activity when the jme app is stopped
81 * Message of the exit dialog, default is "Use your home key to bring this
84 protected String exitDialogMessage = "Use your home key to bring this app into the background or exit to terminate it.";
150 JmeAndroidSystem.setActivity(this);
168 AndroidInput input = new AndroidInput(this);
187 WindowManager wind = this.getWindowManager();
197 setContentView(new TextView(this));
305 AlertDialog dialog = new AlertDialog.Builder(AndroidHarness.this) // .setIcon(R.drawable.alert_dialog_icon)
306 .setTitle(finalTitle).setPositiveButton("Kill", AndroidHarness.this).setMessage(finalMsg).create();
324 this.finish(); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/ |
Properties.java | 19 * This class is valid for all versions of blender. 31 // public static final int IDP_ID = 7;//this is not implemented in blender (yet) 53 * This method loads the property from the belnder file. 150 this.value = result; 160 this.completeLoading(); 164 * This method returns the name of the property. 172 * This method returns the description of the property. 180 * This method returns the type of the property. 188 * This method returns the value of the property. 197 * This method returns the same as getValue if the current property is o [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatLfnDirectory.java | 5 * This library is free software; you can redistribute it and/or modify it 10 * This library is distributed in the hope that it will be useful, but 16 * along with this library; If not, write to the Free Software Foundation, Inc., 35 * The {@link FsDirectory} implementation for FAT file systems. This 38 * their corresponding 8+3 short file names. This also means that an 50 * This set is used to check if a file name is already in use in this 52 * ignoring the case, so this set contains all names converted to 72 this.fat = fat; 73 this.dir = dir [all...] |
/bionic/libc/upstream-netbsd/libc/isc/ |
ev_timers.c | 7 * Permission to use, copy, modify, and distribute this software for any 9 * copyright notice and this permission notice appear in all copies. 12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 17 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 252 ctx->cur->u.timer.this == del) { 496 idle_timer *this = uap; local 502 idle = evSubTime(ctx->lastEventTime, this->lastTouched); 503 if (evCmpTime(idle, this->max_idle) >= 0) { 504 (this->func)(opaqueCtx, this->uap, this->timer->due [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimatorSetTest.java | 5 * you may not use this file except in compliance with the License. 155 this.runTestOnUiThread(new Runnable() {
|
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 5 * you may not use this file except in compliance with the License. 243 OrderTestHelper.this.handleMessage(msg); 266 synchronized (this) { 299 synchronized (OrderTestHelper.this) { 304 OrderTestHelper.this.notifyAll(); 310 synchronized (this) { 317 synchronized (this) { 325 synchronized (this) {
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoActivity.java | 5 * you may not use this file except in compliance with the License. 45 * Other classes can call this function to wait for this activity 59 DeviceInfoActivity.this.runOnUiThread(new Runnable() { 61 setContentView(new GLESSurfaceView(DeviceInfoActivity.this, version, done));
|
/developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/mediarecorder/ |
MainActivity.java | 5 * you may not use this file except in compliance with the License. 39 * This activity uses the camera/camcorder as the A/V source for the {@link android.media.MediaRecorder} API. 40 * A {@link android.view.TextureView} is used as the camera preview which limits the code to API 14+. This 222 MainActivity.this.finish();
|
/developers/samples/android/media/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/mediarecorder/ |
MainActivity.java | 5 * you may not use this file except in compliance with the License. 39 * This activity uses the camera/camcorder as the A/V source for the {@link android.media.MediaRecorder} API. 40 * A {@link android.view.TextureView} is used as the camera preview which limits the code to API 14+. This 222 MainActivity.this.finish();
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameActivity.java | 5 * you may not use this file except in compliance with the License.
56 * IMPORTANT: all resource IDs from this library will eventually be merged
135 GameActivity.this.finish();
152 // Pick a non-used cell at random. That's about all the AI you need for this game.
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceListFragment.java | 5 * you may not use this file except in compliance with the License. 53 this.setListAdapter(new WiFiPeerListAdapter(getActivity(), R.layout.row_devices, peers)); 64 * @return this device 143 * Update UI for this device. 148 this.device = device;
|
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/ |
MainActivity.java | 5 * you may not use this file except in compliance with the License. 39 * This activity uses the camera/camcorder as the A/V source for the {@link android.media.MediaRecorder} API. 40 * A {@link android.view.TextureView} is used as the camera preview which limits the code to API 14+. This 222 MainActivity.this.finish();
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/ |
ActivityA.java | 5 * you may not use this file except in compliance with the License. 91 Intent intent = new Intent(ActivityA.this, DialogActivity.class); 96 Intent intent = new Intent(ActivityA.this, ActivityB.class); 101 Intent intent = new Intent(ActivityA.this, ActivityC.class); 106 ActivityA.this.finish();
|
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
NetworkActivity.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 52 * This activity does the following: 54 * o Presents a WebView screen to users. This WebView has a list of HTML links to the latest 90 this.registerReceiver(receiver, filter); 100 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this); 111 // you don't want to refresh the display--this would force the display of 122 this.unregisterReceiver(receiver); 143 // This avoids UI lock up. To prevent network operations from 226 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this); 247 // This section processes the entries list to combine each entry with HTML markup [all...] |
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/ |
Antlr3Mojo.java | 13 notice, this list of conditions and the following disclaimer. 15 notice, this list of conditions and the following disclaimer in the 18 derived from this software without specific prior written permission. 20 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 29 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 * This is the definitive ANTLR3 Mojo set. All other sets are belong to us. 92 * be set to debug mode. This means that when run, the code will 'hang' and 127 * If this parameter is set, it indicates that any warning or error messages returned 135 * If this parameter is set to true, then ANTLR will report all sorts of things 168 * this version of the plugin looks for the directory antlr3 and not the director [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
Lexer.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. 31 * lexer grammars result in a subclass of this object. A Lexer object 43 this.input = input; 48 this.input = input; 69 /** Return a token from this source; i.e., match a token on the char 123 /** This is the lexer entry point that sets instance var 'token' * [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyFactory2Test.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 51 this.sleepTime = sleepTime; 52 this.iterations = iterations; 56 synchronized (this) { 57 this.notify();
|
/external/apache-http/src/org/apache/http/conn/ssl/ |
SSLSocketFactory.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 199 this.sslcontext = SSLContext.getInstance(algorithm); 200 this.sslcontext.init(keymanagers, trustmanagers, random); 201 this.socketfactory = this.sslcontext.getSocketFactory(); 202 this.nameResolver = nameResolver; 211 this(TLS, keystore, keystorePassword, truststore, null, null) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicClientCookie.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 73 this.name = name; 74 this.attribs = new HashMap<String, String>(); 75 this.value = value; 84 return this.name; 93 return this.value; 102 this.value = value [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorInclude.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. 63 * Get the base identifier with which this stylesheet is associated. 74 * Get the base identifier with which this stylesheet is associated. 95 * Get the error number associated with this type of stylesheet including itself 129 setPropertiesFromAttributes(handler, rawName, attributes, this); 153 handler.setStylesheetType(this.getStylesheetType()); 175 * Set off a new parse for an included or imported stylesheet. This will 177 * a new set of parse events. Once this function returns, the state of [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemExtensionCall.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. 42 /** The Namespace URI for this extension call element. 66 *@return The token ID for this element 86 * This function is called after everything else has been 94 m_extns = this.getNamespace(); 103 * Return the ElemExtensionDecl for this extension element 106 * @param stylesheet Stylesheet root associated with this extension element 107 * @param namespace Namespace associated with this extension elemen [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToTextStream.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. 31 * This class is not a public API. 33 * This class converts SAX or SAX-like calls to a 54 * <p>The SAX parser will invoke this method only once, before any 55 * other methods in this interface or in DTDHandler (except for 75 * <p>The SAX parser will invoke this method only once, and it will 77 * not invoke this method until it has either abandoned parsing 97 * <p>The Parser will invoke this method at the beginning of ever [all...] |
WriterToUTF8Buffered.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. 30 * This class writes unicode characters to a byte stream (java.io.OutputStream) 32 * buffer which must be flushed to the OutputStream when done. This flushing 35 * This class is only used internally within Xalan. 43 * This is a fixed constant is used rather than m_outputBytes.lenght for performance. 47 * This is 1/3 of the number of bytes because UTF-8 encoding 66 * The number of valid bytes in the buffer. This value is always 93 // the old body of this constructor, before the buffersize was changed to a constant [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1Set.java | 60 * set - so we need to add it back (this will happen if the tagged 63 * be using this method. 110 // in this case the parser returns a sequence, convert it 159 this.sort(); 177 this.sort(); 199 * return the number of objects in this set. 201 * @return the number of objects in this set. 210 ASN1Encodable[] values = new ASN1Encodable[this.size()]; 212 for (int i = 0; i != this.size(); i++) 214 values[i] = this.getObjectAt(i) [all...] |