/frameworks/base/graphics/java/android/graphics/ |
NinePatch.java | 101 mNativeChunk = validateNinePatchChunk(mBitmap.ni(), chunk); 202 nativeDraw(canvas.getNativeCanvasWrapper(), location, mBitmap.ni(), mNativeChunk, 207 nativeDraw(canvas.getNativeCanvasWrapper(), location, mBitmap.ni(), mNativeChunk, 255 long r = nativeGetTransparentRegion(mBitmap.ni(), mNativeChunk, bounds);
|
Picture.java | 77 long ni = nativeBeginRecording(mNativePicture, width, height); local 78 mRecordingCanvas = new RecordingCanvas(this, ni);
|
Region.java | 113 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion); 158 nativeGetBoundaryPath(mNativeRegion, path.ni()); 167 return nativeGetBoundaryPath(mNativeRegion, path.ni()); 345 long ni = nativeCreateFromParcel(p); 346 if (ni == 0) { 349 return new Region(ni); 388 Region(long ni) { 389 if (ni == 0) { 392 mNativeRegion = ni; 397 private Region(long ni, int dummy) 401 final long ni() { method in class:Region [all...] |
Typeface.java | 137 long ni = 0; local 144 ni = family.native_instance; 148 SparseArray<Typeface> styles = sTypefaceCache.get(ni); 157 typeface = new Typeface(nativeCreateFromTypeface(ni, style)); 160 sTypefaceCache.put(ni, styles); 253 private Typeface(long ni) { 254 if (ni == 0) { 258 native_instance = ni; 259 mStyle = nativeGetStyle(ni);
|
/packages/apps/Browser/src/com/android/browser/ |
PreloadRequestReceiver.java | 75 NetworkInfo ni = mConnectivityManager.getActiveNetworkInfo(); local 76 if (ni == null) { 79 switch (ni.getType()) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
CreateConnectionTimeout.java | 150 NetworkInfo ni = cm.getActiveNetworkInfo(); local 151 return ni != null && ni.isConnected() && ni.getType() == ConnectivityManager.TYPE_WIFI;
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
ConnectivityConstraintTest.java | 260 NetworkInfo ni = allNetworkInfo[i]; local 261 if (ni.getType() == mNetworkType) { 262 networkInfo = ni;
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeParser.java | 195 int ni = nodes.length-1; local 197 while ( ni>=0 && t!=null ) { 198 if ( nodes[ni].equals("...") ) { 199 // walk upwards until we see nodes[ni-1] then continue walking 200 if ( ni==0 ) return true; // ... at start is no-op 201 String goal = nodes[ni-1]; 205 ni--; 208 if ( !name.equals(nodes[ni]) ) { 209 //System.err.println("not matched: "+nodes[ni]+" at "+t); 213 ni-- [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
NodeSorter.java | 518 DTMIterator ni = ((XNodeSet)r).iterRaw(); local 519 int current = ni.getCurrentNode(); 521 current = ni.nextNode(); 523 // if (ni instanceof ContextNodeList) // %REVIEW%
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
XPathImpl.java | 333 NodeIterator ni = resultObject.nodeset(); local 335 return ni.nextNode();
|
/external/chromium_org/third_party/icu/source/common/ |
rbbisetb.cpp | 154 int ni; local 155 for (ni=0; ; ni++) { // Loop over each of the UnicodeSets encountered in the input rules 156 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni); 265 for (ni=0; ; ni++) { // Loop over each of the UnicodeSets encountered in the input rules 266 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni);
|
/external/icu/icu4c/source/common/ |
rbbisetb.cpp | 154 int ni; local 155 for (ni=0; ; ni++) { // Loop over each of the UnicodeSets encountered in the input rules 156 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni); 265 for (ni=0; ; ni++) { // Loop over each of the UnicodeSets encountered in the input rules 266 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni);
|
/external/openfst/src/test/ |
fst_test.h | 132 size_t ni = fst->NumInputEpsilons(s); local 142 CHECK_EQ(fst->NumInputEpsilons(s), ni + 1); 145 CHECK_EQ(fst->NumInputEpsilons(s), ni);
|
/packages/apps/Settings/src/com/android/settings/ |
WirelessSettings.java | 127 NetworkInfo ni = mCm.getProvisioningOrActiveNetworkInfo(); local 128 if (mTm.hasIccCard() && (ni != null)) {
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipConnectionService.java | 274 NetworkInfo ni = cm.getActiveNetworkInfo(); local 275 if (ni != null && ni.isConnected()) { 276 return ni.getType() == ConnectivityManager.TYPE_WIFI ||
|
/system/core/toolbox/ |
vmstat.c | 217 printf("%2s %2s %6s %6s %6s %6s %4s %4s %4s %2s %2s %2s %2s %2s %2s\n", "r", "b", "free", "mapped", "anon", "slab", "in", "cs", "flt", "us", "ni", "sy", "id", "wa", "ir"); 225 int us, ni, sy, id, wa, ir; local 227 ni = JP(new->cpu_ni - old->cpu_ni); NORM(ni); 236 us, ni, sy, id, wa, ir);
|
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 110 NetworkInfo[] ni = mCm.getAllNetworkInfo(); local 112 for (NetworkInfo n: ni) { 125 NetworkInfo ni = mCm.getActiveNetworkInfo(); local 127 assertTrue("You must have an active network connection to complete CTS", ni != null); 128 assertTrue(ConnectivityManager.isNetworkTypeValid(ni.getType())); 129 assertTrue(ni.getState() == State.CONNECTED); 135 NetworkInfo ni = mCm.getNetworkInfo(type); local 136 assertTrue("Info shouldn't be null for " + type, ni != null); 137 State state = ni.getState(); 140 DetailedState ds = ni.getDetailedState() 151 NetworkInfo[] ni = mCm.getAllNetworkInfo(); local 176 NetworkInfo ni = mCm.getNetworkInfo(TYPE_MOBILE); local 225 NetworkInfo ni = mCm.getNetworkInfo(type); local [all...] |
/external/clang/test/SemaCXX/ |
explicit.cpp | 202 NotInt ni; local 205 new int[ni]; // expected-error {{array size expression of type 'NotInt' requires explicit conversion to type 'int'}}
|
/external/f2fs-tools/fsck/ |
fsck.c | 178 struct node_info *ni) 188 get_node_info(sbi, nid, ni); 189 if (ni->blk_addr == NEW_ADDR) { 194 if (!IS_VALID_BLK_ADDR(sbi, ni->blk_addr)) { 195 ASSERT_MSG("blkaddres is not valid. [0x%x]", ni->blk_addr); 199 if (is_valid_ssa_node_blk(sbi, nid, ni->blk_addr)) { 204 ret = dev_read_block(node_blk, ni->blk_addr); 224 nid, ni->blk_addr, 242 if (f2fs_test_main_bitmap(sbi, ni->blk_addr) != 0) { 244 nid, ni->blk_addr) 272 struct node_info ni; local 300 struct node_info ni; local [all...] |
/external/openfst/src/include/fst/ |
replace-util.h | 333 size_t ni = in->second; local 334 stats_[i].nstates += stats_[j].nstates * ni; 335 stats_[i].narcs += (stats_[j].narcs + 1) * ni; // narcs - 1 + 2 (eps) 336 stats_[i].nnonterms += (stats_[j].nnonterms - 1) * ni; 343 stats_[i].outref[k] += ni * nk; 358 size_t ni = in->second; local 359 stats_[k].inref[i] += ni * nk; 360 stats_[k].nref += ni * nk;
|
/external/valgrind/main/VEX/priv/ |
guest_generic_x87.c | 892 UInt ni, hi; local 900 for (ni = 0; ni < 16; ni++) { 901 if ((validR & (1 << ni)) == 0) break; 902 UInt i = ni + hi; 904 if (argL[i] != argR[ni]) { m = 0; break; } 1143 UInt ni, hi; local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestBase.java | 162 NetworkInfo ni = mCm.getNetworkInfo(networkType); local 163 if (ni != null && expectedState.equals(ni.getState())) { 164 logv("waitForNetworkState success: %s", ni); 168 logv("waitForNetworkState timeout: %s", ni); 171 logv("waitForNetworkState interim: %s", ni); 423 NetworkInfo ni = mCm.getActiveNetworkInfo(); local 424 if (ni != null && ni.isConnected()) { 428 logv("waitForActiveNetworkConnection timeout: %s", ni); 439 NetworkInfo ni = mCm.getActiveNetworkInfo(); local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 259 NetworkInfo ni = mCm.getActiveNetworkInfo(); local 260 if (ni != null) { 261 Log.e(mLogTag, "has active network while in wifi sleep: " + ni.toString());
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
RetryScheduler.java | 67 NetworkInfo ni = mConnMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); local 68 return (ni == null ? false : ni.isConnected());
|
/external/valgrind/main/none/tests/amd64/ |
pcmpstr64w.c | 305 UInt ni, hi; local 313 for (ni = 0; ni < 8; ni++) { 314 if ((validR & (1 << ni)) == 0) break; 315 UInt i = ni + hi; 317 if (argL[i] != argR[ni]) { m = 0; break; } [all...] |